13.0 Disk Management

Topics

  • Making a Partitions

  • Disks

  • filesystems

  • fdisk

  • fstab

  • blocks

  • mounting

Reading List

Chapter: 14

Commands

Command

Action

fdisk

manipulate disk partition table

mount

mount a filesystem

blkid

locate/print block device attributes

mkfs

build a Linux filesystem

mkfs.ext4

create an ext2/ext3/ext4 filesystem

mkfs.xfs

construct an XFS filesystem

mkswap

set up a Linux swap area

swapon

enable/disable devices and files for paging and swapping

swapoff

enable/disable devices and files for paging and swapping

fstab (file)

static information about the filesystems