Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 1995 19:11:53 -0500
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        "M.C Wong" <mcw@hpato.aus.hp.com>
Cc:        freebsd-questions@freefall.cdrom.com (freebsd-questions@freefall.cdrom.com)
Subject:   what are these .nfs* files ?
Message-ID:  <9501180011.AA25382@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199501172326.AA259605163@hp.com>
References:  <199501172326.AA259605163@hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 18 Jan 1995 10:25:11 EDT, "M.C Wong" <mcw@hpato.aus.hp.com> said:

> Hi,
>   I wonder what are those $HOME/.nfs* files for ? I mean how do
>   they relate to nfs mounted filesys ?

You get these when one process deletes a file while another process
(on the same machine) is still accessing it.  From nfs_vnops.c:

/*
 * nfs file remove call
 * To try and make nfs semantics closer to ufs semantics, a file that has
 * other processes using the vnode is renamed instead of removed and then
 * removed later on the last close.
 * - If v_usecount > 1
 *        If a rename is not already in the works
 *           call nfs_sillyrename() to set it up
 *     else
 *        do the remove rpc
 */

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501180011.AA25382>