[haiku-development] Re: Package management - folder hierarchy

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 11 Jan 2011 16:03:11 +0100

> However, since a mounted package-fs tree is immutable, we need to do 
> something in order to make it possible to write settings and data files. I 
> can see two possibilities to do so, one being to implement some kind of 
> union-fs which would be mounted on top of a package-fs tree and which would 
> copy-up all files that are opened for writing. The second approach is to 
> restructure the filesystem tree to facilitate mounting of package-fs while 
> still supporting writable settings and data files.
> We do not have a union-fs implementation currently (and during my research 
> I've read educated comments about why those are surprisingly hard to get 
> "right"), so I started looking into the restructuring approach.

Just a quickie, as I don't feel like reading the whole yet...

Are you meaning to let applications write to their app folder ?
This should be forbidden anyway, and is not supposed to happen with a multiuser 
setup.

Also, how does it scale with respect to queries ?

François.

Other related posts: