On Sun, Feb 12, 2012 at 09:33:19PM +0000, Robert Millan wrote:
> El 12 de febrer de 2012 15:18, Roger Leigh <[email protected]> ha escrit:
> > tags 659480 + pending
> > thanks
> >
> > On Sat, Feb 11, 2012 at 01:50:30PM +0100, Robert Millan wrote:
> >> On GNU/kFreeBSD there's no pre-init ramdisk. When init is called, /proc
> >> hasn't been mounted yet, so before calling startpar you need to mount
> >> /proc.
>
> Uhm, I just realized that this code is supposed to be idempotent,
> otherwise /proc is mounted multiple times. Please could you make
> that:
>
> if ! test -e /proc/stat ; then
> ...
> fi
>
> instead?
OK. It's now:
if ! test -e /proc/stat; then
if [ "$(uname)" = "GNU/kFreeBSD" ] ; then
# startpar requires /proc/stat
mount -t linprocfs linprocfs /proc
fi
fi
Is this OK?
BTW, #542953 is still open with kFreeBSD patches, but it looks quite
outdated and will no longer apply. Can this be closed, or are there
any unresolved kFreeBSD issues here which need attention? If there
are, could you possibly take a look, or else close the bug?
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel