[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dar para agendar o fsck para o próximo reinicio ?



Em 28 de abril de 2011 11:57, hamacker <sirhamacker@gmail.com> 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 debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] BANLkTik5ANOPGY+r1bxgL2cB+JU3Vm0CrQ@mail.gmail.com" target="_blank">http://lists.debian.org/[🔎] BANLkTik5ANOPGY+r1bxgL2cB+JU3Vm0CrQ@mail.gmail.com



Reply to: