Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-laptop
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-laptop@g.o, gentoo-user@g.o
From: Stéphane Guedon <stephane@...>
Subject: Re: mounts options on a laptop
Date: Sat, 5 Mar 2011 13:16:23 +0100
On Saturday 05 March 2011 12:47:39 Kent Hagebrand wrote:
> Yes, I use tmpfs on /vat/tmp/portage to reduce the disk i/o on my laptop.
> Here is the line I use in the /etc/fstab:
> 
> none       /var/tmp/portage       tmpfs       nr_inodes=1M,size=2G     0 0
> 
> This will allow the directory  /var/tmp/portage to use at most 2GB of
> memory (I have 4GB).
> It is enough to compile most of the packages in portage.

I compile in /tmp which is tmpfs, and I was thinking of /var/run as tmpfs

On Saturday 05 March 2011 12:29:19 Florian Philipp wrote:
> /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

with reiserfs, the disk is said to run all over the time !

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: mounts options on a laptop
-- Pavel Říha
References:
mounts options on a laptop
-- Stéphane Guedon
Re: mounts options on a laptop
-- Kent Hagebrand
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: mounts options on a laptop
Next by thread:
Re: mounts options on a laptop
Previous by date:
Re: mounts options on a laptop
Next by date:
Re: mounts options on a laptop


Updated Jun 19, 2012

Summary: Archive of the gentoo-laptop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.