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

📄 mount.2

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 2
字号:
.TH MOUNT 2 .SH NAMEmount, umount \- mount or remove file system.SH SYNOPSIS.B mount(special, name, rwflag).br.B char *special, *name;.PP.B umount(special).br.B char *special;.SH DESCRIPTION.I Mountannounces to the system that a removable file system hasbeen mounted onthe block-structured special file.I special;from now on, references to file.I namewill refer tothe root file on the newly mounted file system..I Specialand.I nameare pointers to null-terminated stringscontaining the appropriate path names..PP.I Namemust exist already. .I Namemust be a directory (unless the root of the mounted file systemis not a directory).Its old contentsare inaccessible while the file systemis mounted..PPThe.I rwflagargument determines whetherthe file system can be written on; if it is 0 writingis allowed, if non-zero no writing is done.Physically write-protected and magnetictape file systems must be mounted read-only orerrors will occur when access times are updated,whether or not anyexplicit write is attempted..PP.I Umountannounces to the system that the.I specialfile is no longer to contain a removable file system.The associated file reverts to its ordinary interpretation..SH "SEE ALSO"mount(1).SH DIAGNOSTICS.I Mountreturns 0 if the action occurred; \-1 if.I specialis inaccessible or not an appropriate file; if.I namedoes not exist; if.I specialis already mounted; if.I nameis in use; or ifthere are already too manyfile systems mounted..PP.I Umountreturns 0 if the action occurred; \-1 ifif the special file is inaccessible ordoes not have a mounted file system,or if there are active files in the mounted file system..SH ASSEMBLER(mount = 21.).br.B sys  mount; special; name; rwflag.PP(umount = 22.).br.B sys  umount; special

⌨️ 快捷键说明

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