Chapter 15
ACCESSING LINUX FILE SYSTEMS
Block device naming:
TYPE OF DEVICE
DEVICE NAMING PATTERN
SATA/SAS/USB-attached storage
/dev/sda, /dev/sdb ...
virtio-blk paravirtualized storage (some virtual machines)
/dev/vda, /dev/vdb ...
NVMe-attached storage (many SSDs)
/dev/nvme0, /dev/nvme1 ...
SD/MMC/eMMC storage (SD cards)
/dev/mmcblk0, /dev/mmcblk1 ...
Disk partitions
Logical Volumes
LVM - Logical Volume Management
The lsof
command lists all open files and the process accessing them in the provided directory. It is useful to identify which processes currently prevent the file system from successful unmounting.
LOCATING FILES ON THE SYSTEM
The locate database is automatically updated every day. However, at any time the root user can issue the updatedb command to force an immediate update.
Last updated
Was this helpful?