[Top] [All Lists]

[PATCH] xfsprogs: add supported file attributes to xfs.5 manpage

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfsprogs: add supported file attributes to xfs.5 manpage
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Mon, 15 Sep 2014 16:26:46 -0500
Delivered-to: xfs@xxxxxxxxxxx
The chattr(1) manpage suffers from the same problems mount(1)
had: many options listed, not kept up to date for various

I've submitted a manpage update for chattr(1) which says to
refer to filesystem-specific manpages for supported attributes;
this patch updates xfs(5) to list the attributes supported
by xfs.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>

diff --git a/man/man5/xfs.5 b/man/man5/xfs.5
index 5e47c4c..3214455 100644
--- a/man/man5/xfs.5
+++ b/man/man5/xfs.5
@@ -1,6 +1,6 @@
 .TH xfs 5
-xfs \- layout and mount options for the XFS filesystem
+xfs \- layout, mount options, and supported file attributes for the XFS 
 An XFS filesystem can reside on a regular disk partition or on a
 logical volume.
@@ -302,7 +302,27 @@ namespace is on stable storage. This is useful in HA setups
 where failover must not result in clients seeing
 inconsistent namespace presentation during or after a
 failover event.
+The XFS filesystem supports setting the following file
+attributes on Linux systems using the
+.BR chattr (1)
+.BR a " - append only"
+.BR A " - no atime updates"
+.BR d " - no dump"
+.BR i " - immutable"
+.BR S " - synchronous updates"
+For descriptions of these attribute flags, please refer to the
+.BR chattr (1)
+man page.
+.BR chattr (1),
 .BR xfsctl (3),
 .BR mount (8),
 .BR mkfs.xfs (8),

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] xfsprogs: add supported file attributes to xfs.5 manpage, Eric Sandeen <=