Re: Large ramdisk crashes system

From: David Woodhouse (dwmw2@infradead.org)
Date: Thu Jun 07 2001 - 18:35:46 EST


paulb@aracnet.com said:
> the kernel is 2.4.5 with 'Simple RAM-based file system support' turned on.

> I issued the following commands.

> mkfs /dev/ram0 400000
> mount /dev/ram0 /mnt
> dd if=/dev/zero of=/mnt/junk bs=1024 count=500000

Why turn on ramfs if you're not going to use it?

 mount -t ramfs none /mnt/junk

Use the one in the -ac tree and you get resource limits, which will be
useful. The VM will still be broken, but you should get away with a little
more.

--
dwmw2

- 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 : Thu Jun 07 2001 - 21:01:06 EST