49 lines · 1.1 KB · Text
RawDownload
.TH REMOVE 5 .SH NAMEremove \- remove a file from a server.SH SYNOPSIS.ta \w'\fLTremove 'u.IR size [4].B Tremove.IR tag [2].IR fid [4].br.IR size [4].B Rremove.IR tag [2].SH DESCRIPTIONThe.B removerequest asks the file server both to remove the file represented by.I fidand to.B clunkthe.IR fid ,even if the remove fails.This request will fail if the client does not have write permissionin the parent directory..PPIt is correct to consider.B removeto be a.B clunkwith the side effect of removing the file if permissions allow..PPIf a file has been opened as multiple fids,possibly on different connections,and one fid is used to remove the file,whether the other fids continue to provide access to the fileis implementation-defined.The Plan 9 file servers (like.IR fs (4))remove the file immediately: attempts to use the other fidswill yield a``phase error.''.IR U9fs (4)follows the semantics of the underlying Unix file system,so other fids typically remain usable..SH ENTRY POINTS.B Removemessages are generated by.IR remove .