[Pkg-sysvinit-devel] need advice: best place to mount /dev/pts early to allow startpar boot concurrency
maximilian attems
maks at debian.org
Thu Jan 1 22:35:47 UTC 2009
On Thu, 01 Jan 2009, Petter Reinholdtsen wrote:
> [Kel Modderman]
>
> > So, initramfs is one possible place where /dev/pts can be mounted
> > before root init takes over, and this works. I confirmed this by
> > modifying /usr/share/initramfs-tools/scripts/init-bottom/udev to
> > mount /dev/pts after moving /dev/ tmpfs to $rootmnt and rebuilding
> > initrramfs cpio.
>
> As not all systems uses initramfs, this is not an optimal solution. :(
ack,
just read bits of startpar(8), but init stuff should better be done
after run-init called the relevant init(8).
> > The question I would like to ask is, where in your opinion is the best place
> > to mount /dev/pts:
> >
> > 1) by the udev init-bottom script
> > 2) by a new script which is run in init-bottom after the udev script
> > 3) somewhere else, maybe /etc/init.d/rcS
>
> Another option is to make all scripts executed before /dev/pts/ is
> mounted "interactive", ie make sure none of them run in parallel.
> Then startpar do not need to create pseudo terminals and we avoid the
> problem.
without much knownledge of startpar favouring the last 3 and 4.
happy vacations
maks
More information about the Pkg-sysvinit-devel
mailing list