Re: No fsck in battery mode
According to Sean 'Shaleh' Perry,
> On Tuesday 09 September 2003 23:34, Tony Godshall wrote:
> > > (another option is to have your script touch /fastboot when on battery,
> > > as that will completely bypass the running of fsck - just make sure it
> > > runs before checkroot.sh!... you'd need a static copy of on_ac_power
> > > (well, awk/grep..), and /etc/rcS.d/S09powercheck.sh or so)
> > Thanks for bringing this up. I wasn't aware of /fastboot.
> > Looks like a good solution. Well, except that / has to be
> > mounted first.
> ummm, / is gonna be mounted, otherwise how is the OS reading /etc or
> attempting to run fsck?
Well, I think it comes up read-only, then is fsck'd, then is
remounted rw. Touching /fastboot would fail if the drive is
mounted ro. I guess you could touch fastboot before you go
on the road, but I'd rather have a more automated method.