|
HALT,REBOOT(8) manual page
Table of Contents
halt, reboot - ferma il sistema.
/sbin/halt [-n] [-w] [-d]
[-f]
/sbin/reboot [-n] [-w] [-d] [-f]
Halt notifica che il sistema
sta per essere portato giù (down) nel file /var/log/wtmp , e poi o dice
al kernel di fermare (halt) oppure di rebootare il sistema. Se halt o
reboot è chiamato quando il sistema non è nel runlevel 0 o 6 , allora
sarà lanciato shutdown (8)
(con l'opzione -h o -r ).
- -n
- Non fa il
sync prima di fare il reboot o l'halt.
- -w
- In realtà non fa il reboot o l'halt
ma scrive solo il record wtmp (nel file /var/log/wtmp ).
- -d
- Non scrive
il record wtmp. Il flag -n implica anche il -d .
- -f
- Forza l'halt o il reboot,
e non chiama shutdown.
Se non si è il superuser, si otterrà
il messaggio `must be superuser'.
Nelle precedenti versioni di sysvinit
, reboot e halt non dovevano mai essere chiamati direttamente. A partire
da questa release halt e reboot chiamano shutdown se il sistema è in
runlevel 1-5.
Miquel van Smoorenburg, miquels@cistron.nl
Traduzione
di Giovanni Bortolozzo <borto@dei.unipd.it>
shutdown(8)
, init(1)
.
Table of Contents
|
|
|
|