[openbeos] Re: FS question

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 16 Jan 2002 19:21:59 +0100 (MET)

En réponse à guillaume.maillard@xxxxxxxxxxx:

> The problem is to make the StorageKit on other FS than BeFS ... FAT..
> ReiserFS..
> ie, how to solve the problem of node_refs and entry_refs
> My problem is : how can I initialize eg.: a BDirectory with entry_ref?
> get_ref_for_path can tranlate from filename/path to inode and device
> number with stat(). it's easy. But I didn't find any reverse way to make
> an lookup/mapping from dev.inode number to
> path ( or fildescriptor is would be suitable)

Because it's not reversible. a file can have several names on the same device
(that's UNIXish stuff, it's called hard link), but all those entries in the
filesystem namespace share the same inode number.



> 
> Reagards,
> G
> 
> 
> 
> 
> 
> 
> 





Other related posts: