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

fsck al boot con batteria



Ciao a tutti
Sul mio laptop, al raggiungimento del numero massimo di mount di un file system
viene eseguito fsck nonostante il boot sia in batteria.

Ho provato a debuggare velocemente lo script /etc/init.d/checkfs.sh
cosi':

leuzz@vostok:~$ diff -c /etc/init.d/checkfs.sh checkfs.sh.new 
*** /etc/init.d/checkfs.sh      2007-10-02 21:47:38.000000000 +0200
--- checkfs.sh.new      2007-10-02 22:06:26.000000000 +0200
***************
*** 37,42 ****
--- 37,45 ----
        #
	# Check the rest of the file systems.
        #
+ 
+       BAT=yes
+ 
        if [ ! -f /fastboot ] && [ ! "$BAT" ] && [ "$FSCKTYPES" != "none" ]
        then
                if [ -f /forcefsck ]

in pratica ho solo inserito BAT=yes per forzare lo stato batteria.
Il risultato e' che fsck viene eseguito sempre lo stesso, al raggiungimento del
numero massimo di mount. 
A questo punto non so dove sia il problema, avete qualche suggerimento?
(eccetto tune2fs -c 0 /dev/?d?? )

Se ho molta fretta e' molto probabile che la mia batteria abbia poca autonomia,
in queste circostanze e' *sicuro* che il numero massimo di mount di un qualsiasi
file system e' stato raggiunto. :)

Grazie in anticipo

-- 
[ Leonardo Sorrentino aka leuzz -- http://leuzz.homelinux.org/ ]
[ wehuu [at] yahoo.it (mail/msn) -- leo.leonardo [at] email.it ]
[  Jabber: leuzz [at] jabber.linux.it -- GPG key ID 1A04E099   ]
[ please, do not send me email > 100k, *.doc or html messages* ]

Attachment: signature.asc
Description: Digital signature


Reply to: