Skip to contentSkip to conversation

cluster/gfs2/man gfs2_tool.8

Cluster-devel [email protected] 1 participant 1 message Nov 7, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-11-07 21:14:50

Modified files:
gfs2/man : gfs2_tool.8

Log message:
Resolves: bz 336561: gfs2_tool accepts jdata flag; man page says no

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/man/gfs2_tool.8.diff?cvsroot=cluster&r1=1.5&r2=1.6

gfs2/man/gfs2_tool.8 +8 -6
@@ -103,11 +103,17 @@
 Print out the superblock.
 .TP
 \fBsetflag\fP \fIFlag\fR \fIFile1\fR \fIFile2\fR \fI...\fR 
-Set an attribute flag on a file.  There are five currently
-supported flags.  They are directio, immutable, appendonly,
+Set an attribute flag on a file.  There are six currently
+supported flags.  They are jdata, directio, immutable, appendonly,
 noatime, and sync.  In most cases, the chattr command may be used
 rather than gfs2_tool to set attributes.
 
+The \fIjdata\fR flag causes all the data written to a file
+to be journaled.  If the \fIjdata\fR flag is set for a directory,
+all files and directories subsequently created within that directory
+are also journaled.  This behavior replaces the old \fIinherit_jdata\fR
+flag from gfs.  Same as chattr +j.
+
 The \fIdirectio\fR flag causes all I/O to a regular file to be Direct
 I/O, even if the O_DIRECT flag isn't used on the open() command.
 
@@ -123,10 +129,6 @@
 
 The \fIsync\fR flag causes data written to the file to be sync'ed to 
 stable storage immediately.  Same as chattr +S.
-
-Note: Unlike the original gfs_tool, the journaled data (\fIjdata\fR) flag 
-is set with chattr +j and reset with chattr -j.  Likewise, the
-\fIinherit_jdata\fR flag is set on a directory with chattr +j.
 .TP
 \fBsettune\fP \fIMountPoint\fR \fIparameter\fR \fInewvalue\fR
 Set the value of tuning parameter.  Use \fBgettune\fP for a listing of