On Thu, May 21, 2009 at 8:27 PM, Dan McDonald <danmcd at sun.com> wrote:
> On Thu, May 21, 2009 at 08:24:35PM +0200, Martin Bochnig wrote:
>> On Thu, May 21, 2009 at 8:11 PM, Martin Bochnig <martin at martux.org> wrote:
>>
>> > Yes, I added an option to reboot(1).
>> > Now that fast-reboot is the default it is a good idea to have a cmd
>> > line option to enforce a traditional cold-reboot through POST and
>> > BIOS.
>> > Without using svcs every time.
> <mucho snippage deleted!>
>
> After finding the fast-by-defaut flag-day page, I knew what you meant anyway.
>
> Please confirm/deny that "reboot -p" doesn't already do what you want.
>
> Dan
>


Hello Dan,

I just performed tests on my FSC AMILO Pa3515 Laptop with SXCE snv_114 .
You are totally right: The option I suggested to add to reboot(1M)
already exists and works well.

# reboot -p

brings the user out of the cycle of exclusively doing (the otherwise
nice) soft-reboots and initiates a traditional cold-reboot through
POST and BIOS and Grub.

So much excellent. Nevertheless, still 3 ideas:

The reason why I wasn't aware of the "-p" option before reviewing the
code was, because the reboot(1M) man page completely lacks its
presence.
In contrast the usage information mentiones it already:

/usr/sbin/reboot  ...
usage: reboot [ -dlnq(p|fe:) ] [ boot args ]

So
#0: Update reboot(1M) and shutdown(1M) man pages.

#1: When I say /usr/sbin/halt I do not want a complete freeze. In the
past the user got a message stating "Press any key to reboot".
Something like that would be nice.

#2: In addition to #1 Ctrl+Alt+Del should reboot the system.
Especially on Laptops the absence of the functionality described in #1
and #2 can be annoying, as not only there isn't a reset button, but
the user might run his Laptops as headless servers, as I do (or at
least with external LCD). So she needs to open the display in order to
press the power-button for a switch-off, which may even be quite tiny
and un-handy. All that for a simple reboot, after she tried out halt.

I took the freedom to forward this message to list in order to "prove"
that I'm also involved in scratching some technical issues.
This shouldn't be a problem, as we weren't talking about secret topics.

A pity I cannot implement my idea, because you at Sun have been
quicker once again    ;-)


Nasdorovje (==Cheers),
%martin

Reply via email to