X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3e170ce000f1506b7b5d2c5c7faec85ceabb573d..bca245acd4c03fd752d1a45f011ad495e60fe53d:/bsd/man/man2/chflags.2 diff --git a/bsd/man/man2/chflags.2 b/bsd/man/man2/chflags.2 index 8df343407..6bea184c4 100644 --- a/bsd/man/man2/chflags.2 +++ b/bsd/man/man2/chflags.2 @@ -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