lsblk
options
-a : default, print all storage devices
-f : print info with file
-t : print topology info
-l : print formated devices. but, not provide info about relationships b/w devices
columns
1. NAME: device 이름.
2.MAJ:MIN
major / minnor index of device
3.RM
Boolean values for removable and non-removable devices.
status code
- 1 : removable
- 0 : non-removable
4.SIZE
device size in a readable format, i.e., In K, M, G, T, etc.
5.RO
the read-only status of a device.
status code
- 1 : read-only
- 0 : not read-only.
6.TYPE
type of devices
ex) disk, loopback device, partition, or LVM device.
7.MOUNTPOINT:
path point of mountpoint