[TriLUG] how to make an arbitrarily sized ramdisk?

Donald Ball balld at webslingerZ.com
Wed Oct 3 23:08:12 EDT 2001


hey guys, i'm trying to allocate 64M of memory and mount it as a
filesystem. i've gotten this far:

mke2fs /dev/ram0
mount /dev/ram0 /mnt/ramdisk

but that just uses that 4M default ramdisk size. it would seem that you
can change the size of a ramdisk like so:

rdev -r /dev/ram0 65536

but that doesn't change anything. any clues for me?

- donald




More information about the TriLUG mailing list