freebsd-dev/sys/ufs
Julian Elischer 50dab48a5b 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
..
ffs Use smalllblktosize() instead of multiplying small block numbers 1997-04-10 13:17:09 +00:00
lfs Fix warnings (from LINT). Missing static prototype, missing vm includes 1997-05-25 04:57:11 +00:00
mfs Mount MFS read/write as in days of yore. 1997-04-28 09:15:18 +00:00
ufs Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00