• [DEBIAN-BR] halt vs shutdown

    From Gilberto F da Silva@21:1/5 to Leandro on Fri Sep 10 15:00:02 2021
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Wed, Sep 08, 2021 at 05:33:02PM -0300, Guimarães Faria Corcete DUTRA, Leandro wrote:
    Il giorno mer 8 set 2021 alle ore 16:03 Vitor Hugo
    <vitorhugo60@hotmail.com> ha scritto:

    Boa tarde, o halt seria hibernar a maquina?

    Não. Como disse, é a mesma coisa que os outros, mas sem desligar a >máquina. Ou seja, encerra o sistema operacional, mas deixa a máquina >ligada. Não vejo muita utilidade, na minha ignorância.

    Shutdown é uma palavra muito comprida para quando você
    morrendo de sono e só quer desligar a máquina para ir
    dormir. No Slackware o halt desliga a máquina.
    - --

    Stela dato:2.459.468,023 Loka tempo:2021-09-10 09:33:35 Vendredo
    - -==-
    "O livre arbítrio na realidade não é livre, pois é uma coação você só pode escolher dois caminhos, um é bom e outro é ruim. Livre arbítrio
    mesmo é poder escolher muitos caminhos, todos bons".
    -- Perrone
    -----BEGIN PGP SIGNATURE-----
    Comment: +-----------------------------------------------------+
    Comment: ! Gilberto F da Silva - ICQ 136.782.571 !
    Comment: +-----------------------------------------------------+

    iF0EARECAB0WIQR6BybJIKBLy3+8xXcnG6Ba0yEbDgUCYTtSKAAKCRAnG6Ba0yEb Dp+TAKCUn7jAbgIj1zQLBEKlAOerSR9IGgCg7LaJa6lo9rbuF5oeOiblnHNtdfg=
    =AQy4
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Leandro =?ISO-8859-1?Q?Guimar=E3es?@21:1/5 to All on Fri Sep 10 17:40:01 2021
    10 set 2021 9:40 −3, Gilberto F da Silva:
    No Slackware o halt desliga a máquina.

    man halt:

    ‘Note that on many SysV systems halt used to be synonymous
    to poweroff, i.e. both commands would equally result in
    powering the machine off. systemd is more accurate here, and
    halt results in halting the machine only (leaving power on),
    and poweroff is required to actually power it off.’


    ¿Que diz o man do Slackware?


    --
    /¯\
    \ / +55 (61) 3546 7191           xmpp:leandrod@jabber.org
    X  +55 (61) 99302 2691
    / \ BRAZIL GMT−3 https://useplaintext.email/#why-plaintext

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Leandro =?ISO-8859-1?Q?Guimar=E3es?@21:1/5 to All on Mon Sep 13 23:00:02 2021
    Le lundi 13 septembre 2021 à 17:20 -0300, Gilberto F da Silva a écrit :
    On Sep 10, 2021 12:34:30PM −3, Leandro Guimarães Faria Corcete DUTRA:
    10 set 2021 9:40 −3, Gilberto F da Silva:
    No Slackware o halt desliga a máquina.

    man halt:

    ‘Note that on many SysV systems halt used to be synonymous
    to poweroff, i.e. both commands would equally result in
    powering the machine off. systemd is more accurate here,
    and halt results in halting the machine only (leaving
    power on)

    Isso fala que *era* o caso em alguns SysV, mas que não é o caso no
    systemd, e nada fala sobre o Slackware.



    ¿Que diz o man do Slackware?

    NOTES

    Under older sysvinit releases, reboot and halt should never be
    called directly. From release 2.74 on halt and reboot invoke
    shutdown(8) if the system is not in runlevel 0 or 6. This means
    that if halt or reboot cannot find out the current runlevel (for
    example, when /var/run/utmp hasn't been initialized correctly and /var/run/runlevel does not exist) shutdown will be called, which
    might not be what you want. Use the -f flag if you want to do a
    hard halt or reboot.

    The -h flag puts all hard disks in standby mode just before halt
    or power-off. Right now this is only implemented for IDE drives. A
    side effect of putting the drive in stand-by mode is that the
    write cache on the disk is flushed. This is important for IDE
    drives, since the kernel doesn't flush the write cache itself
    before power-off.

    Ainda não está claro. Se isso é parte do man halt do Slackware, diz
    apenas que chama o shutdown em algumas circunstâncias, mas não diz
    com que parâmetros exatamente. De qualquer modo, é irrelevante aqui
    nesta lista de Debian…


    --
    /¯\
    \ / +55 (61) 3546 7191 xmpp:leandrod@jabber.org
    X  +55 (61) 99302 2691
    / \ BRAZIL GMT−3 https://useplaintext.email/#why-plaintext

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gilberto F da Silva@21:1/5 to All on Tue Sep 14 09:10:06 2021
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Mon, Sep 13, 2021 at 05:52:15PM -0300, Leandro Guimarães Faria Corcete DUTRA wrote:
    Le lundi 13 septembre 2021 à 17:20 -0300, Gilberto F da Silva a écrit :
    On Sep 10, 2021 12:34:30PM −3, Leandro Guimarães Faria Corcete DUTRA:
    10 set 2021 9:40 −3, Gilberto F da Silva:
    No Slackware o halt desliga a máquina.

    man halt:

    ‘Note that on many SysV systems halt used to be synonymous
    to poweroff, i.e. both commands would equally result in
    powering the machine off. systemd is more accurate here,
    and halt results in halting the machine only (leaving
    power on)

    Isso fala que *era* o caso em alguns SysV, mas que não é o caso no
    systemd, e nada fala sobre o Slackware.



    ¿Que diz o man do Slackware?

    NOTES

    Under older sysvinit releases, reboot and halt should never be
    called directly. From release 2.74 on halt and reboot invoke
    shutdown(8) if the system is not in runlevel 0 or 6. This means
    that if halt or reboot cannot find out the current runlevel (for
    example, when /var/run/utmp hasn't been initialized correctly and /var/run/runlevel does not exist) shutdown will be called, which
    might not be what you want. Use the -f flag if you want to do a
    hard halt or reboot.

    The -h flag puts all hard disks in standby mode just before halt
    or power-off. Right now this is only implemented for IDE drives. A
    side effect of putting the drive in stand-by mode is that the
    write cache on the disk is flushed. This is important for IDE
    drives, since the kernel doesn't flush the write cache itself
    before power-off.

    Ainda não está claro. Se isso é parte do man halt do Slackware, diz
    apenas que chama o shutdown em algumas circunstâncias, mas não diz
    com que parâmetros exatamente. De qualquer modo, é irrelevante aqui
    nesta lista de Debian…

    Estou surpreso commuma coisa. Achava que essas coisas de linha de comando eram iguais em todas as distribuções.

    - --

    Stela dato:2.459.471,655 Loka tempo:2021-09-14 00:43:54 Mardo
    - -==-
    "Eu às vezes me pergunto como as igrejas evangélicas conseguem fazer
    lavagem cerebral em milhares de pessoas. Os fiéis ficam
    completamente obcecados e não percebem que estão deixando os
    pastores cada vez mais ricos às custas desse mensalinho do demônio.
    Eu não acredito absolutamente naquilo . Fé a gente tem sem explicar.
    O que eles fazem são promessas vazias, agem como políticos."
    -- Hebe Camargo - Veja 1926
    -----BEGIN PGP SIGNATURE-----
    Comment: +-----------------------------------------------------+
    Comment: ! Gilberto F da Silva - ICQ 136.782.571 !
    Comment: +-----------------------------------------------------+

    iF0EARECAB0WIQR6BybJIKBLy3+8xXcnG6Ba0yEbDgUCYUAa5wAKCRAnG6Ba0yEb Dih9AKCVlfgtNcD+9wbMobImwNXXV7N4RgCgvJnamg2LJqt1sDnpYm1B5vIWa6s=
    =TbLd
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Leandro =?ISO-8859-1?Q?Guimar=E3es?@21:1/5 to All on Tue Sep 14 22:10:03 2021
    Le mardi 14 septembre 2021 à 00:45 -0300, Gilberto F da Silva a écrit :
    Estou surpreso commuma coisa. Achava que essas coisas de linha de
    comando eram iguais em todas as distribuções.

    Na verdade em geral é, mas o Slackware em particular segue o SysV mais
    de perto, enquanto as outras são mais GNU e Posix.


    --
    Leandro Guimarães Faria Corcete DUTRA <l@dutras.org>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)