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
signature.asc
Description: OpenPGP digital signature