Re: Automatically mount or remount EXT3 partitions with EXT2 when alaptop is powered by a battery?

Miles Lane
2002-06-25T17:28:29Z

On Tue, 2002-06-25 at 10:03, Andrew Morton wrote:
> Miles Lane wrote:
> >
> > Hi,
> >
> > Is there any possibility we could:
> >
> > 1) Add support to the boot/mounting process
> > so that, if a machine is being powered by
> > battery, EXT3 partitions are mounted with
> > EXT2, instead?
> >
> > 2) While the machine is running, notice when the
> > power source switches between AC and battery
> > or vice versa and remount partitions EXT3
> > partitions to use EXT2 whenever a battery is
> > being used?
> >
>
> umm, why?
>
> If it's because of the disk-spins-up-too-much problem then
> that can be addressed by allowing the commit interval to be
> set to larger values.

Thanks Andrew,

Yes, the concern is the syncing every few seconds.
Would it be possible and make sense to have this
setting get adjusted dynamically when a laptop goes
onto battery power?

Miles