From: s...@signature.invalid (Douglas Wells)
Date: Tue, 2 Oct 2007 22:39:06 -0400 (EDT)
Local: Tues, Oct 2 2007 10:39 pm
Subject: Re: Why a dot file cannot be deleted after running a Java program?
In article <fdu80m$bf...@news.nems.noaa.gov>, www <w...@nospam.com> writes:This file is an artifact of the NFS (network) file system that you
> I have noticed that after running my Java program, there is a dot file
> that cannot be deleted. (I use linux). Following is the screen shot:
> $ls -a
> I guess that I didn't close some PrintWriter or what. The Java program
are almost certainly using. This type of file entry is created
when a normal file is deleted (unlinked) while some process
(presuming your Java program) has it open. This is a common
strategy for creating of temporary files by UNIX programs. If you
were using the file on a local file system, the removal would
simply result in a "file" that still existed but did not have a
file system entry. The advantage of this strategy is that the OS
will remove the "file" when the file is closed -- even if the close
is caused by an abnormal exit.
NFS was designed as a "state-less" file system. This has several
It should go away when the process completes, but if it doesn't
Just a little more detail if you're interested: The use case to
Here are some random references that Google came up witH;
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.