mount man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

MOUNT(2)							      MOUNT(2)

NAME
       mount, umount - mount or umount a file system

SYNOPSIS
       #include <sys/mount.h>

       int mount(char *special, char *name, int mountflags, char *type, char *args)
       int umount(char *name)
       int umount2(char *name, int flags)

DESCRIPTION
       Mount()	tells the system that the file system special is to be mounted
       on the file name, effectively overlaying name with  the	file  tree  on
       special.	 Name may of any type, except that if the root of special is a
       directory, then name must also be a directory.  Special must be a block
       special file, or a NULL pointer.	 If a NULL pointer is passed, the file
       system is mounted without a block device.  Mountflags may be a  bitwise
       combination of the following flags:

       MS_RDONLY
	 Mount file system read-only, rather than read-write.

       MS_REUSE
	 Reuse the file system server image if possible.

       MS_EXISTING
	 Do  not start the file system server, but use existing one. The label
	 of the running file server is specified in Type.

       Type is the type of the file system (e.g. "mfs"), used to pick  a  file
       system  server.	 If  this parameter is NULL, the default type is used.
       Args is a string with arguments	passed	to  the	 file  system  server.
       Their  interpretation  is up to the server.  This parameter may be NULL
       as well.

       Umount() removes the connection between a device	 and  a	 mount	point,
       name  may  refer to either of them.  If more than one device is mounted
       on the same mount point then unmounting at the mount point removes  the
       last mounted device, unmounting a device removes precisely that device.
       The unmount will only succeed if none of the files on the device are in
       use.

       Umount2()  Same	as  Umount(), but takes an additional flags parameter.
       Flags may be a bitwise combination of the following flags:

       MS_EXISTING
	 Umount the file system but do	not  terminate	the  the  file	system
	 server.

       These calls may only be executed by the super-user.

SEE ALSO
       mount(1), umount(1).

AUTHOR
       Kees J. Bot (kjb@cs.vu.nl)

								      MOUNT(2)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net