⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mount.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)mount.8	7.1	4/26/90.TH mount 8.SH Namemount, umount \- mount or unmount file systems.SH Syntax\fB/etc/mount\fR [ \fIoptions\fR ] [ \fIdevice\fR ] [ \fIdirectory\fR ].PP\fB/etc/umount\fR [ \fIoptions\fR ] [ \fIdevice\fR ] [ \fIdirectory\fR ].SH Description.NXR "mount command (general)".NXR "umount command (general)".NXA "mount command (general)" "mount command (NFS)".NXA "mount command (general)" "ufs_mount command".NXAM "mount command (general)" "fstab file".NXR "file system" "mounting".NXA "file system" "NFS file system".NXA "file system" "UFS file system"This is a general description of the .PN mount command.Additional .PN mount descriptions are provided to define the .PN mountsyntax and options for the NFS and UFS file systems..PPEach invocation of the.PN mountcommand announces to the system that a file systemis present on the device \fIdevice\fR.The file system may be local or remote.File \fIdirectory\fRmust exist as a directory file.It becomes the name of the newly mounted file system root..PPIf invoked without arguments,.PN mountprints the list of mounted file systems..PPPhysically write-protected disks and magnetic tape filesystems must be mounted read-onlyor an error will occur at mount time..PPGeneral users can only mount file systems with certain restrictions.For example, the user,other than the superuser,performing the mount must own the directory \fIdirectory\fR.Furthermore, no users other than the superuser can execute.PN setuidor.PN setgidprograms on the mounted file systems.In addition, users other than the superuser cannot access block or specialcharacter devices such as.PN rra0gon the mounted file systems..PPThe .PN umountcommand announces to the system that the removablefile system previously mounted on the specified directoryis to be removed.Only the person who mounted a particular file system or thesuperuser can unmount the file system again..SH Options.TP 12.B \-aReads the file.PN /etc/fstaband mounts, or unmounts, all file systems listed there..TP 12.B \-fFast unmount.The.PN \-foption has no meaning for local file systems and directories.However,for remote file system types (such as NFS), the.PN \-foption causes the client to unmount the remotely mounted file systemsand directories without notifying the server.This can avoid the delay of waiting for acknowledgmentfrom a server that is down..TP 12\fB\-o\fR \fIoptions\fRSpecifiesa string that is passed to the kernel and used bythe specific file system's mount routine in the kernel.For specific options,refer to the file system-specific .PN mount description, such as .MS mount 8nfs ..TP 12.B \-rIndicates that the file systemis to be mounted read only. To share a disk, each host must mount the file system with the .B \-roption. .TP 12\fB\-t\fR \fItype\fRSpecifies the type of file system is being mounted.When used with the .PN \-aoption, the.PN \-toption mounts all file systems of the given type found inthe.PN /etc/fstabfile.For specific file system types,refer to the file system-specific.PN mountdescription,such as .MS mount 8nfs ..TP 12.B \-vTells what did or did not happen.(Verbose flag).PPThe options for.PN umountare:.TP 12.B \-aUnmounts all mounted file systems.It may be necessary to execute.PN umount.PN \-atwice to accomplish unmounting of all mounted file systems..TP 12.B \-vTells what did or did not happen.(Verbose flag).SH Restrictions.NXR "mount command (general)" "restricted"Mounting corrupted file systems will crash the system..SH Files.TP 15.PN /etc/fstabFile systems information table.SH See Alsogetmnt(2), mount(2), fstab(5), fsck(8), mount(8nfs), mount(8ufs)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -