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

Re: a place for a package directory in root

Joerg Sommer <joerg@alea.gnuu.de> writes:

> Hello Goswin,
> Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> wrote:
>> Petter Reinholdtsen <pere@hungry.com> writes:
>>> [Goswin von Brederlow]
>>>> Nothing is available before init is started, init is always the
>>>> first thing to start, even on initrd or initramfs (some archs call
>>>> init linuxrc though).
>>> You suspect you miss the point.  bootchartd is a init _replacement_.
>>> We use it by passing init=/sbin/bootchartd to the kernel.  It starts
>>> recording statistics about the boot, and then run init to continue the
>>> boot process.
>> Then you are init. :)
> Yes. :)
>> My suggestion still stands. You have to mount /run or /dev/shm to make
>> a place that is writable.
> I think /dev/shm is not usable, because the devfsd init script might
> mount a new filesystem on /dev/ which would cover my mounted /dev/shm.
> What about /run/? Can a new package simply use/create /run? I would add
> /run to the directories of the package and mount a tmpfs there at
> startup. Is this alright?
> Good night, Jörg.

Do it and get enough things to use it. Then there is no stopping you.

Good candidates are mount and resolv-conf.


Reply to: