delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/23/18:21:28

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=PpDDb60
iEo1+mhYb+mTHG/QO7hm0GEABIcU6msE5VZv2KjlScD4HVfRPSa/VE06ah37iHza
bICbfvC5wTdHiST5tR4C455nJaQE2i7UcX+hhpVbcEP3lXhiBW9MGQtfYIdvB9Zb
Oxsv2xBLVR8skiOaokmdqP2IvxzSVY4PvL1w=
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:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=wxxoYTjviqDX3
sXiTUD3NYfjpHQ=; b=AP3SeFYST2rrRk/RdUc5aeqre+yUnKIYrWA7wvsDk6+ng
wNXirFA62uj1n8Zd+fqifC9PJqHvwQOo6IHqv1jAJCrHHxTg4Y7vnpLKH2kLC4BH
dJ2n7JeAxHfRfoVfeq4xCdphCan2RhNME6rI0nTdD5c9xESh8lhQp2IDvz1wac=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.112.129.137 with SMTP id nw9mr3112952lbb.56.1364077248371; Sat, 23 Mar 2013 15:20:48 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <514CE853.2000000@gmail.com>
References: <CAKf2h5Q7Ui7szcGKFMip5UUvurPnGTv=C=n-iXo8Wwo0qLP4YA AT mail DOT gmail DOT com> <514CE853 DOT 2000000 AT gmail DOT com>
From: Frank Fesevur <ffes AT users DOT sourceforge DOT net>
Date: Sat, 23 Mar 2013 23:20:17 +0100
Message-ID: <CAKf2h5SpNNQYZ8afr-4WRB+HVpOcR+mq_cTZwoQNOd=67_SMBw@mail.gmail.com>
Subject: Re: Fwd: reboot command behaves different on Linux
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>

2013/3/23 Anthony Geoghegan:
> 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.

It seems there is not such thing as a *general* shutdown command.
"Every" distribution has its own. Just picked three:
http://linuxmanpages.net/manpages/fedora18/man8/shutdown.8.html
http://manpages.ubuntu.com/manpages/precise/man8/shutdown.8.html
http://manpages.debian.net/cgi-bin/man.cgi?query=shutdown&apropos=0&sektion=8&manpath=Debian+6.0+squeeze&format=html&locale=en

Although they all agree on -r -h -H -P -k and -c. Also noticed that
the Fedora shutdown doesn't require the time option. It defaults to 1
minute.

> Having thought about it bit more, I'd like to suggest an upper case -H as
> the option for hibernate.

This would still conflict with the -H of the ones above, but I have no
problem with it. Anyone against changing hibernate to -H?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019