Chapter 3 Flashcards

1
Q

Which of the following could be a legitimate invocation of the mount command?

A

mount /dev/sda2 /home

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

Which of the following command lines would mount the device /dev/sda3, formatted with the vfat filesystem, to the mount point /dosc?

A

mount -t vfat /dev/sda3 /dosc

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

Which of the following is not a common Linux mount option?

A

mtime

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

[root@station root]# mount
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext4 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root@station root]# mount /dev/sda7 /var
[root@station root]# mount /dev/sda5 /var/www/html

A

-

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

Which partition contains the file /proc/meminfo?

A

None of the above

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

Which partition contains the mount point /var/www/html?

A

/dev/sda7

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

When accessing the file /var/www/html/index.html, how many partitions does the kernel involve?

A

3

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

Use the following transcript to answer the next 2 questions.

[root@station root]# mount /dev/fd0 /mnt/floppy
[root@station root]# cd /mnt/floppy
[root@station floppy]# cal > september.txt
[root@station floppy]# umount /mnt/floppy
umount: /mnt/floppy: device is busy

A

-

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

Which is the most likely reason the /mnt/floppy device was considered busy?

A

The bash shell’s current working directory is /mnt/floppy.

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

Which of the following commands would resolve the problem, so that if it were immediately followed by the same umount command listed above, the unmount would succeed?

A

cd

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

Which of the following command lines would add the noatime option to an already mounted /home partition?

A

mount -o remount,noatime /dev/sda4 /home

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

Use the following transcript to answer the next question.

[root@station root]# mount
/dev/sdb6 on / type ext4 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sdb7 on /var/ftp/pub type ext4 (rw)
/dev/sdb5 on /home type ext4 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
A

-

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

Which of the following command lines could be used to unmount the /home partition?

A

umount /dev/sdb5

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