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

From: Miles Lane (miles@megapathdsl.net)
Date: Tue Jun 25 2002 - 12:24:11 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:09 EST