Em 28 de abril de 2011 11:57, hamacker <[email protected]> escreveu:

> Olá pessoal,
>
> Existe alguma sintaxe do fsck para que o próximo boot haja um fsck na
> partição de boot, fsck /dev/sda por exemplo ?
>
> É que estou com um computador que suspeito problemas no disco, é claro
> que um livecd ou liveusb daria para fazer sem problemas, se pudesse
> agendar o fsck seria muito melhor pois poderia agendar um  reboot
> noturno.
>
> man fsck ??? ou melhor man shutdown ???

shutdown -h
Usage:    shutdown [-akrhPHfFnc] [-t sec] time [warning message]
                  -a:      use /etc/shutdown.allow
                  -k:      don't really shutdown, only warn.
                  -r:      reboot after shutdown.
                  -h:      halt after shutdown.
                  -P:      halt action is to turn off power.
                  -H:      halt action is to just halt.
                  -f:      do a 'fast' reboot (skip fsck).
##########aqui
                  -F:      Force fsck on reboot.
###########
                  -n:      do not go through "init" but go down real fast.
                  -c:      cancel a running shutdown.
                  -t secs: delay between warning and kill signal.
                  ** the "time" argument is mandatory! (try "now") **


na hora que vc desejar é só dar um shutdown -F now

[]s


> []'s
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive:
> http://lists.debian.org/[email protected]
>
>

Responder a