List the drives using command,
lsblk
- list block devices which lists all the block devices available in the system.blkid
- list and print block devices attributesfdisk
- deals file disk partitions and manages them.udiskctl
Mount and Unmount
- Mounting is used to mount the external storage device to the local file system. It makes external storage devices accessible within the system.
mount /dev/sda /storage/ultafit
-
Syntax -
mount device directory
-
Unmounting remove the external storage mount from the directory and the external storage no longer be accessed inside the file system.
umount /storage/ultafit