On Mon, Apr 30, 2012 at 11:59:02AM -0400, Mike Frysinger wrote:
> the fact that the script leaves your system in a hard to recover state is 
> what 
> i'm whining about, not that udev requires devtmpfs.

So why did you decide to whine instead of opening a bug? :p

> /dev/pts isn't created, thus devpts doesn't get mounted, thus you cannot log 
> in to your system to fix it.  would also be trivial to run the all of three 
> commands so people could recover:
>       mount -t tmpfs dev /dev
>       busybox mdev -s
>       mkdir /dev/pts

Yes, I could do this.

> we already have examples of the init scripts modifying /etc/issue to notify 
> login entry points that their system needs manual attention to recover.

This part can't happen in the udev init script since / is ro when it is
run. Doing something in udev-postmount is also eroneous because that
assumes that the user is booting to the default runlevel which they may
not be.

The best thing I can think of to do is to just log a message about it in
udev-mount and fail which will cause udev to fail.

William

Attachment: pgpyzoloSPqGp.pgp
Description: PGP signature

Reply via email to