Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forzare il filesystem check
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Mon Feb 19, 2007 5:23 pm    Post subject: Forzare il filesystem check Reply with quote

tao^^
L'altro giorno (dopo aver editato il file clock) mi son stati dati alcuni errori (la data di alcuni file era oltre l'orario attuale).
Il sistema mi si avvia lo stesso però volevo fare un fsck.

Ora.. mi son sempre posto questo dubbio.
Per fare uno scandisk appropriato devo per forza partire da cd o c'è un modo per farlo partire?
Che ne so in windows il pc si riavvia e al riavvio fa lo scandisk.

Anche in gentoo fa il controllo all'avvio (dopo 30 giorni o dopo 30 mount mi pare circa) e per caso c'è un comando che al riavvio fa partire il fsck?
Grassie ^^
Back to top
View user's profile Send private message
Maialovic
Apprentice
Apprentice


Joined: 25 Apr 2006
Posts: 255

PostPosted: Mon Feb 19, 2007 6:31 pm    Post subject: Reply with quote

devi fare
Code:
shutdown -F
w spegnere il pc e al riavvio ti fa lo fsck
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Feb 19, 2007 6:36 pm    Post subject: Reply with quote

/etc/init.d/checkroot wrote:

if [[ -f /forcefsck ]] || get_bootparam "forcefsck" ; then
ebegin "Checking root filesystem (full fsck forced)"
fsck -C -a -f /
# /forcefsck isn't deleted because checkfs needs it.
# it'll be deleted in that script.
retval=$?


In pratica ti basta lanciare il comando:

Code:
#touch /forcefsck && reboot

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Mon Feb 19, 2007 6:48 pm    Post subject: Reply with quote

grazie infinite ad entrambi ^^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum