Article View: comp.os.linux.help
Article #112Re: NFS sucks (was Re: Pentium-90 box for Linux?)
From: H. Peter Anvin
Date: Thu, 16 Feb 1995 12:00
Date: Thu, 16 Feb 1995 12:00
23 lines
2283 bytes
2283 bytes
Followup to: <PREP.95Feb16015835@yarrow.wt.uwa.edu.au> By author: prep@yarrow.wt.uwa.edu.au (Paul Repacholi) In newsgroup: aus.computers.linux > > Most systems define deletion to be a deletion request, that happens > when the last user closes (de-accesses ) the file. Many, but not all, > systems will not allow opens after a delete operation. A few systems > treat a delete as a 'de-reference' operation, and only destroy(sic) > the file when its reference count is 0. > > Any of them is fine... > Actually, the unlink() system call on POSIX systems have very specific semantics: it removes the directory name (link) of a file. A file can only be opened by referencing though a link, so once the final link is removed, the file cannot be opened again except by a process which can clone a file descriptor. After all links are removed and all file descriptors referring to the file are closed, the file becomes inaccessible and its storage space is reclaimed by the file system. /hpa
Technical Details
Message-ID:
<hpa.2f433d11.Linux.is.free@asgard.yggdrasil.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!gatech!howland.reston.ans.net!news.sprintlink.net!news.clark.net!rahul.net!a2i!olivea!nntp-hub.barrnet.net!nntp-sc.barrnet.net!ratatosk.yggdrasil.com!hpaReferences:
<1995Feb6.094005.40@nntp.brisnet.org.au> <3hngrg$s86@inferno.mpx.com.au> <3hqcv9$qho@bunyip.cc.uq.oz.au> <PREP.95Feb16015835@yarrow.wt.uwa.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,a85ac670e4194595 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,a85ac670e4194595 X-Google-Attributes: gid102983,public X-Google-Thread: 100b1f,a85ac670e4194595 X-Google-Attributes: gid100b1f,public X-Google-ArrivalTime: 1995-02-16 04:00:11 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!gatech!howland.reston.ans.net!news.sprintlink.net!news.clark.net!rahul.net!a2i!olivea!nntp-hub.barrnet.net!nntp-sc.barrnet.net!ratatosk.yggdrasil.com!hpa From: hpa@asgard.yggdrasil.com (H. Peter Anvin) Newsgroups: comp.os.linux.help,comp.os.linux.misc,aus.computers.linux Subject: Re: NFS sucks (was Re: Pentium-90 box for Linux?) Date: 16 Feb 1995 12:00:11 GMT Organization: Yggdrasil Computing, Inc. Lines: 24 Message-ID: <hpa.2f433d11.Linux.is.free@asgard.yggdrasil.com> References: <1995Feb6.094005.40@nntp.brisnet.org.au> <3hngrg$s86@inferno.mpx.com.au> <3hqcv9$qho@bunyip.cc.uq.oz.au> <PREP.95Feb16015835@yarrow.wt.uwa.edu.au> Reply-To: hpa@yggdrasil.com (H. Peter Anvin) NNTP-Posting-Host: asgard.yggdrasil.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-PGP-Key-Available: finger hpa@ahab.eecs.nwu.edu