Pending patches

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Nov 13 08:49:25 UTC 2008


On Thu, Nov 13, 2008 at 09:32:19AM +0300, Vladimir Dronnikov wrote:
>> > (or read -t 5 AREYOUSURE) for reboot/shutdown.
>> If admin said to reboot, we can presume he knows what he is doing.
>
>
>"Nobody's perfect"...
>
>> * Is there a way to call kernel's emergency_{sync,remount}() from
>> userspace?
>> > To get rid of userspace shutter-down.
>> Even if it is there, that is a quite dirty method.
>
>
>I still see "umount -a" is barking "Device is in use" at every filesystem
>I'm trying to umount from reboot.sh.

$ tail target/generic/target_busybox_skeleton/etc/inittab 

# Stuff to do for the 3-finger salute
::ctrlaltdel:/bin/echo "go away"

# Stuff to do before rebooting
null::shutdown:/usr/bin/killall klogd
null::shutdown:/usr/bin/killall syslogd
null::shutdown:/sbin/swapoff -a
null::shutdown:/bin/umount -a -r



More information about the busybox mailing list