List the drives using command,

  1. lsblk - list block devices which lists all the block devices available in the system.
  2. blkid - list and print block devices attributes
  3. fdisk - deals file disk partitions and manages them.
  4. 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