Mounting and Unmounting File Systems

The file systems on your hard disk drives are mounted for you automatically when the system boots. The removable devices (for example, floppy disks and CD-ROM drives) are not.

All the people using a Linux machine see the same view of the file system (although many of them are unable to access all parts of it). This means that mounting a file system is an action reserved for the superuser. The superuser can indicate that some file systems can be mounted and unmounted by ordinary users (the user option in the file /etc/fstab is used for this).

The superuser sets up the /etc/fstab file to specify what file systems are used on each device, using either the linuxconf command or a text editor directly on the

Get Practical Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.