|
 |
502773 |
commit 794b62f68063d3af74ab7e79a9d7049887ec3ece
|
|
 |
502773 |
Author: Eric Sandeen <sandeen@redhat.com>
|
|
 |
502773 |
Date: Tue Sep 16 09:23:45 2014 +1000
|
|
 |
502773 |
|
|
 |
502773 |
xfsprogs: add supported file attributes to xfs.5 manpage
|
|
 |
502773 |
|
|
 |
502773 |
The chattr(1) manpage suffers from the same problems mount(1) had:
|
|
 |
502773 |
many options listed, not kept up to date for various filesystems.
|
|
 |
502773 |
|
|
 |
502773 |
I've submitted a manpage update for chattr(1) which says to refer to
|
|
 |
502773 |
filesystem-specific manpages for supported attributes; this patch
|
|
 |
502773 |
updates xfs(5) to list the attributes supported by xfs.
|
|
 |
502773 |
|
|
 |
502773 |
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
|
|
 |
502773 |
Reviewed-by: Dave Chinner <dchinner@redhat.com>
|
|
 |
502773 |
Signed-off-by: Dave Chinner <david@fromorbit.com>
|
|
 |
502773 |
|
|
 |
502773 |
diff --git a/man/man5/xfs.5 b/man/man5/xfs.5
|
|
 |
502773 |
index 5e47c4c..3214455 100644
|
|
 |
502773 |
--- a/man/man5/xfs.5
|
|
 |
502773 |
+++ b/man/man5/xfs.5
|
|
 |
502773 |
@@ -1,6 +1,6 @@
|
|
 |
502773 |
.TH xfs 5
|
|
 |
502773 |
.SH NAME
|
|
 |
502773 |
-xfs \- layout and mount options for the XFS filesystem
|
|
 |
502773 |
+xfs \- layout, mount options, and supported file attributes for the XFS filesystem
|
|
 |
502773 |
.SH DESCRIPTION
|
|
 |
502773 |
An XFS filesystem can reside on a regular disk partition or on a
|
|
 |
502773 |
logical volume.
|
|
 |
502773 |
@@ -302,7 +302,27 @@ namespace is on stable storage. This is useful in HA setups
|
|
 |
502773 |
where failover must not result in clients seeing
|
|
 |
502773 |
inconsistent namespace presentation during or after a
|
|
 |
502773 |
failover event.
|
|
 |
502773 |
+.SH FILE ATTRIBUTES
|
|
 |
502773 |
+The XFS filesystem supports setting the following file
|
|
 |
502773 |
+attributes on Linux systems using the
|
|
 |
502773 |
+.BR chattr (1)
|
|
 |
502773 |
+utility:
|
|
 |
502773 |
+.sp
|
|
 |
502773 |
+.BR a " - append only"
|
|
 |
502773 |
+.sp
|
|
 |
502773 |
+.BR A " - no atime updates"
|
|
 |
502773 |
+.sp
|
|
 |
502773 |
+.BR d " - no dump"
|
|
 |
502773 |
+.sp
|
|
 |
502773 |
+.BR i " - immutable"
|
|
 |
502773 |
+.sp
|
|
 |
502773 |
+.BR S " - synchronous updates"
|
|
 |
502773 |
+.sp
|
|
 |
502773 |
+For descriptions of these attribute flags, please refer to the
|
|
 |
502773 |
+.BR chattr (1)
|
|
 |
502773 |
+man page.
|
|
 |
502773 |
.SH SEE ALSO
|
|
 |
502773 |
+.BR chattr (1),
|
|
 |
502773 |
.BR xfsctl (3),
|
|
 |
502773 |
.BR mount (8),
|
|
 |
502773 |
.BR mkfs.xfs (8),
|