summaryrefslogtreecommitdiff
path: root/misc/chattr.1.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2000-12-31 13:48:12 +0000
committerTheodore Ts'o <tytso@mit.edu>2000-12-31 13:48:12 +0000
commit9a7188496851014f62592077b2ec603cc2c300a6 (patch)
tree49775c3d7e094803c7d014a25b646b772ce1f45d /misc/chattr.1.in
parent2fe1efe2e56dc9f8223992301aec3844dd9563e6 (diff)
downloade2fsprogs-9a7188496851014f62592077b2ec603cc2c300a6.tar.gz
ChangeLog, chattr.1.in, chattr.c:
chattr.c (decode_arg, get_flag): Use a table-driven method for decoding the ext2 file flags character options. Add support for the journaled data flag. chattr.1.in: Document the -j/+j/=j flag.
Diffstat (limited to 'misc/chattr.1.in')
-rw-r--r--misc/chattr.1.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/misc/chattr.1.in b/misc/chattr.1.in
index 149e6ecc..1cab6189 100644
--- a/misc/chattr.1.in
+++ b/misc/chattr.1.in
@@ -25,9 +25,9 @@ The operator `+' causes the selected attributes to be added to the
existing attributes of the files; `-' causes them to be removed; and
`=' causes them to be the only attributes that the files have.
.PP
-The letters `ASacdisu' select the new attributes for the files:
+The letters `ASacdijsu' select the new attributes for the files:
don't update atime (A), synchronous updates (S), append only (a),
-compressed (c), immutable (i), no dump (d),
+compressed (c), no dump (d), immutable (i), data journalling (j),
secure deletion (s), and undeletable (u).
.SH OPTIONS
.TP
@@ -61,6 +61,12 @@ A file with the `i' attribute cannot be modified: it cannot be deleted or
renamed, no link can be created to this file and no data can be written
to the file. Only the superuser can set or clear this attribute.
.PP
+A file with the `j' attribute has all of its data written to the ext3
+journal before being written to the file itself, if the filesystem is
+mounted with the "data=ordered" or "data=writeback" options. When the
+filesystem is mounted with the "data=journalled" option all file data
+is already journalled and this attribute has no effect.
+.PP
When a file with the `s' attribute set is deleted, its blocks are zeroed and
written back to the disk.
.PP
@@ -76,9 +82,10 @@ This allows the user to ask for its undeletion.
was written by Remy Card <Remy.Card@linux.org>.
.SH BUGS AND LIMITATIONS
As of Linux 2.2, the `c', 's', and `u' attribute are not honored
-by the kernel code.
+by the kernel filesystem code. These attributes will be implemented
+in a future ext2 fs version.
.PP
-These attributes will be implemented in a future ext2 fs version.
+The `j' option is only useful if the filesystem is mounted as ext3.
.SH AVAILABILITY
.B chattr
is part of the e2fsprogs package and is available for anonymous