summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chflags.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/chflags.2')
-rw-r--r--lib/libc/sys/chflags.220
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2
index e10d98d..da3b285 100644
--- a/lib/libc/sys/chflags.2
+++ b/lib/libc/sys/chflags.2
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)chflags.2 8.3 (Berkeley) 5/2/95
+.\" @(#)chflags.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd May 2, 1995
+.Dd June 9, 1993
.Dt CHFLAGS 2
.Os
.Sh NAME
@@ -65,8 +65,6 @@ Do not dump the file.
The file may not be changed.
.It UF_APPEND
The file may only be appended to.
-.It UF_OPAQUE
-The directory is opaque when viewed through a union stack.
.\".It ARCHIVED
.\"File is archived.
.It SF_IMMUTABLE
@@ -86,9 +84,7 @@ The
and
.Dq SF_APPEND
flags may only be set or unset by the super-user.
-Attempts by the non-super-user to set the super-user only flags
-are silently ignored.
-These flags may be set at any time, but normally may only be unset when
+They may be set at any time, but normally may only be unset when
the system is in single-user mode.
(See
.Xr init 8
@@ -100,12 +96,10 @@ Otherwise, -1 is returned and the global variable
is set to indicate the error.
.Sh ERRORS
.Fn Chflags
-will fail it:
+will fail if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
-.It Bq Er EINVAL
-The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
@@ -149,11 +143,11 @@ error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr chflags 1 ,
-.Xr init 8 ,
-.Xr mount_union 8
+.Xr init 8
.Sh HISTORY
The
.Nm chflags
and
.Nm fchflags
-functions first appeared in 4.4BSD.
+functions first appeared in
+.Bx 4.4 .
OpenPOWER on IntegriCloud