Usage: mount [OPTION]...
or: mount [OPTION]... DEVICE DIRECTORY |
Mount filesystems.
Options:
-a Mount all filesystems in /etc/fstab -o One of the many filesystem options listed below -r Mount the filesystem read-only -t TYPE Specify the filesystem type -w Mount the filesystem read-write |
Options for use with the -o flag:
async/sync Writes are asynchronous / synchronous atime/noatime Enable / disable updates to inode access times dev/nodev Allow / disallow use of special device files exec/noexec Allow / disallow use of executable files loop Mount a file via loop device suid/nosuid Allow / disallow set-user-id-root programs remount Remount a currently mounted filesystem ro/rw Mount filesystem read-only / read-write |
There are even more flags that are filesystem specific. You'll have to see the written documentation for those.
Example:
$ mount /dev/hda3 on / type minix (rw) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw) $ mount /dev/fd0 /mnt -t msdos -o ro $ mount /tmp/diskimage /opt -t ext2 -o loop |