Keith Edmunds wrote:
> I put this command together to find out whether the checks would run if
> the system were rebooted. It isn't perfect - patches welcome! - but it
> does the job.
> 
> for a in $(fdisk -l 2>/dev/null|grep -v Extended|\
>     grep ^/|awk '{print $1}');do echo "$a:";dumpe2fs -h $a 2>&1|\
>     grep -v 'Bad magic number'|\
>     egrep '(^Mount count:|Maximum mount count:|Next check after:)';echo;done
> 
> Needs to be run as root; maybe it's helpful to someone.
> 

I'm just looking for a way to skip the occasional check at boot, because 
I don't want to wait ages for the computer boot. A lot of Ctrl-C does 
the trick but then no disks get mounted so I end up spending just as 
long mounting them manually as the computer takes checking them!

Leo

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to