freebsd-dev/bin/ls
julian 900c29f67a Submitted by: Whistle Communications (archie Cobbs)
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.

This code is in production in 2.2 based systems
1997-06-02 06:24:52 +00:00
..
cmp.c Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
extern.h Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
ls.1 Enable whiteout code since we now have the lite2 support for them. 1997-04-29 10:03:10 +00:00
ls.c compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:24:41 +00:00
ls.h Enable whiteout code since we now have the lite2 support for them. 1997-04-29 10:03:10 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
print.c Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
stat_flags.c Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
util.c make usage() and SYNOPSIS agree with each other and add missing options 1997-03-26 17:48:40 +00:00