Re: Large ramdisk crashes system

David Woodhouse (dwmw2@infradead.org)
Fri, 08 Jun 2001 00:35:46 +0100


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/