[haiku-development] Re: Removing /boot/common

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 29 Sep 2013 12:31:25 +0200

On 09/23/2013 12:38 AM, looncraz wrote:
I've always viewed /boot/system as being essentially read-only except to
the system, /boot/common has read/write, and each user has their own
directory but can't access the others.

Yep, that was the idea originally.

I like it that way...

I did, too, but, as explained, it simply cannot work that way.

Given that the discussion has died down and I haven't seen any technical argument against it, I would like to go ahead and start the change. There are quite a few components affected, so this task may take a bit to complete. Fortunately it should be possible to do that in multiple steps:

1. Add write support to system and reroute the writable directories from common to system (find_directory(), <headers/private/system/directories.h>, hard-coded paths).

2. Remove common as a package installation location by adjusting build system, package manager, package kit, packagefs, etc.

3. Reroute all common paths to system (find_directory(),...) and remove /boot/common.

4. Remove support for common (search paths etc.) from all components.

CU, Ingo


Other related posts: