[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: Miklos Szeredi
Subject: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers
Date: Fri, 29 Sep 2006 20:05:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060406 Firefox/ (Debian-1.5.dfsg+

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

BTW, POSIX isn't all that clear about inode numbers.  Take this example:

touch x
rm x
mkfifo y

Is x and y the same file?  Obviously not.  Can they have the same inode
number?  Yes, filesystems do reuse inode numbers.

So is st_ino a unique identifier for a file within a filesystem?
Yes, but only at a given instant.  Of course you may know that a file has not
been deleted by holding a reference to it (file descriptor or cwd).  Otherwise
inode numbers are hints at best.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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