[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packages being essential but having stuff in /usr/?!

Christoph Anton Mitterer <calestyo@scientia.net> writes:

> As far as I understand - please correct me if I'm wrong - the root-fs is
> just guaranteed, to have /bin/, /sbin and /lib, right? Neither /var
> nor /opt.
> What about /etc?

I'm not sure, but I believe you can count on /etc always being available
(although possibly read-only).  For /var, you need to depend on $local_fs.
For /opt, I would depend on $remote_fs.

> Also, right after the init system starts, neither /proc, nor /dev, nor
> /sys are there, right?

No idea.

> Would it be a good idea, to add new virtual facilities like $dev, $proc
> or so?

How many init scripts need them?  In other words, is there a concrete
problem that you're trying to solve?

> That way init-scripts could try to even restrict their dependencies
> more, and don't need to find out the current init script (e.g.
> mountdevsubfs.sh)

Most init scripts should just depend on $remote_fs.  Those that don't
should almost always depend on $local_fs.  Init scripts depending on
neither are probably being maintained by the boot system maintainers, who
know exactly what the sequencing is.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: