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.
No Slackware o halt desliga a máquina.
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)
¿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.
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)
¿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.
Estou surpreso commuma coisa. Achava que essas coisas de linha de
comando eram iguais em todas as distribuções.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:13:15 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,094 |
Messages: | 5,274,430 |