mount
DisksFundamentals In real LinuxMount a file system
Name: mount
This command needs a real Linux system; you can practise it in real Linux mode.
Description
mount attaches the file system on a device (partition, USB stick, ISO image, network share) to a directory, the mount point; that directory then shows the device's contents. Without arguments it lists everything mounted.
File systems mounted at boot are configured in /etc/fstab.
Syntax
mount [OPTION]... [DEVICE DIR]Common options
| -t / --types TYPE | File system type, e.g. ext4, vfat |
| -o / --options OPTIONS | Options, e.g. ro (read-only) |
| -r / --read-only | Mount read-only (as -o ro) |
| --bind | Mount a directory at a second place (both paths show the same files) |
| -a / --all | Mount everything in /etc/fstab |
| -v / --verbose | Show what it does |