TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:9949] How do I set up a ramdisk?



On  9 Nov, Eric M. Hopper wrote:
> 	I have a very disk instensive test that I'm running.  I want to
> speed up my test by having it use a ramdisk instead.
> 
> 	Without rebooting, how do I set up a small ramdisk and bring it
> down again?
> 
If you have ramdisk support in the kernel you should just be able to do
the following:
mkfs -t ext2 [number of blocks] /dev/ram0
mount -t ext2 /dev/ram0 /mnt/extra



-- 
Jon Schewe 
http://eggplant.mtu.net/~jpschewe
schewe@tcfreenet.org