bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BugReport about "ln" command worked in NTFS


From: Philip Rowlands
Subject: Re: BugReport about "ln" command worked in NTFS
Date: Tue, 6 May 2008 14:09:14 +0100 (BST)

On Fri, 2 May 2008, address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]