+2001-11-05 Theodore Tso <tytso@valinux.com>
+
+ * pf.c: Add a new file attribute, EXT2_NOTAIL_FL
+
2001-09-20 Theodore Tso <tytso@thunk.org>
* Release of E2fsprogs 1.25
{ EXT2_NOCOMPR_FL, "X", "Compression_Raw_Access" },
{ EXT2_ECOMPR_FL, "E", "Compression_Error" },
{ EXT3_JOURNAL_DATA_FL, "j", "Journaled_Data" },
+ { EXT2_NOTAIL_FL, "t", "No_Tailmerging" },
{ 0, NULL, NULL }
};
+2001-11-05 Theodore Tso <tytso@valinux.com>
+
+ * ext2_fs.h: Define a new ext2 file attribute, EXT2_NOTAIL_FL,
+ which signals that a particular inode should not have the
+ last bits of data (the "tail") be merged with another
+ file. This is necessary to keep LILO happy.
+
2001-09-20 Theodore Tso <tytso@thunk.org>
* Release of E2fsprogs 1.25
#define EXT2_INDEX_FL 0x00001000 /* hash-indexed directory */
#define EXT2_IMAGIC_FL 0x00002000
#define EXT3_JOURNAL_DATA_FL 0x00004000 /* file data should be journaled */
+#define EXT2_NOTAIL_FL 0x00008000 /* file tail should not be merged */
#define EXT2_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
-#define EXT2_FL_USER_VISIBLE 0x00005FFF /* User visible flags */
-#define EXT2_FL_USER_MODIFIABLE 0x000000FF /* User modifiable flags */
+#define EXT2_FL_USER_VISIBLE 0x0000DFFF /* User visible flags */
+#define EXT2_FL_USER_MODIFIABLE 0x000080FF /* User modifiable flags */
/*
* ioctl commands
2001-11-05 Theodore Tso <tytso@valinux.com>
+ * chattr.1.in: Update the man page to document the EXT2_NOTAIL_FL
+ flag.
+
+ * chattr.c: Add support for the EXT2_NOTAIL_FL flag.
+
* fsck.c (interpret_type): If the "auto" type is specified, make
sure interpet_device() is called so that device
specifications which use LABEL= or UUID= are translated
.B chattr
changes the file attributes on a Linux second extended file system.
.PP
-The format of a symbolic mode is +-=[ASacdisu].
+The format of a symbolic mode is +-=[ASacdistu].
.PP
The operator `+' causes the selected attributes to be added to the
existing attributes of the files; `-' causes them to be removed; and
the changes are written synchronously on the disk; this is equivalent to
the `sync' mount option applied to a subset of the files.
.PP
+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
+support tail-merging). This is necessary for applications such as LILO
+which read the filesystem directly, and who don't understand tail-merged
+files.
+.PP
When a file with the `u' attribute set is deleted, its contents are saved.
This allows the user to ask for its undeletion.
.PP
{ EXT3_JOURNAL_DATA_FL, 'j' },
{ EXT2_SECRM_FL, 's' },
{ EXT2_UNRM_FL, 'u' },
+ { EXT2_NOTAIL_FL, 't' },
{ 0, 0 }
};