16. Filesystem¶
files
directories
sockets
symlinks
hardlinks
journaling
16.1. Disk¶
/dev/sda
/dev/sdb
Command |
Type |
Description |
---|---|---|
|
||
|
report file system disk space usage |
|
|
Synchronize cached writes to persistent storage |
|
|
commit filesystem caches to disk |
16.2. Partitioning¶
/dev/sda1
/dev/sda2
parted
gparted
druid
Command |
Type |
Description |
---|---|---|
|
tell the kernel to forget about a partition |
|
|
manipulate disk partition table |
|
|
generate a GRUB configuration file |
|
|
||
|
Create device maps from partition tables. |
|
|
a partition manipulation program |
|
|
tell the kernel about the presence and numbering of on-disk partitions |
|
|
tell the kernel about the new size of a partition |
|
|
stub for grub-mkconfig |
16.3. File Systems¶
xfs
zfs
apfs
ntfs
fat32
btrfs
ext3
ext4
vfat
Command |
Type |
Description |
---|---|---|
|
check and repair a Linux filesystem |
|
|
Query the systemd journal |
|
|
build a Linux filesystem |
|
|
set up a Linux swap area |
|
|
mount filesystem |
|
|
mount a filesystem |
|
|
start/stop swapping to file/device |
|
|
enable/disable devices and files for paging and swapping |
|
|
start/stop swapping to file/device |
|
|
enable/disable devices and files for paging and swapping |
16.4. Integrity¶
fdisk
16.5. Mounting¶
mount
/etc/fstab
/etc/mtab