40 / 102
Mounting
To gain access to files on a device, you must first tell it where in the directory tree you would like those files to appear (mount point). This process is called mounting a filesystem.
- Devices must be mounted before they can be accessed.
- Devices must be unmounted before they can be "ejected" (you should not eject a mounted floppy).
mount
- Mount a filesystem.
umount
- Unmount a filesystem.
The system administrator can control which file systems are mounted
at boot time, pre-determine the mount points for specific file systems,
and allow some file systems to be mounted by normal users.
This is configured in /etc/fstab
, which includes the
following fields:
- device
- mount point
- filesystem type
- options
noauto
: not done at boot timero
: read-only deviceusers
: any user can mount it