Gentoo Archives: gentoo-amd64

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Emerge and Tmpfs
Date: Wed, 08 Jul 2009 15:35:39
Message-Id: 200907081629.19499.peter@humphrey.ukfsn.org
In Reply to: Re: [gentoo-amd64] Re: Emerge and Tmpfs by Frank Peters
1 On Wednesday 08 July 2009 14:51:04 Frank Peters wrote:
2
3 > If the tmpfs mount becomes filled or exceeds the file limit, since it is
4 > essentially just another disk partition shouldn't it produce a "No more
5 > space left on device" error?
6
7 No, it isn't a disk partition. It's a file system in RAM, with no reference
8 to the disk at all, which is why it's so much faster than file systems on
9 disk.
10
11 > Or is the system designed to extend the tmpfs through swapping?
12
13 Sort of. If the tmpfs becomes full, part of it that isn't needed at the
14 moment is swapped to disk, exactly as if it had been program space.
15
16 --
17 Rgds
18 Peter

Replies

Subject Author
Re: [gentoo-amd64] Re: Emerge and Tmpfs Richard Freeman <rich0@g.o>