[ltp] Journaling on a laptop?

Steve Harris linux-thinkpad@linux-thinkpad.org
Fri, 17 Sep 2004 09:03:28 +0100


On Thu, Sep 16, 2004 at 04:09:16PM -0400, Norman Walsh wrote:
> Not absolutely, specifically a ThinkPad question, but related to
> battery life on ThinkPads, I think, so please forgive me :-)
> 
> What's the current thinking on journaling filesystems on a laptop? In
> the past, I've used ext2 instead, based on the idea that the HD will
> spin down and save battery life if I'm using a non-journaling file
> system.

You can increase the journal commit interval, so the harddisk will still
spin down.

You can do this with the "commit" mount argument, eg.

LABEL=/  /  ext3  commit=60  1 1

in fstab will increat it to 60 seconds.

- Steve