delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/19/08:34:40

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=dkim1; b=KP5EkCB1yrPuLfnMtWe9rmiLXdZUeMTkziuss45MZuLfI
XJ0Oxk66Ae177E+RFAz5Q8ekYDdpaYuW3azFFR15kiTqvbj+4PiZbSHqw+3Zwlyw
hpmbEdjCo8w66zObCKFt9A77e1NAOEZIF5tHnjFj1Nm9hNi3G46DfopbznJ/Sc=
DKIM-Signature: v=1; a=rsa-sha1; c=simple; 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=dkim1; bh=5XoYMUy827Cg8JNen+GiUNF8tvc=; b=qIr5lEF+f+kIbfNAm8a
wm/jEFAE6Qg4Oupxwb47toCh1dDGnyiui7MyFxxwUvDSNb4RhLLnolrsqOZjXiWh
JE3v0OGRDDfskogVN9tSqiRPSqDQNudsAIXvRxpm6zBFZ7SO7PqBM9lvYMzQvtZ3
TAIdsiKmtbUdymXPcSF7COhE=
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-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_PASS
X-Spam-Check-By: sourceware.org
X-Received: by 10.52.89.48 with SMTP id bl16mr1540835vdb.120.1363693907882; Tue, 19 Mar 2013 04:51:47 -0700 (PDT)
Message-ID: <51485151.5010001@gmail.com>
Date: Tue, 19 Mar 2013 12:51:45 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: reboot command behaves different on Linux
References: <CAKf2h5TZsPKE-ggz+HsARnybJamzb6tmkuFrQDO37gfhuFQkqA AT mail DOT gmail DOT com>
In-Reply-To: <CAKf2h5TZsPKE-ggz+HsARnybJamzb6tmkuFrQDO37gfhuFQkqA@mail.gmail.com>

On 3/19/2013 11:40 AM, Frank Fesevur wrote:
> Hi,
>
> I noticed that the cygwin reboot works different then the reboot
> command on my (debian based) Linux machines. The cygwin reboot
> requires a time on the command line while the reboot on Linux doesn't
> accept a time and reboots immediately.
>
> Is there a reason why this is? I can create a patch, if wanted/needed.
>
> Regards,
> Frank
>

reboot on cygwin is just a link to shutdown


$ shutdown --help
Usage: shutdown [OPTION]... time
Bring the system down.

   -f, --force      Forces the execution.
   -s, --shutdown   The system will shutdown and power off (if supported)
   -r, --reboot     The system will reboot.
   -h, --hibernate  The system will suspend to disk (if supported)
   -p, --suspend    The system will suspend to RAM (if supported)
   -a, --abort      Aborts execution of formerly started shutdown.
   -x, --exitex     Use ExitWindowsEx rather than InitateSystemShutdown.
       --help       Display this help and exit.
       --version    Output version information and exit.
[cut]


--
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