[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    mount_ufs(1M) manual page Table of Contents

Name

mount_ufs - mount ufs file systems

Synopsis

mount -F ufs [ generic_options ] [ -o FSType-specific_options ] [ -O ] special|mount_point
mount -F ufs [ generic_options ] [ -o FSType-specific_options ] [ -O ] special mount_point

Availability

SUNWcsu

Description

mount attaches a ufs file system to the file system hierarchy at the mount_point, which is the pathname of a directory. If mount_point has any contents prior to the mount operation, these are hidden until the file system is unmounted.

If mount is invoked with special or mount_point as the only arguments, mount will search /etc/vfstab to fill in the missing arguments, including the FSType-specific_options. See mount(1M) .

If special and mount_point are specified without any FSType-specific_options, the default is rw.

Options

See mount(1M) for the list of supported generic_options.

-o
Specify ufs file system specific options in a comma-separated list with no intervening spaces. If invalid options are specified, a warning message is printed and the invalid options are ignored. The following options are available:
onerror=action
where action = panic | lock | umount | repair. This option specifies the action that UFS should take to recover from an internal inconsistency on a file system. These cause a forced system shutdown, a file system lock to be applied to the file system, the file system to be forcibly unmounted, or an automatic fsck, respectively. The default is panic. The repair option downgrades to "panic" if the UFS-aware service daemon (ufsd) is not installed on the system. ufsd is a component of the unbundled DiskSuite product.
toosoon=number[s|m|h|d|w|y]
This option specifies the minimum time that must elapse between detection of inconsistencies on a file system. If an inconsistency is detected within this time period the system is forced to shut down. This prevents pathologic repairing of a file system which is damaged repeatedly. The optional unit key letter sets the units to be seconds, minutes, hours, days, weeks, or years, respectively. The default value is 1w (1 week).
f
Fake an /etc/mnttab entry, but do not actually mount any file systems. Parameters are not verified.
m
Mount the file system without making an entry in /etc/mnttab.
quota
Quotas are turned on for the file system.
rw|ro
Read-write or read-only. Default is rw.
rq
Read-write with quotas turned on. Equivalent to rw, quota.
nosuid
By default the file system is mounted with Setuid execution allowed. Specifying nosuid causes the file system to be mounted with setuid execution disallowed. nosuid can also be used to disallow setuid when mounting devices.
remount
Used in conjunction with rw. A file system mounted read-only can be remounted read-write. Fails if the file system is not currently mounted or if the file system is mounted rw.
intr|nointr
Allow(do not allow) keyboard interrupts to kill a process that is waiting for an operation on a locked file system. The default is intr.
-O
Overlay mount. Allow the file system to be mounted over an existing mount point, making the underlying file system inaccessible. If a mount is attempted on a pre-existing mount point without setting this flag, the mount will fail, producing the error ‘device busy’.

Files

/etc/mnttab
table of mounted file systems
/etc/vfstab
list of default parameters for each file system

See Also

mount(1M) , mountall(1M) , mount(2) , mnttab(4) , vfstab(4)

Notes

If the directory on which a file system is to be mounted is a symbolic link, the file system is mounted on the directory to which the symbolic link refers, rather than on top of the symbolic link itself.


Table of Contents