[Top][All Lists]

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

[bug #17877] Invalid "No such file or directory" error on filesystem wit

From: Paul Eggert
Subject: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers
Date: Wed, 04 Oct 2006 16:49:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20060902 Firefox/1.0.4 (Debian package 1.0.4-2sarge11)

Follow-up Comment #9, bug #17877 (project findutils):

Miklos Szeredi <address@hidden> writes:

> What the patch does is to release the inode as
> soon as there are no more references to it.

Sorry, but that's going to break lots of code.

It's not just gnulib; it's lots of other uses as well.  For
example, some shell scripts use "ls -i" to get a file's
inode number N, and "find -xdev ... -inum N" to find all
hard links to the same file.

Perhaps POSIX isn't clear enough on the subject, but the
intent was always that a file always retains the same inode
number, even if it's renamed or linked.

If some Linux-based file systems can't provide stable inode
numbers, they should be fixed so that they do.  It shouldn't
be that hard.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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