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

Responder a