Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mount(8) [ultrix man page]

mount(8)						      System Manager's Manual							  mount(8)

Name
       mount, umount - mount or unmount file systems

Syntax
       /etc/mount [ options ] [ device ] [ directory ]

       /etc/umount [ options ] [ device ] [ directory ]

Description
       This  is  a  general description of the command.  Additional descriptions are provided to define the syntax and options for the NFS and UFS
       file systems.

       Each invocation of the command announces to the system that a file system is present on the device device.  The file system may be local or
       remote.	File directory must exist as a directory file.	It becomes the name of the newly mounted file system root.

       If invoked without arguments, prints the list of mounted file systems.

       Physically write-protected disks and magnetic tape file systems must be mounted read-only or an error will occur at mount time.

       General users can only mount file systems with certain restrictions.  For example, the user, other than the superuser, performing the mount
       must own the directory directory.  Furthermore, no users other than the superuser can execute or programs on the mounted file systems.	In
       addition, users other than the superuser cannot access block or special character devices such as on the mounted file systems.

       The  command  announces	to the system that the removable file system previously mounted on the specified directory is to be removed.  Only
       the person who mounted a particular file system or the superuser can unmount the file system again.

Options
       -a	   Reads the file and mounts, or unmounts, all file systems listed there.

       -f	   Fast unmount.  The option has no meaning for local file systems and directories.  However, for remote file system  types  (such
		   as  NFS),  the  option  causes  the	client	to unmount the remotely mounted file systems and directories without notifying the
		   server.  This can avoid the delay of waiting for acknowledgment from a server that is down.

       -o options  Specifies a string that is passed to the kernel and used by the specific file system's mount routine in the kernel.	 For  spe-
		   cific options, refer to the file system-specific description, such as

       -r	   Indicates  that  the  file system is to be mounted read only. To share a disk, each host must mount the file system with the -r
		   option.

       -t type	   Specifies the type of file system is being mounted.	When used with the option, the option mounts all file systems of the given
		   type found in the file.  For specific file system types, refer to the file system-specific description, such as

       -v	   Tells what did or did not happen.  (Verbose flag)

       The options for are:

       -a	   Unmounts all mounted file systems.  It may be necessary to execute twice to accomplish unmounting of all mounted file systems.

       -v	   Tells what did or did not happen.  (Verbose flag)

Restrictions
       Mounting corrupted file systems will crash the system.

Files
       File systems information table

See Also
       getmnt(2), mount(2), fstab(5), fsck(8), mount(8nfs), mount(8ufs)

																	  mount(8)

Check Out this Related Man Page

mount_lofs(1M)															    mount_lofs(1M)

NAME
mount_lofs: mount, umount - mount and unmount LOFS file systems SYNOPSIS
specific_options] {special_directory|directory} specific_options] special_directory directory {special_directory|directory} DESCRIPTION
The command mounts LOFS file systems. Only superuser can mount LOFS file systems. Other users can use to list mounted file systems. attaches special_directory, a directory from one of the mounted file systems, to directory, an another directory in one of the mounted file systems. This enables new file systems to be created, which provide access to existing directories or file systems using alternate path names. Both special_directory and directory should already exist. directory will become the root of the newly mounted LOFS file system, containing the file system hierarchy under special_directory. special_directory and directory must be specified as absolute path names. If either special_directory or directory is omitted, attempts to determine the missing value from an entry in the file. can be invoked on any removable file system, except If is invoked without any arguments, it lists all the mounted file systems from the file system mount table, The command unmounts mounted file systems. Only a superuser can unmount file systems. Options (mount) recognizes the following options: Attempt to mount all file systems described in All optional fields in must be included and supported. If is specified, all LOFS file systems in are mounted. If is specified in an entry's option list, this entry is skipped. File systems are not necessarily mounted in the order listed in Verbose mode. Write a message to standard output indicating which file system is being mounted. Specify the LOFS file system type (see fstyp(1M)). Limit actions to local file systems only. LOFS is a local file system. Specify options specific to the LOFS file system type. specific_options is a list of comma separated suboptions and/or keyword/attribute pairs intended for the LOFS spe- cific module of the command. The following specific_options are valid on an LOFS file system: Use all default options. When used, this must be the only option specified. Read-only (see below). Report the list of mounted file systems in the format. Prevent display of error messages resulting from an attempt to mount already mounted file systems. Mount the specified file system as read-only (see below). Report the output in a new style. The new style has the file system type and flags displayed in addition to the old output. The directory and spe- cial_directory fields are reversed. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. Options (umount) The command recognizes the following options: Attempt to unmount all file systems described in All optional fields in must be included and supported. If file system type is specified, all the LOFS file systems in are unmounted. File systems are not necessarily unmounted in the order listed in Specify the LOFS file system type (see fstyp(1M)). Verbose mode. Write a message to standard output indicating which file system is being unmounted. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. EXAMPLES
Mount an LOFS file system: Mount another LOFS file system: WARNINGS
LOFS file systems provide the user with numerous applications; however, they may be potentially confusing. LOFS file systems should gener- ally be created by an experienced user. For LOFS file systems which are mounted read-only, if the underlying file system is mounted writable, certain write operations on the LOFS will succeed. Thus LOFS should not be relied upon to provide a strictly write-only alternative image of a read-write file system. AUTHOR
was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. FILES
Static information about the file systems Mounted file system table SEE ALSO
mount(1M), mount(2), fstab(4), mnttab(4). STANDARDS CONFORMANCE
mount_lofs(1M)
Man Page