Re: tmpfs trash the system

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Aug 01 2001 - 23:09:39 EST


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/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:16 EST