X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; q=dns; s=default; b=QmAOWogFUjPo5CVKnVX+YkXGhIHuE
	zn+uEvGscSqsifFU0sU6xs1vMhn3FWjU+DTmVbdumEGY4RJhsKgnjU8lTSL67a+q
	biZMZ4tqzesKgi+iUl8JpiCBnH21GEkh8536JcmN0cSF1/Fu2teucOKx73OK+w1I
	dwodtR/aMYU5yA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; s=default; bh=O6ZcSJ38Xhka/pIUSbhD4uUE1d0=; b=lo8
	B+0F4o3qapHUqcdDEt4CcIYDf0XscTerHvQ99sBWjb9KMKl06kHFC4qba1mWDHWm
	svcHmx+wGMSiGikF05Ldl9hLGpsu4OAvzT08+YKRCYVQMR65W47mVfv5zmpcOxz7
	gyExcNssN9YlJcfawiQibGnKMGXVmHghpQropDjY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Received: by 10.112.129.137 with SMTP id nw9mr247811lbb.56.1363938274144; Fri, 22 Mar 2013 00:44:34 -0700 (PDT)
MIME-Version: 1.0
From: Frank Fesevur <ffes@users.sourceforge.net>
Date: Fri, 22 Mar 2013 08:44:03 +0100
Message-ID: <CAKf2h5Q7Ui7szcGKFMip5UUvurPnGTv=C=n-iXo8Wwo0qLP4YA@mail.gmail.com>
Subject: Re: Fwd: reboot command behaves different on Linux
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1

2013/3/21 Anthony Geoghegan:
> Nice work, Frank. I took a quick look at the man pages. The only improvement
> I'd suggest is that the first sentence of the Description for reboot.8 would
> read better by adding "the user" like so:
>
> Change
> "These programs allow to reboot, halt, poweroff, hibernate or suspend the
> system."
> to
> "These programs allow the user to reboot, halt, poweroff, hibernate or
> suspend the system."

Sounds good. I guess Corinna will fix this in the CVS for a next version.

> I also noticed that "shutdown -h" acts differently on Linux. :)

Yes, that bugs my for quite some time too, is -h for halt or
hibernate? Now the -s is the same as the Windows shutdown.exe. The
changes are really straight forward. -b could be the new short option
for hibernate, doesn't interfere with the main linux shutdown options
or the windows shutdown. Leaving -s as it is for backward/windows
compatibility reasons and adding -h, --halt for shutdown and -P,
--poweroff. But then, having three options that actually don't do
anything, just for the sake of compatibility? EWX_POWEROFF is the
default action already. That's why I left those shutdown options as
they are. But I gladly write the patch if nobody has objections
against changing -h.

I'm also considering adding possibility to customize the shutdown
message: shutdown -rf 22:00 "Rebooting because of Windows Updates".
Who knows...

And does anybody ever use that reason thing on the windows shutdown?

Regards,
Frank

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

