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, Karl Morgan wrote:
> # dd if=/dev/zero of=/dev/ram bs=1024 count=2048
>
> 2) Then create the filesystem on the ramdisk
>
> # /sbin/mke2fs -vm0 /dev/ram 2048
>
> 3) Then mount it wherever you like
>
> # mount /dev/ram /mnt
>
Why does one need the first dd? Why not just the mkfs? Also what does
one need to do to free up that memory? Just unmount it?
--
Jon Schewe
http://eggplant.mtu.net/~jpschewe
schewe@tcfreenet.org