mount is used to attach a device to the filesystem for use.
The general form is
mount -t <type> <dev source> <mount location>.
Just running the mount command with no arguments will show what is currently mounted.
- A particularly useful option is the
This allows a CD or DVD image file to be mounted and read as if it were burned to disk and mounted from a physical optical drive.
This is also how to read the contents of squashfs files and initrd files with additional filesystem type flags.
- Data about what is currently mounted is kept in
- The file that controls system mounts is
- User mountable devices such as CDROM and USB thumbdrives are not listed in
/etc/fstab. They are automatically by the udev process in the kernel.