• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can i rely on inode numbers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can i rely on inode numbers?


  • Subject: Re: Can i rely on inode numbers?
  • From: Quinn <email@hidden>
  • Date: Fri, 11 Apr 2008 10:47:47 +0100

At 11:25 +0200 11/4/08, Lutz Helwing wrote:
my question is if i can be sure that inode numbers definitely don't change. Background is i want to keep a list of files but instead of storing paths just keeping the inode numbers and to reference to these files with the stored numbers.

Do you care if the inode numbers persist across unmount/remount? If not, it's reasonable to assumes that the numbers persist; if a VFS plug-in didn't maintain that invariant, all sorts of things would go wrong.


OTOH, if you care about unmount/remount case, things get more complex (-:

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Can i rely on inode numbers?
      • From: Jim Luther <email@hidden>
    • Re: Can i rely on inode numbers?
      • From: Lutz Helwing <email@hidden>
References: 
 >Can i rely on inode numbers? (From: Lutz Helwing <email@hidden>)

  • Prev by Date: Can i rely on inode numbers?
  • Next by Date: Re: Can i rely on inode numbers?
  • Previous by thread: Can i rely on inode numbers?
  • Next by thread: Re: Can i rely on inode numbers?
  • Index(es):
    • Date
    • Thread