📄 mount.8ufs
字号:
.\" SCCSID: @(#)mount.8ufs 8.3 2/26/91.TH mount 8ufs.SH Namemount \- mount the local ULTRIX File System (UFS).SH Syntax.B "/etc/mount [ \-t ufs \-r ] [".I options.B ].I device directory.SH Description.NXR "mount command".NXR "ufs_mount command".NXR "UFS" "mounting"The.MS mount 8ufscommand announces to the system that a file systemis present on the device.I device.The specified device must be a local device.The file.I directorymust exist and it must be a directory.It becomes the name of the newly mounted file system..PP.\" If invoked with \fB\-p\fP,.\" .PN ufs_mount.\" prints the list of mounted file systems reading standard input.\" for \fIstruct fs_data\fP records output from the.\" .I getmnt().\" system call. This option is used by the mount(8) command..\" .PP.PPTo further protect from system crashes,only file systems that havebeen cleanly checked by.MS fsck 8are mounted.In emergency situations,the superuser can override this requirement by using the.PN forceoption as shown below..PPGeneral users can mount file systems with certain restrictionsin addition to those listed in.MS mount 8 .The file system must have the clean byte set.To ensure the clean byte is set,run the.MS fsck 8command on the file system first.You can also try the mount and if it fails,then run.PN fsckand then try the mount again..PPNote that the user must have execute permissions on the device..PPA successful ufs-mount may generate the following warning message:.EX"Warning, device has exceeded xxx threshold, fsck(8) is advised".EEwhere xxx is which metric was exceeded to cause the clean byte timeout factor to reach zero. See .MS fsck 8for an explanation of the timeout algorithm..PPPhysically write-protected disks and magnetic tape filesystems must be mounted read onlyor an error will occur at mount time..SH OptionsSee the .MS mount 8 reference page for a description of the \fB\-t\fR option..IP "\fB\-o \fIoptions\fR" 12Specifies .I optionsas a sequence of comma-separated words from the list below..RS.IP \fBforce\fR 14The superuser can force the mounting of unclean file systems.You should use the.PN forceflag only in single-user mode when repairingor recovering damaged file systems..IP \fBnodev\fRBlock and character special devicescannot be accessed from this file system. If you are concerned withnfs security, all ufs file systems that will be exported via nfs shouldbe ufs mounted with the .PN nodev option..IP \fBnoexec\fRBinaries cannot be executed from this file system..IP \fBnosuid\fRThe.PN setuidand.PN setgidprograms may not be executed from this file system. If you are concernedwith nfs security, all ufs file systems that will be exported via nfswith the .PN \-r=0option specified in the .PN /etc/exportsfile should beufs mounted with the \fBnosuid\fR option..IP \fBpgthresh=##\fRSet the paging threshold for this file system in kilobytes.The default is 64 kilobytes..IP \fBsync\fRAll writes are immediately written to disk (synchronously)as well as to thebuffer cache.For the.PN syncoption to be meaningful,the file system must be mounted with write permissions..RE.IP \-r 12Mounts the \fIdevice\fP on \fIdirectory\fP read only..SH RestrictionsThe.PN /etc/ufs_mountcommand should only be invoked by the.PN mountcommand.Users (and superusers) should not invoke the.PN ufs_mountcommand..SH Examples.\" The.\" PN ufs_mount.\" command is not the suggested interface.The.PN /etc/mountcommand calls.PN ufs_mountto do its work and is the preferred interface.A sample.PN mountcommand is:.IP "" 5# \fBmount \-t ufs \-o nodev,nosuid,noexec,pgthresh=100 /dev/ra0g /usr\fR.\" .PP.\" This would be translated to .\" .PN ufs_mount .\" as.\" .EX.\" ufs_mount \-o nodev,nosuid,noexec,pgthresh=100 /dev/ra0g /usr.\" .EE.\" .PP.SH Files.TP 20.PN /etc/ufs_mountUFS-specific mount program.SH See Alsogetmnt(2), mount(2), fsck(8), mount(8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -