104.3 Control mounting and unmounting of filesystems Flashcards
What is the command to mount a hard drive into the FS?
#mount #mount /dev/sdb1 /opt
What command unmounts a drive from the FS mounting point?
umount
What file has to be modified for a drive to be consistently available between reboots?
/etc/fstab
What command shows every single mount point in a system?
mount
What command is used to see mount points of a particular type?
#mount -t #mount -t ext4
Where does the #mount command get its information from?
/etc/mtab which in turns gets its info from /proc/mounts
What is the syntax of the #mount command?
mount
What options can be used to unmount a file system?
You can use the device name, the label or mount point.
What gets mounted to the /media location usually?
USB drives, CD drives, DVD devices or external HDDs
What flag can you give #lsblk to see the FS types in the partitions and their UUID-Universally Unique Identifier-?
[-f] #lsblk -f or #blkid