Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mount(8) — SunOS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(2)

mtab(5)

fstab(5)

MOUNT(8)  —  MAINTENANCE COMMANDS

NAME

mount, umount − mount and dismount file system

SYNOPSIS

/etc/mount [ −a ] [ −r ] [ −f ] [ −v ] [ special ] [ dir ]

/etc/umount [ −a ] [ −v ] [ dev ... ]

DESCRIPTION

Mount announces to the system that a removable file system is present on the device special. The file dir must exist already and it must be a directory (unless the root of the mounted file system is not a directory).  It becomes the name of the newly mounted root.  The optional argument −r indicates that the file system is to be mounted read-only. 

Umount announces to the system that the removable file system previously mounted on device special should be removed. 

Mount and umount maintain a table of mounted devices in /etc/mtab. If invoked without an argument, mount displays the table. 

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

MOUNT OPTIONS

−rMount the specified file system read-only. 

−aAttempt to mount or unmount all the file systems described in /etc/fstab. In this case, special and dir are taken from /etc/fstab. The special file name from /etc/fstab is the block special name. 

−vVerbose — mount displays a message indicating the file system being mounted. 

−fFake a new /etc/mtab entry.  Mount does not actually mount any file systems. 

UMOUNT OPTIONS

−aAttempt to unmount all the file systems described in /etc/fstab. In this case, special is taken from /etc/fstab.

−vVerbose — umount displays a message indicating the file system being unmounted. 

FILES

/etc/mtabmount table
/etc/fstabfile system table

SEE ALSO

mount(2), mtab(5), fstab(5)

BUGS

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

Sun Release 1.1  —  Last change: 3 January 1984

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026