mount_sfs(1M)


mount_sfs -- mount sfs filesystems

Synopsis

mount [-F sfs] [generic_options] [-r] [-o specific_options]
[special|mount_point]
mount [-F sfs] [generic_options] [-r] [-o specific_options]
special mount_point

Description

mount attaches a sfs filesystem to the filesystem hierarchy at the pathname location mount_point, which must already exist. If mount_point has any contents prior to the mount operation, these remain hidden until the filesystem is once again unmounted.

sfs-specific options


-F sfs
Specify the sfs FSType. If -F sfs is not specified heuristics similiar to those used by fstyp(1M) are used to determine the file system type.


NOTE: This command executes faster if it is not required to autodetect file system types. If possible, specify the -F sfs.


-r
Mount the filesystem read-only.

-o
Specify sfs filesystem specific options. If invalid options are specified, a warning message is printed and the invalid options are ignored. Multiple filesystem-specific options may be listed in any order, but must be separated by commas. The following options are available:

f
Fake an /etc/mnttab entry, but do not actually mount any filesystems. Parameters are not verified.

n
Mount the filesystem without making an entry in /etc/mnttab.

rw | ro
Read/write or read-only. Default is rw.

nosuid
By default the filesystem is mounted with setuid execution allowed. Specifying nosuid overrides the default and causes the filesystem to be mounted with setuid execution disallowed.

Note that mounting an unprotected medium (such as a floppy disk) introduces possible security risks. While the use of nosuid protects against some risks, it is not completely effective. The best defense against such security risks is to avoid mounting unprotected media.


remount
Used in conjunction with rw. A filesystem mounted read-only can be remounted read-write. Fails if the filesystem is not currently mounted or if the filesystem is mounted rw.

soft
Specifies that writes need not be written out to disk until the filesystem is about to be unmounted. This volatility can improve system throughput as much as eight percent when the temporary directories (for example, /tmp and /var/tmp) are mounted this way.

Files


/etc/mnttab
table of mounted filesystems

References

fstyp(1M), mkdir(2), mnttab(4), generic mount(1M), mount_memfs(1M), mount(2), open(2), umount(2)

Notices

If the directory on which a filesystem is to be mounted is a symbolic link, the filesystem is mounted on the directory to which the symbolic link refers, rather than on top of the symbolic link itself.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004