Re: Sharing a subdirectory of /usr/share between multiple packages ?
On 09-May-07, 06:58 (CDT), Petter Reinholdtsen <pere@hungry.com> wrote:
>
> [Steve Greenland]
> > There's no requirement that /usr contain only pre-packaged info;
> > most of the wrappers that download binaries (e.g. flash) put them
> > under /usr.
>
> It might not be a requirement, but it is a smart thing do to. And as
> far as I know, the wrappers downloading binaries are creating a
> package out of the binaries and installing this package to make sure
> the files in /usr/ are registered in the packaging system.
>
> > /var is wrong. The data is read-only and architecture independent.
> > That's the very definition of /usr/share.
>
> I almost agree. But if the data is updated using scripts and
> downloaded from the web, they are not really read-only. :)
Well, if they're updated using apt-get and downloaded from the web,
they're not really read-only, either.
"Read-only", in the context of the FHS, regards normal operation. If the
data files are not modified by normal processing of the of the binaries,
and mount /usr read-only causes no problems for those binaries, then the
data is read-only. If you are going to count installation, then nothing
is read-only.
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
Reply to: