Chapter 3 Flashcards
Which of the following could be a legitimate invocation of the mount command?
mount /dev/sda2 /home
Which of the following command lines would mount the device /dev/sda3, formatted with the vfat filesystem, to the mount point /dosc?
mount -t vfat /dev/sda3 /dosc
Which of the following is not a common Linux mount option?
mtime
[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
-
Which partition contains the file /proc/meminfo?
None of the above
Which partition contains the mount point /var/www/html?
/dev/sda7
When accessing the file /var/www/html/index.html, how many partitions does the kernel involve?
3
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
-
Which is the most likely reason the /mnt/floppy device was considered busy?
The bash shell’s current working directory is /mnt/floppy.
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?
cd
Which of the following command lines would add the noatime option to an already mounted /home partition?
mount -o remount,noatime /dev/sda4 /home
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)
-
Which of the following command lines could be used to unmount the /home partition?
umount /dev/sdb5