[comp.sys.sgi] Bizarre .nfs* occurrence

seth@miro.Berkeley.EDU (Seth Teller) (01/25/91)

>had to have appeared in mid-remove.
>	I looked in the directory and saw ".nfsE5E79".
>
>	I don't like this much.  Anyone seen this before?
>Loki Jorgenson              / /          \ \  node:  loki@Physics.McGill.CA

it's nfs 'marking' your directory (obvious analogy to dogs and fire
hydrants left partially to your imagination).  at berkeley we cross-
mount sgi and bsd file systems, so who knows whose nfs is at fault.
but apparently these things can hang around for quite a while; 
here's ~550k of such cruft i found today, more than six months old:

% find . -local -name '.nfs*' -exec /bin/ls \-l {} \;
-rw-r--r--   1 seth user 295812 Jul  5  1990 ./inigo2/seth/fontstuff/.nfsD21141
-rw-r--r--   1 seth user 245760 Jul 15  1990 ./inigo2/seth/sethtools/.nfs596EF

for those who want to nuke all such .nfs* files:

% su
% cd /
% find . -atime +1 -local -name '.nfs*' -exec /bin/rm \-f {} \;

the -atime +1 is to leave alone those files younger than one day, in case
nfs really needs them for something timely.

seth