From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PvpiB-0001jG-NH for garchives@archives.gentoo.org; Sat, 05 Mar 2011 11:31:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AACE1C066; Sat, 5 Mar 2011 11:30:11 +0000 (UTC) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by pigeon.gentoo.org (Postfix) with ESMTP id DBB901C066 for ; Sat, 5 Mar 2011 11:30:11 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 9D37B20980 for ; Sat, 5 Mar 2011 06:30:11 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 05 Mar 2011 06:30:11 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=inrdb4gG1nUsZ1kvUpLbELt/w5o=; b=uGomZzrQ90ur8le9OdiVP65e5IglIrssVToQatGzr3TeTyQSL+omiKWbpS5SrfPr/jr8abC1jSxEJlleldDewHavzPlY0yxMom7+6VMdqxQ1tKy6hHFh7BCUC1zV/0Izo9JE1Noa1aJFrHuccWhXGdoD8w2CANBsZFXpnAolS7s= X-Sasl-enc: qZ74CFpNcYj/JtrkSuGeRwH9rdqcNmn3A2gJVp0YeWZE 1299324610 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 7090540A8D7 for ; Sat, 5 Mar 2011 06:30:10 -0500 (EST) Message-ID: <4D721E8F.4060507@binarywings.net> Date: Sat, 05 Mar 2011 12:29:19 +0100 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110219 Lightning/1.0b3pre Thunderbird/3.1.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mounts options on a laptop References: <201103051148.18068.stephane@22decembre.eu> In-Reply-To: <201103051148.18068.stephane@22decembre.eu> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig17249CC5686779AD4163FFDC" X-Archives-Salt: X-Archives-Hash: fa8c682ada3b09a4354d296bdeb225a1 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig17249CC5686779AD4163FFDC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 05.03.2011 11:48, schrieb St=C3=A9phane Guedon: > I have a laptop, it works quite good, but I would like to improve batte= ry=20 > length. >=20 > The fact is that, out of the classical options (kernel custom, KDE batt= ery=20 > management...), there's no information about disk mount options, wherea= s it=20 > eat a lot of power. >=20 > my current mount : >=20 > rootfs on / type rootfs (rw) > /dev/root on / type ext3 (rw,commit=3D0) > /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=3D0,gid=3D18,umask=3D007)= > /dev/sda2 on /windows type fuseblk (rw,nosuid,nodev,allow_other,blksize= =3D4096) > /dev/sda6 on /home type ext4 (rw,user_xattr,commit=3D0) >=20 > and sda5 as swap. >=20 > how to make it better ? (I know reiserfs is not a good idea, but at the= moment=20 > of building the system, it seamed good for little files/DB...) >=20 > I have read of mounting part of /var as tmpfs... ? >=20 /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 --------------enig17249CC5686779AD4163FFDC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1yHpMACgkQqs4uOUlOuU/AiACfelHf9EIw/0mPjkUgLvxdPn48 fhYAn21oft8clasbAupLZ8YeoPSNUl8R =ZGui -----END PGP SIGNATURE----- --------------enig17249CC5686779AD4163FFDC--