2004-09-01 13:59:55

by Peter Astrand

[permalink] [raw]
Subject: Re: ncpfs problems

> > * Some files are impossible to remove, for example the files in
> > ~/.kde/socket-dhcp-253-234: An unlink returns EBUSY:
> >
> > unlink("kdeinit_maggie_2") = -1 EBUSY (Device or resource busy)
> >
> > Do you have any ideas what can cause this? Do you consider ncpfs stable
> > enough to be used for the home directory?
>
> File is open... You cannot remove opened files from Netware filesystem.
> I cannot think about any other reason why you should get EBUSY.

It might have something to do with open files, but in that case, the
behaviour is not consistent. I've just did a quick test with "cat
> foo.txt", and was able to delete the file while it was still open:

# ls -l /proc/21642/fd
...
l-wx------ 1 adam 1000 64 Sep 1 15:39 1 -> /home/adam/foo.txt (deleted)
...

I'm using 2.6.8.1.


(Please CC me on this topic.)

Regards, Peter