[6370fa6] | 1 | <sect2>
|
---|
| 2 | <title>Contents</title>
|
---|
| 3 |
|
---|
| 4 | <para>
|
---|
| 5 | The e2fsprogs package contains the chattr, lsattr, uuidgen, badblocks,
|
---|
| 6 | debugfs, dumpe2fs, e2fsck, e2label, fsck, fsck.ext2, mke2fs, mkfs.ext2,
|
---|
| 7 | mklost+found and tune2fs programs.
|
---|
| 8 | </para>
|
---|
| 9 |
|
---|
| 10 | </sect2>
|
---|
| 11 |
|
---|
| 12 | <sect2><title>Description</title>
|
---|
| 13 |
|
---|
| 14 | <sect3><title>chattr</title>
|
---|
| 15 |
|
---|
| 16 | <para>
|
---|
| 17 | chattr changes the file attributes on a Linux second extended file system.
|
---|
| 18 | </para>
|
---|
| 19 |
|
---|
| 20 | </sect3>
|
---|
| 21 |
|
---|
| 22 | <sect3><title>lsattr</title>
|
---|
| 23 |
|
---|
| 24 | <para>
|
---|
| 25 | lsattr lists the file attributes on a second extended file system.
|
---|
| 26 | </para>
|
---|
| 27 |
|
---|
| 28 | </sect3>
|
---|
| 29 |
|
---|
| 30 | <sect3><title>uuidgen</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The uuidgen program creates a new universally unique identifier (UUID)
|
---|
| 34 | using the libuuid library. The new UUID can reasonably be considered unique
|
---|
| 35 | among all UUIDs created on the local system, and among UUIDs created on other
|
---|
| 36 | systems in the past and in the future.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
| 39 | </sect3>
|
---|
| 40 |
|
---|
| 41 | <sect3><title>badblocks</title>
|
---|
| 42 |
|
---|
| 43 | <para>
|
---|
| 44 | badblocks is used to search for bad blocks on a device (usually a disk
|
---|
| 45 | partition).
|
---|
| 46 | </para>
|
---|
| 47 |
|
---|
| 48 | </sect3>
|
---|
| 49 |
|
---|
| 50 | <sect3><title>debugfs</title>
|
---|
| 51 |
|
---|
| 52 | <para>
|
---|
| 53 | The debugfs program is a file system debugger. It can be used to examine
|
---|
| 54 | and change the state of an ext2 file system.
|
---|
| 55 | </para>
|
---|
| 56 |
|
---|
| 57 | </sect3>
|
---|
| 58 |
|
---|
| 59 | <sect3><title>dumpe2fs</title>
|
---|
| 60 |
|
---|
| 61 | <para>
|
---|
| 62 | dumpe2fs prints the super block and blocks group information for the
|
---|
| 63 | filesystem present on a specified device.
|
---|
| 64 | </para>
|
---|
| 65 |
|
---|
| 66 | </sect3>
|
---|
| 67 |
|
---|
| 68 | <sect3><title>e2fsck and fsck.ext2</title>
|
---|
| 69 |
|
---|
| 70 | <para>
|
---|
| 71 | e2fsck is used to check a Linux second extended file system. fsck.ext2
|
---|
| 72 | does the same as e2fsck.
|
---|
| 73 | </para>
|
---|
| 74 |
|
---|
| 75 | </sect3>
|
---|
| 76 |
|
---|
| 77 | <sect3><title>e2label</title>
|
---|
| 78 |
|
---|
| 79 | <para>
|
---|
| 80 | e2label will display or change the filesystem label on the ext2 filesystem
|
---|
| 81 | located on the specified device.
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | </sect3>
|
---|
| 85 |
|
---|
| 86 | <sect3><title>fsck</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | fsck is used to check and optionally repair a Linux file system.
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | </sect3>
|
---|
| 93 |
|
---|
| 94 | <sect3><title>mke2fs and mkfs.ext2</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | mke2fs is used to create a Linux second extended file system on a device
|
---|
| 98 | (usually a disk partition). mkfs.ext2 does the same as mke2fs.
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | </sect3>
|
---|
| 102 |
|
---|
| 103 | <sect3><title>mklost+found</title>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | mklost+found is used to create a lost+found directory in the current
|
---|
| 107 | working directory on a Linux second extended file system. mklost+found
|
---|
| 108 | pre-allocates disk blocks to the directory to make it usable by e2fsck.
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3><title>tune2fs</title>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | tune2fs adjusts tunable filesystem parameters on a Linux second extended
|
---|
| 117 | filesystem.
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | </sect3>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|