public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mounts options on a laptop
Date: Sat, 05 Mar 2011 12:29:19 +0100	[thread overview]
Message-ID: <4D721E8F.4060507@binarywings.net> (raw)
In-Reply-To: <201103051148.18068.stephane@22decembre.eu>

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]

Am 05.03.2011 11:48, schrieb Stéphane Guedon:
> I have a laptop, it works quite good, but I would like to improve battery 
> length.
> 
> The fact is that, out of the classical options (kernel custom, KDE battery 
> management...), there's no information about disk mount options, whereas it 
> eat a lot of power.
> 
> my current mount :
> 
> rootfs on / type rootfs (rw)
> /dev/root on / type ext3 (rw,commit=0)
> /dev/shm on /tmp type tmpfs (rw,nosuid,nodev)
> /dev/sda7 on /var type reiserfs (rw)
> /dev/sda8 on /media/musique type vfat (rw,uid=0,gid=18,umask=007)
> /dev/sda2 on /windows type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
> /dev/sda6 on /home type ext4 (rw,user_xattr,commit=0)
> 
> and sda5 as swap.
> 
> how to make it better ? (I know reiserfs is not a good idea, but at the moment 
> of building the system, it seamed good for little files/DB...)
> 
> I have read of mounting part of /var as tmpfs... ?
> 

/var as tmpfs is not a good idea. There are lots of persistent files in
there. If you want to be standard-conformant, you cannot even mount
/var/tmp as tmpfs because its content is also meant to survive reboots.
You can still do it though and mounting /tmp as tmpfs is completely okay.

Your choice of filesystem has little or no effect. You could proably
argue that JFS needs less CPU resources than for example ReiserFS but
that really doesn't matter.

What you really want is app-laptop/laptop-mode-tools.

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2011-03-05 11:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05 10:48 [gentoo-user] mounts options on a laptop Stéphane Guedon
2011-03-05 11:29 ` Florian Philipp [this message]
     [not found] ` <AANLkTi=pd-hxLEsMsR1DjKh7KFTOenoe1PTpEGJiBHF9@mail.gmail.com>
2011-03-05 12:16   ` [gentoo-user] Re: [gentoo-laptop] " Stéphane Guedon
2011-03-06  8:38     ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D721E8F.4060507@binarywings.net \
    --to=lists@binarywings.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox