01-21-06 07:49 AM
In article <lnslrifxdw.fsf@nuthaus.mib.org>,
Keith Thompson <kst-u@mib.org> wrote:
> As the name implies, that's a file created by an NFS server.
>
> On a locally mounted file system, removing a file removes the
> directory entry, but doesn't necessarily delete the file itself; the
> file remains on the disk as long as there's a hard link to it, or as
> long as some process has it open. In the latter case, the file still
> occupies space on the disk, but there is no directory entry for it and
> it has no name. When the process using the file closes it, the file
> itself is removed (i.e., the disk space is deallocated).
>
> If you remove a file on an NFS server that another process is using,
> the server needs to keep the file so the process can continue using
> it, but since NFS doesn't provide access to the raw disk, it needs to
> assign a name to the hidden file. You removed the directory entry for
> ".nfs735F", and the server immediately created a new directory entry
> ".nfs835F". It will continue doing so until the file is no longer
> being used.
>
> (I'm not an expert on NFS; I'm sure someone will correct me on
> whatever details I've gotten wrong.)
You're pretty close. It's created by the NFS client -- the NFS server
has no way of knowing what processes are using the file.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
[ Post a follow-up to this message ]
|