man(1) Manual page archive


     MOUNT(8)                                                 MOUNT(8)

     NAME
          mount, umount - mount and dismount file system

     SYNOPSIS
          /etc/mount [ special name [ fstype [ flags ] ] ]

          /etc/mount -a

          /etc/mount [ special name [ -r ] ]

          /etc/umount name

          /etc/umount -a

     DESCRIPTION
          Mount announces to the system that a removable file system
          of type fstype is present on the file special. The file name
          must exist already; it becomes the name of the newly mounted
          root.  Fstype and flags are integers; if omitted, they
          default to 0.  Type 0 is an ordinary disk file system.
          Other types and possible flag values are listed in
          fmount(2).

          The shorthand mount special file -r is equivalent to mount
          special file 0 1: mount an ordinary file system read-only.

          If option -a is present, mount attempts to mount, in order,
          every file system listed in fstab(5).

          Umount announces to the system that the file system mounted
          on file name is to be removed.

          These commands maintain a table of mounted file systems in
          see fstab(5). If invoked without an argument, mount prints
          the table.  If option -a is present, umount attempts to
          remove, in reverse order, each file system listed in mtab.

          Physically write-protected and magnetic tape file systems
          must be mounted read-only or errors will occur when access
          times are updated, even if no explicit write is attempted.

     EXAMPLES
          /etc/mount /dev/ra02 /usr
               Mount the file system on disk `/dev/ra02' on directory
               `/usr'.

          /etc/mount /dev/null /proc 2
               Mount the process file system.

     FILES

     MOUNT(8)                                                 MOUNT(8)

          mount table
          file system table

     SEE ALSO
          fmount(2), fstab(5), netfs(8)

     BUGS
          Mounting file systems full of garbage may crash the system.
          Mounting a root directory on a non-directory makes some
          apparently good pathnames invalid.