Man page - halt(8)
Packages contains this manual
Available languages:
en fr es pl pt tr ja id fi zh_TW zh_CN deManual
HALT
NOMERESUMO
DESCRIĂĂO
OPĂĂES
DIAGNĂSTICO
NOTAS
AUTOR
VEJA TAMBĂM
NOME
halt, reboot, poweroff - param o sistema
RESUMO
/sbin/halt
[
-d
] [
-f
] [
-h
] [
-i
] [
-n
]
[
-p
] [
-w
]
/sbin/reboot
[
-d
] [
-f
] [
-i
]
[
-k
] [
-m <message>
] [
-n
]
[
-w
]
/sbin/poweroff
[
-d
] [
-f
] [
-h
]
[
-i
] [
-n
] [
-w
]
DESCRIĂĂO
O halt nota que o sistema estĂĄ a ser arreado no ficheiro /var/log/wtmp , e depois diz ao kernel para ou o parar, reiniciar ou desligar o sistema.
If halt or reboot is called when the system is not in runlevel 0 or 6 , in other words when itâs running normally, shutdown will be invoked instead (with the -h or -r flag). For more info see the shutdown (8) manpage.
O resto deste manual descreve o comportamento nos nĂveis de execução (runlevels) 0 e 6, que Ă© quando os scripts de desligar o sistema correm.
OPĂĂES
|
-d |
NĂŁo escreve o registo wtmp. |
||
|
-f |
Força halt ou reboot, não chama o shutdown (8). |
||
|
-h |
PÔe todos os discos rijos do sistema em modo de espera antes de parar ou desligar a energia. |
||
|
-i |
Desliga todas as interfaces de rede mesmo antes de halt ou reboot . Aviso: Isto pode nĂŁo funcionar em interfaces que nĂŁo tĂȘm um endereço IP e idealmente devem ser geridas por um serviço de gestĂŁo de rede. |
||
|
-k |
Try to reboot using kexec , if kernel supports it. |
||
|
-m |
When running on a Linux system, any quoted parameter after the -m flag will be passed to the firmware to be interpreted at boot time. Some systems, like the Raspberry Pi, can use this to switch target partitions. Please note, this parameter enables -f, forcing the reboot command to handle shutting down itself. |
||
|
-n |
Donât sync before reboot or halt. Note that the kernel and storage drivers may still sync. This implies -d . |
||
|
-p |
When halting the system, switch off the power. This is the default when halt is called as poweroff . |
||
|
-w |
NĂŁo reinicia nem pĂĄra na realidade mas apenas escreve o registo wtmp (no ficheiro /var/log/wtmp ). |
DIAGNĂSTICO
Se vocĂȘ nĂŁo for o super-utilizador, irĂĄ receber a mensagem âmust be superuserâ.
NOTAS
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.
O programa halt usa /proc/ide/hd* para encontrar todos os dispositivos de disco IDE, o que significa que /proc precisa de estar montado quando o halt ou poweroff sĂŁo chamados ou o switch -h nĂŁo farĂĄ nada.
AUTOR
VEJA TAMBĂM
shutdown (8), init (8)