[haiku-commits] Re: r40225 - haiku/trunk/src/add-ons/kernel/file_systems/packagefs

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 12 Jan 2011 21:28:36 +0100

On 2011-01-12 at 21:11:14 [+0100], zooey@xxxxxxxxxxxxxxx wrote:
> Author: zooey
> Date: 2011-01-12 21:11:13 +0100 (Wed, 12 Jan 2011)
> New Revision: 40225
> Changeset: http://dev.haiku-os.org/changeset/40225
> 
> Modified:
>    haiku/trunk/src/add-ons/kernel/file_systems/packagefs/Volume.cpp
>    haiku/trunk/src/add-ons/kernel/file_systems/packagefs/kernel_interface.cp
>    p
> Log:
> * added support to packagefs for picking up its volume name from the
>   mount parameters - there doesn't seem to be a way for a filesystem
>   to access the path to which it was mounted, is there?

Not in the mount() hook. Later vfs_entry_ref_to_path() could be used. Since 
mount points can be moved like any directory, the path isn't immutable, 
though.

Whatfor do you think of using it?

CU, Ingo

Other related posts: