click below
click below
Normal Size Small Size show me how
Mkfs File Systems
File System management
Question | Answer |
---|---|
mkfs Options: Determine the filesystem type | mkfs -t file_system_type |
Identical to mkfs -t ext2 | mkfs.ext2 |
mkfs Options: Specifies the block size values of 1024, 2148, and 4096 | mkfs -b |
mkfs Options: Append a journal to an ext2 file system | mkfs -j |
mkfs Options: Determine how many inodes are on the partition (same values as for blocks) | mkfs -i |
mke2fs Options: Block size | mke2fs -b |
mke2fs Options: Create a file system with an ext3 journal | mke2fs -j |
mke2fs Options: Sets the volume label for the file system | mke2fs -L |
mke2fs Options: Displays what mke2fs would do if it created a file system – but does not actually create it | mke2fs -n |
mke2fs Options: Specify the file system type | mke2fs -t |
Use one of the following to create an ext4 file system on the 1st partition of the 2nd hard disk drive. | • mkfs.ext4 /dev/sdb1 • mke2fs –t ext4 /dev/sdb1 • mkfs –t ext4 /dev/sdb1 |
Location on hard drive where OS writes memory when it runs out of RAM | Swap partition |
Command to create a swap partition | mkswap |
Specify all swap partitions listed in /etc/fstab file | swapon -a swapoff -a |
Still used for smaller boot partitions and removable disks smaller than 1G | ext2 |
Has Journaling which can cope with system crashes and power outages = improved reliability | ext3 |
Has disk sizes up to 1 exabyte and files up to 16 terabytes. Gives better performance than ext3 | ext4 |
Journaling file system Ideal for maintaining large number of smaller file – data corruption can occur if power goes out during synchronization and defragmentation is not available | Reiserfs |
Filesystem created by IBM for its AIX OS | Journaled File System (JFS) |
Filesystem created by Silicon Graphics - known for technical sophistication, robustness, speed, smooth data transfers, and flexibility | XFS (Extended File System) |
Filesystem that handles large disks and files (up to 16 exbibytes file size) - considered one of the best modern filesystems | Btrfs |
Oldest filesystem – Windows NT, 2000, XP, Vista and Windows 8 – no journaling | FAT (File Allocation Table) vfat is a FAT32 (no Journaling) - long name support |
Filesystem mostly used by Apple’s Mac OS | HFS (Hierarchical File System) |
Standard filesystem for CD-ROM discs | ISO-9660 |
A long name support filesystem that is an extension of ISO-9660 | Joliet |
Latest generation filesystem for optical discs – DVD-ROMS | UDF (Universal Disk Format) |