From owner-freebsd-questions@freebsd.org Sun Sep 18 12:14:10 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75FFBBDFC0F for ; Sun, 18 Sep 2016 12:14:10 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 103182E3 for ; Sun, 18 Sep 2016 12:14:10 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x22d.google.com with SMTP id w84so33081337wmg.1 for ; Sun, 18 Sep 2016 05:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=AawvuiKBGRSV7Wz6AKQKQ0T1GsXK28HTI/TS6ZNNPpc=; b=SzW1QtPDaNWptKFJIXlSOM4j54I7bQKy2d4Emd+5OW0m+TmbDlCG7opKYv8SfZ+Gq5 uW0TTC2PPCvax9lSbOF414odZ5VmYh1r+nS1DCEdOEDUHareETx5cMK9uaDzwgmGUFld QbizocgThvRTPTTBdfR/qIRAhczkWE4MYY7JPN1TkfGE7TSLGYKIX5X3wTVzQIFayTz/ GSJUwbvIren+f0teTPCWA7FYs7KGGLfsvuqtWVAeYhlnNtFuSD7jlwWxMd4SFQpd0Uuv Zk6HvxtSLstI0sEshLVGDzhmr2ewzm+2/n3yuCvpc/DS5StBbiyo409NLxT1ZDbDly6d HvNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AawvuiKBGRSV7Wz6AKQKQ0T1GsXK28HTI/TS6ZNNPpc=; b=YF6kY5N7QYXV8DYdM+Q0EARz2yLbssrD4NevTRmsh5oF56ShT8WeWQcQNFHghlQM+9 cABOZkCHQfJrE1isHKSbq8zq366mVGg2TI5KFcCaC2ehKEeyS+iLG/U8IVUykNr1F0ae 4stHWkcYuGp/Vm95UObnJVnh6PwP4zvm53JNA9TPQxQEojIaI6vgpxhnGjYLELwHjO1D lm26W1N2v4fU91DEc3lN2ps5/UHFNYIDVh+w3JscnjjrksSaBXdTH3BQMb5Q5n0VE7us 007cRYbCJcukn/Uv+SQyu4SeMmlarYtir1mT7jGjelsKdsMqyNKA8Nw+HcYd0Evem95d hHng== X-Gm-Message-State: AE9vXwM1r7jI4hF1AjHkMIG9adZcM9E//93P+YElhQ0LO+50mEgO/dlFTFJ66vmZsfYneA== X-Received: by 10.194.84.67 with SMTP id w3mr20807589wjy.148.1474200848380; Sun, 18 Sep 2016 05:14:08 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id k2sm16638570wmg.23.2016.09.18.05.14.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Sep 2016 05:14:07 -0700 (PDT) Date: Sun, 18 Sep 2016 13:14:03 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Stupid question regarding reboot and poweroff Message-ID: <20160918131403.49fd438e@gumby.homeunix.com> In-Reply-To: <20160918102949.GA90101@becker.bs.l> References: <20160918090323.GA69189@e733> <20160918102949.GA90101@becker.bs.l> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2016 12:14:10 -0000 On Sun, 18 Sep 2016 12:29:49 +0200 Bertram Scharpf wrote: > On Sunday, 18. Sep 2016, 12:03:23 +0300, Aleksander Alekseev wrote: > > Is there any difference between executing `poweroff` and `shutdown > > -p now` or executing `reboot` and `shutdown -r now` ? > > `poweroff' is a hard link to `shutdown'. In general you can't infer from that that they behave the same. It's not uncommon that similar utilities are implemented in the same binary, and then behave differently according to how they are invoked, e.g. less and more.