]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/man/man2/chflags.2
xnu-6153.121.1.tar.gz
[apple/xnu.git] / bsd / man / man2 / chflags.2
index 8df34340760043da4b7a4c2093bd0aa2e8c3c479..6bea184c416eedde8c13c855748626e8f08fcc54 100644 (file)
@@ -77,6 +77,11 @@ The file has been archived.
 The file may not be changed.
 .It SF_APPEND
 The file may only be appended to.
+.It SF_DATALESSFAULT
+The file is a dataless placeholder.
+The system will attempt to materialize it when accessed according to the dataless file materialization policy of the accessing thread or process.
+See
+.Xr getiopolicy_np 3 .
 .El
 .Pp
 The
@@ -93,18 +98,17 @@ The
 and
 .Dq SF_APPEND
 flags may only be set or unset by the super-user.
-They may be set at any time, but normally may only be unset when
-the system is in single-user mode.
-(See
-.Xr launchd 8
-for details.)
+.Pp
+The
+.Dq SF_DATALESSFAULT
+flag is an internal flag and may not be set from user space.
 .Sh RETURN VALUES
 Upon successful completion, a value of 0 is returned.
 Otherwise, -1 is returned and the global variable
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
-.Fn Chflags
+.Fn chflags
 will fail if:
 .Bl -tag -width Er
 .It Bq Er ENOTDIR
@@ -137,7 +141,7 @@ error occurred while reading from or writing to the file system.
 The operation isn't supported by the filesystem.
 .El
 .Pp
-.Fn Fchflags
+.Fn fchflags
 will fail if:
 .Bl -tag -width Er
 .It Bq Er EBADF