X-Recipient: archive-cygwin AT delorie DOT 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=O8QEiu3L10ck7N/I10Tmg5hcLBXB4V+Mtr4Qa2eFsUK 0lDwqUrPU8jEN6kgv52eTV5hbXSFveMFAw4/MONMUq7c0j3oAi/qgbD3UaaIl1Bk Ko7gL+5vvSn1gc2QWE0Jqo5oYQWoyUFQQrLHSmWx5MbbVAvwqiwpml3EVrgPExsY = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=aGj7G6tYhhEy8BlA4Y1NU8l28tA=; b=y2HLYSPOodL0NYlDD oVm5Kkq/fcUYhH16HbiEyjFMHfEQLTlKyOTf5nH1x6QbFQL7iKgYkWO5kM83r/Ki SeWhScLxU4soD3EArrPkll8sWTALC/ME7uivpBeDjPpRe8ngt33D7G/LDs1IS3RC V1b2n0DcOBi/zsavAeqD8jqxZI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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.180.36.48 with SMTP id n16mr1229170wij.30.1363994709186; Fri, 22 Mar 2013 16:25:09 -0700 (PDT) Message-ID: <514CE853.2000000@gmail.com> Date: Fri, 22 Mar 2013 23:25:07 +0000 From: Anthony Geoghegan User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Frank Fesevur , cygwin AT cygwin DOT com Subject: Re: Fwd: reboot command behaves different on Linux References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > 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 thought about it for a while myself before posting but I concluded your choice was a good one: the usefulness of -h for hibernate probably outweighed the benefits of retaining compatibility with a more traditional (BSD) Unix shutdown. I checked to see if POSIX had anything specified but it's not concerned with the shutdown command. Having thought about it bit more, I'd like to suggest an upper case -H as the option for hibernate. Keep up the good work, Anthony -- 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