Hi, Am 12.01.2011 03:43, schrieb Clemens Zeidler:
Am 12.01.2011, 01:44 Uhr, schrieb Oliver Tappe <zooey@xxxxxxxxxxxxxxx>:used | by package manager] |---pkg-tree [mountpoint of system package-fs, contents of the | packages in /boot/common/packages appear here, the | folders follow "Haiku filesystem hierarchy" (to be | defined, an example given below)] |-----add-ons |-----appshow does the th pkg-tree mount point exactly look like? Does every package has its own directory or do multiple packages could share a directory. E.g. the libs directory is populated by multiple packages. In this case what happens when there is a file conflict? For example two packages want to install the lib libexample.so in libs.
The contents of the directories under the packagefs mount point are merged from all packages. IIRC packagefs handles conflicts, and the package which is encountered later, wins, but it could be the other way around. Of course packages are not supposed to provide third party contents and install them on a system level. There needs to be some maintainance from the package builders, discussing this point is moot, since there are a random number of ways of how a package could violate the system.
Best regards, -Stephan