mirror of https://github.com/vitalif/e2fsprogs
chattr.1.in: Update man page
parent
c4e5e36a40
commit
51f8f8d260
|
@ -1,3 +1,7 @@
|
||||||
|
2002-11-08 Theodore Ts'o <tytso@mit.edu>
|
||||||
|
|
||||||
|
* chattr.1.in: Update man page.
|
||||||
|
|
||||||
2002-10-31 Theodore Ts'o <tytso@mit.edu>
|
2002-10-31 Theodore Ts'o <tytso@mit.edu>
|
||||||
|
|
||||||
* Release of E2fsprogs 1.30
|
* Release of E2fsprogs 1.30
|
||||||
|
|
|
@ -19,7 +19,7 @@ chattr \- change file attributes on a Linux second extended file system
|
||||||
.B chattr
|
.B chattr
|
||||||
changes the file attributes on a Linux second extended file system.
|
changes the file attributes on a Linux second extended file system.
|
||||||
.PP
|
.PP
|
||||||
The format of a symbolic mode is +-=[ASacDdisTtu].
|
The format of a symbolic mode is +-=[ASacDdIijsTtu].
|
||||||
.PP
|
.PP
|
||||||
The operator `+' causes the selected attributes to be added to the
|
The operator `+' causes the selected attributes to be added to the
|
||||||
existing attributes of the files; `-' causes them to be removed; and
|
existing attributes of the files; `-' causes them to be removed; and
|
||||||
|
@ -48,10 +48,11 @@ not modified. This avoids a certain amount of disk I/O for laptop
|
||||||
systems.
|
systems.
|
||||||
.PP
|
.PP
|
||||||
A file with the `a' attribute set can only be open in append mode for writing.
|
A file with the `a' attribute set can only be open in append mode for writing.
|
||||||
Only the superuser can set or clear this attribute.
|
Only the superuser or a process pessessing the CAP_LINUX_IMMUTABLE
|
||||||
|
capability can set or clear this attribute.
|
||||||
.PP
|
.PP
|
||||||
A file with the `c' attribute set is automatically compressed on the disk
|
A file with the `c' attribute set is automatically compressed on the disk
|
||||||
by the kernel. A read from this file returns uncompressed data. A write to
|
by the kernel. A read from this file returns uncompressed data. A write to
|
||||||
this file compresses data before storing them on the disk.
|
this file compresses data before storing them on the disk.
|
||||||
.PP
|
.PP
|
||||||
When a directory with the `D' attribute set is modified,
|
When a directory with the `D' attribute set is modified,
|
||||||
|
@ -69,15 +70,24 @@ set or reset using
|
||||||
although it can be displayed by
|
although it can be displayed by
|
||||||
.BR lsattr (1).
|
.BR lsattr (1).
|
||||||
.PP
|
.PP
|
||||||
|
The 'I' attribute is used by the htree code to indicate that a directory
|
||||||
|
is behind indexed using hashed trees. It may not be set or reset using
|
||||||
|
.BR chattr (1),
|
||||||
|
although it can be displayed by
|
||||||
|
.BR lsattr (1).
|
||||||
|
.PP
|
||||||
A file with the `i' attribute cannot be modified: it cannot be deleted or
|
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
|
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.
|
to the file. Only the superuser or a process pessessing the
|
||||||
|
CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
|
||||||
.PP
|
.PP
|
||||||
A file with the `j' attribute has all of its data written to the ext3
|
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
|
journal before being written to the file itself, if the filesystem is
|
||||||
mounted with the "data=ordered" or "data=writeback" options. When the
|
mounted with the "data=ordered" or "data=writeback" options. When the
|
||||||
filesystem is mounted with the "data=journalled" option all file data
|
filesystem is mounted with the "data=journalled" option all file data
|
||||||
is already journalled and this attribute has no effect.
|
is already journalled and this attribute has no effect.
|
||||||
|
Only the superuser or a process possessing the CAP_SYS_RESOURCE
|
||||||
|
capability can set or clear this attribute.
|
||||||
.PP
|
.PP
|
||||||
When a file with the `s' attribute set is deleted, its blocks are zeroed and
|
When a file with the `s' attribute set is deleted, its blocks are zeroed and
|
||||||
written back to the disk.
|
written back to the disk.
|
||||||
|
@ -88,7 +98,7 @@ the `sync' mount option applied to a subset of the files.
|
||||||
.PP
|
.PP
|
||||||
A directory with the 'T' attribute will be deemed to be the top of
|
A directory with the 'T' attribute will be deemed to be the top of
|
||||||
directory hierarchies for the purposes of the Orlov block allocator
|
directory hierarchies for the purposes of the Orlov block allocator
|
||||||
(which is used in newer kernels).
|
(which is used in on systems with Linux 2.5.46 or later).
|
||||||
.PP
|
.PP
|
||||||
A file with the 't' attribute will not have a partial block fragment at
|
A file with the 't' attribute will not have a partial block fragment at
|
||||||
the of the file merged with other files (for those filesystems which
|
the of the file merged with other files (for those filesystems which
|
||||||
|
|
Loading…
Reference in New Issue