Problems at shutdown

Andy Green andy at warmcat.com
Wed Nov 29 03:14:48 PST 2006


Denis Vlasenko wrote:

>>> errors, esp the umount -a -r does not work here (try it on the 
>>> commandline).

>> I get my message from rcK (hooray).  But I don't hear anything from 
>> anything else, including umount.  I tried it on the command line and it 
>> just gave me the usage information.  I understand what this is trying to 
>> do here (in the inittab) - how can I get it to work?

> Buggy init, probably. Somebody need to stick a lot of printf's in it,

I found out why umount -a did not work for me and probably for Peter -- 
there is a config option needed to enable it 
(ENABLE_FEATURE_UMOUNT_ALL).  Linux System Utilities | umount | umount 
-a option.  The umount --help shows the -a whether it is enabled or not 
at the moment.

While mentioning that init --help does not document -q which is needed 
to read in /etc/inittab after changes.

I attach a tiny patch to disable the -a help on umount when not 
configured, and to document -q on init.

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.2.2.1-init-and-umount-usage.h-improve.patch
Type: text/x-patch
Size: 1220 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20061129/d0660b1e/attachment.bin 


More information about the busybox mailing list