NetBSD/bin/ls
hannken 8c21bc6224 Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-05-25 14:54:55 +00:00
..
Makefile change from WARNS?=1 to WARNS?=2 for bin/ 2001-11-03 13:40:30 +00:00
cmp.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
extern.h Implement '-b' option, which, following FreeBSD, Linux and (I think) Solaris 2003-09-14 19:16:05 +00:00
ls.1 Crossreference -h and -k. Use Aq instead of \*[Lt]\*[Gt]. 2003-12-26 11:19:50 +00:00
ls.c Fix bug with previous change- always initialise d.s_block. Now "ls -1sh" 2003-12-26 10:51:25 +00:00
ls.h implement -h(umanize). 2003-12-26 06:19:19 +00:00
main.c
print.c implement -h(umanize). 2003-12-26 06:19:19 +00:00
stat_flags.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
stat_flags.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
util.c After last weeks addition of the '-b' flag, add '-B' and '-w' flags, 2003-09-22 02:43:19 +00:00