Re: tmpfs trash the system

Rik van Riel (riel@conectiva.com.br)
Thu, 2 Aug 2001 01:09:39 -0300 (BRST)


On Wed, 1 Aug 2001, Ivan Kalvatchev wrote:

> mount tmpfs /mnt/tmp -o tmpfs
> dd if=/dev/zero if=/mnt/tmp/test

So you let tmpfs fill up all memory and swap...

mount -t tmpfs -o nr_blocks=<SIZE> none /mnt/tmp

Where <SIZE> is the maximum size of tmpfs, in pages.

regards,

Rik

--
Executive summary of a recent Microsoft press release:
   "we are concerned about the GNU General Public License (GPL)"

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/