Physical Devices  «Prev 

System Configuration Files Unix - Exercise

Using the fstab file (Linux)

Objective: Examine the system configuration file to find where special device files are mounted. This exercise simulates a UNIX command line and allows you to practice entering commands.

Exercise scoring

This exercise is not scored. When you have completed the simulation, click the Submit Done button to receive full credit and to review the exercise solution.


In this exercise, you will see how well you understand using the fstab system configuration file to determine where special device files are mounted. Start the simulation below and work through the situation presented.
Text 1
1) Text 1
Text 2
2) Text 2
Text 3
3) Text 3
Text 4
4) Text 4
Text 5
5) Text 5
Text 6
6) Text 6
Text 7
7) Text 7
  1. Notice that the /dev/fd0 device has a |||(S7)noauto|||(S0) entry. This means that when the system boots, it will not mount this device automatically. This feature is necessary because you will not want to have a floppy in the drive at all times. It also makes the system more secure, because in most systems (excluding Linux) a user must have root permission to mount a floppy or any other drive. Now, type |||(S1)mount -a|||(S0) to mount the /home directory again, using the default information in the /etc/fstab file. If you use the |||(S7)-a|||(S0) argument of mount, you can force the system to read the fstab file.
  2. Mount home directory
  3. mount -a
  4. The command you have entered is incorrect. Please check the instructions and try again.
  5. This is the end of the simulation. Click the Exit button.