104.3 Control mounting and unmounting of filesystems Flashcards

1
Q

What is the command to mount a hard drive into the FS?

A
#mount  
#mount /dev/sdb1 /opt
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command unmounts a drive from the FS mounting point?

A

umount

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What file has to be modified for a drive to be consistently available between reboots?

A

/etc/fstab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command shows every single mount point in a system?

A

mount

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command is used to see mount points of a particular type?

A
#mount -t 
#mount -t ext4
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where does the #mount command get its information from?

A

/etc/mtab which in turns gets its info from /proc/mounts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the syntax of the #mount command?

A

mount

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What options can be used to unmount a file system?

A

You can use the device name, the label or mount point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What gets mounted to the /media location usually?

A

USB drives, CD drives, DVD devices or external HDDs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What flag can you give #lsblk to see the FS types in the partitions and their UUID-Universally Unique Identifier-?

A
[-f]  #lsblk -f   or
#blkid
How well did you know this?
1
Not at all
2
3
4
5
Perfectly