Linux Filesystem Management
badblocks Used to search a disk or partition for badblocks.
cfdisk Similar to fdisk but with a nicer interface.
debugfs Allows direct access to filesystems data structure.
df Shows the disk free space on one or more filesystems.
dosfsck Check and repair MS-Dos filesystems.
du Shows how much disk space a directory and all its files contain.
dump Used to back up an ext2 filesystem. Complement is restore.
dumpe2fs Dump filesystem superblock and blocks group information. Ex: dumpe2fs /dev/hda2
e2fsck Check a Linux second extended filesystem.
e2label Change the label on an ext2 filesystem.
exportfs Used to set up filesystems to export for nfs (network file sharing).
fdisk Used to fix or create partitions on a hard drive.
fdformat Formats a floppy disk.
fsck Used to add new blocks to a filesystem. Must not be run on a mounted file system.
hdparm Get/set hard disk geometry parameters, cylinders, heads, sectors.
mkfs Initializes a Linux filesystem. This is a front end that runs a separate program depending on the filesystem’s type.
mke2fs Create a Linux second extended filesystem.
mkswap Sets up a Linux swap area on a device or file.
mount Used to mount a filesystem. Complement is umount.
rdev Query/set image root device, swap device, RAM disk size of video mode. What this does is code the device containing the root filesystem into the kernel image specified.
rdump Same as dump.
rmt Remote magtape protocol module.
restore Used to restore an ext2 filesystem.
setfdprm Set floppy drive parameters.
swapoff(8) Used to de-activate a swap partition.
swapon(8) Used to activate a swap partition.
sync Forces all unwritten blocks in the buffer cache to be written to disk.
tune2fs Adjust tunable filesystem parameters on second extended filesystems.
umount Unmounts a filesystem. Complement is mount.
775
previous post