Re: ncpfs problems

From: Peter Astrand
Date: Wed Sep 01 2004 - 09:02:38 EST


> > * 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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/