On Fri, 2 May 2008, [EMAIL PROTECTED] wrote:

When I use "ln" command to create a hard link in NTFS file system. If I delete one of the file, and use "ls -l" to list the files the link counter still the same.

Either ln is not working, or the underlying kernel is not responding correctly to the system calls which ln issues. Can you find out using strace whether ln's call to unlink(2) is returning successfully, and if the following stat/fstat shows the decremented link count?

If not, then the NTFS driver (NTFS-3G?) or filesystem is probably at fault.

And I suggest if users use "ln" in NTFS, it will create a junction point.

Perhaps a good idea, but something that should be handled in the NTFS driver rather than ln.


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to