NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/39179: reboot -- -s and /boot.cfg don't seem to play nice together (it doesn't boot single-user)



>Number:         39179
>Category:       kern
>Synopsis:       reboot -- -s and /boot.cfg don't seem to play nice together 
>(it doesn't boot single-user)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 21 05:00:01 +0000 2008
>Originator:     George Michaelson
>Release:        Current
>Organization:
>Environment:
NetBSD snoid 4.99.70 NetBSD 4.99.70 (GGM) #3: Tue Jul 22 00:29:07 EST 2008  
ggm@snoid:/usr/obj/sys/arch/i386/compile/GGM i386
>Description:
reboot -- -s is meant to pass the -s flag to the boot. My hope was this would 
translate to a boot -s single user.

It looks like if you have /boot.cfg, then flags passed across the boot are 
silently ignored.

-G
>How-To-Repeat:
have /boot.cfg with a menu. try and send a boot -s across a reboot
>Fix:
not sure. should the .cfg check code always check if an argument was passed 
across boot?

which should take priority anyway?

if reboot -- -s can't work on i386 then maybe the man page should be updated 
instead?




Home | Main Index | Thread Index | Old Index