?? mount.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 + -