Subject: Re: HEADS UP: tmpfs added
To: None <tech-kern@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-kern
Date: 09/11/2005 15:08:26
In article <6b2d1e190509101248368131f9@mail.gmail.com>,
	"Julio M. Merino Vidal" <jmmv84@gmail.com> writes:
> I'm pleased to announce that tmpfs, an (efficient) memory file-system,
> has been added to NetBSD's main source tree.

That's great news. Thanks a lot.

I've just tried it and wonder if I have found a bug:

1.) I've mounted a "tmpfs" with "mount_tmpfs -s 128M tmpfs /mnt".

2.) I've tried to use it by extracting a ".tar.gz2" file to it which
    didn't work:

tron@lyssa:/mnt>tar xzf ~ftp/pub/unix/lang/php-4.4.0.tar.bz2 
tar: Failed write to file php-4.4.0/configure (No space left on device)
utar: Failed write to file php-4.4.0/netware/mktemp.h (No space left on device)
tar: Failed write to file php-4.4.0/cvsclean (No space left on device)
tar: Failed write to file php-4.4.0/README.EXTENSIONS (No space left on device)
tar: Failed write to file php-4.4.0/README.QNX (No space left on device)
tar: Failed write to file php-4.4.0/run-tests.php (No space left on device)
tar: Failed write to file php-4.4.0/acinclude.m4 (No space left on device)
tar: Failed write to file php-4.4.0/README.SELF-CONTAINED-EXTENSIONS (No space left on device)
[...]

The strange things is that the "tmpfs" is *not* full:

tron@lyssa:/mnt>df -i .
Filesystem  1K-blocks      Used     Avail Capacity  iused    ifree  %iused  Mounted on
tmpfs          131072     30336    100736    23%     2795   128277     2%   /mnt
The machine has 2GB of physical memory. A 128MB "tmpfs" should therefore
not be problem.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/