Skip to contentSkip to conversation

chattr: update man page attribute descriptions.

PATCH In review Tyson Nottingham 2 participants 2 messages Jan 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chattr: update man page attribute descriptions.

* Remove descriptions of X and Z, whose support was removed in 4a05268cf86f713 (Remove compression support).

* Update a brief description of E, whose meaning was changed in 22f22ab1d2bc5ae (Reserve the codepoints for the new INCOMPAT feature ENCRYPT).

* Add P to symbolic mode format string.

---
 misc/chattr.1.in | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)
misc/chattr.1.in +3 -18
index 6a1d446..cf9cb11 100644
@@ -23,7 +23,7 @@ chattr \- change file attributes on a Linux file system
 .B chattr
 changes the file attributes on a Linux file system.
 .PP
-The format of a symbolic mode is +-=[aAcCdDeijsStTu].
+The format of a symbolic mode is +-=[aAcCdDeijPsStTu].
 .PP
 The operator '+' causes the selected attributes to be added to the
 existing attributes of the files; '-' causes them to be removed; and '='
@@ -49,12 +49,10 @@ and undeletable (u).
 The following attributes are read-only, and may be listed by
 .BR lsattr (1)
 but not modified by chattr:
-compression error (E),
+encrypted (E),
 huge file (h),
 indexed directory (I),
-inline data (N),
-compression raw access (X),
-and compressed dirty file (Z).
+and inline data (N).
 .PP
 Not all flags are supported or utilized by all filesystems; refer to
 filesystem-specific man pages such as
@@ -192,19 +190,6 @@ saved.  This allows the user to ask for its undeletion.  Note: please
 make sure to read the bugs and limitations section at the end of this
 document.
 .PP
-The 'X' attribute is used by the experimental compression patches to
-indicate that the raw contents of a compressed file can be accessed
-directly.  It currently may not be set or reset using
-.BR chattr (1),
-although it can be displayed by
-.BR lsattr (1).
-.PP
-The 'Z' attribute is used by the experimental compression patches to
-indicate a compressed file is dirty.  It may not be set or reset using
-.BR chattr (1),
-although it can be displayed by
-.BR lsattr (1).
-.PP
 .SH AUTHOR
 .B chattr
 was written by Remy Card <[email protected]>.  It is currently being
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Tyson Nottingham

* Remove descriptions of X and Z, whose support was removed in 4a05268cf86f713 (Remove compression support).

* Update a brief description of E, whose meaning was changed in 22f22ab1d2bc5ae (Reserve the codepoints for the new INCOMPAT feature ENCRYPT).

* Add P to symbolic mode format string.

Looks ok,

Quoted 55 lines
---
 misc/chattr.1.in | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)
misc/chattr.1.in +3 -18
index 6a1d446..cf9cb11 100644
@@ -23,7 +23,7 @@ chattr \- change file attributes on a Linux file system
 .B chattr
 changes the file attributes on a Linux file system.
 .PP
-The format of a symbolic mode is +-=[aAcCdDeijsStTu].
+The format of a symbolic mode is +-=[aAcCdDeijPsStTu].
 .PP
 The operator '+' causes the selected attributes to be added to the
 existing attributes of the files; '-' causes them to be removed; and '='
@@ -49,12 +49,10 @@ and undeletable (u).
 The following attributes are read-only, and may be listed by
 .BR lsattr (1)
 but not modified by chattr:
-compression error (E),
+encrypted (E),
 huge file (h),
 indexed directory (I),
-inline data (N),
-compression raw access (X),
-and compressed dirty file (Z).
+and inline data (N).
 .PP
 Not all flags are supported or utilized by all filesystems; refer to
 filesystem-specific man pages such as
@@ -192,19 +190,6 @@ saved.  This allows the user to ask for its undeletion.  Note: please
 make sure to read the bugs and limitations section at the end of this
 document.
 .PP
-The 'X' attribute is used by the experimental compression patches to
-indicate that the raw contents of a compressed file can be accessed
-directly.  It currently may not be set or reset using
-.BR chattr (1),
-although it can be displayed by
-.BR lsattr (1).
-.PP
-The 'Z' attribute is used by the experimental compression patches to
-indicate a compressed file is dirty.  It may not be set or reset using
-.BR chattr (1),
-although it can be displayed by
-.BR lsattr (1).
-.PP
 .SH AUTHOR
 .B chattr
 was written by Remy Card <[email protected]>.  It is currently being
Signature · 1 line
2.7.4