Stephen Liu wrote:
> 
> Hi all people,
> 
> Kindly assist me to understand the use of RAM disk and its creation.  Also
> the easy way to rename a directory,
> 
> Thanks in advance.
> 
> Stephen
> 

In lilo.conf in the section for your linux kernel add the line:

ramdisk=size (where size is the max size in kilobytes)

Then, to create the ramdisk, run the command:

mke2fs /dev/ram0 size (where size is the ramdisk size in kilobytes)

Finally, mount it like so, "mount /dev/ram0 /mnt/ramdisk".

The ramdisk you create can be smaller than the size you specify in
lilo.conf. You can also create more than one ramdisk. Redhat sets up
something like /dev/ram0-ram15 by default and if you don't add a ramdisk
line in lilo.conf at all, you should be able to create ramdisks of 4M
size. Make sure you run /sbin/lilo after you edit lilo.conf.

Gordon


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to