Mounting
Mounting
• The mount Unix command line utility instructs the operating system a file system is
ready to use, and associates it with a particular point in the system's file system
hierarchy (its mount point). The counterpart umount instructs the operating system
that the file system should be disassociated from its mount point, making it no longer
accessible. The mount and umount commands require root user privilege or the
corresponding fine-grained privilege.
• $ mount /dev/hda2 /new/subdir
• $ umount /dev/hda2
OR
• $ umount /new/subdir
To list all mounted file systems:
• $ mount
• This command actually tells the kernel to attach the file system found
on device (which is of type type) at the directory dir. The previous contents (if any)
and owner and mode of dir become invisible, and as long as this file system remains
mounted, the pathname dir refers to the root of the file system on device.