To add on... to that ..

there are two ways to use it in linux "kernel"
first, the old "ramdisk" option in the kernel.. (which by experience is quite 
unstable when you are talking about > 200 Mb drives !) it infact results in a 
hung kernel, with only hard-boot to spare..)

the other and better option is "/dev/shm" . although i am not aware of what 
shm stands for, but its stable! frankly... although i dont have Gbs of RAM to 
spare.. but the 256 i have is enough to try it out.. and frankly, generally 
speaking, if you could "bunzip/untar" a kernel and compile it from scratch in 
the partition, you could consider it stable...  ! ;)
"ramdisk" in my experience crashed >3 times..! :(

anyways..
what it DOESNT do is to allocate (lets say) 200 Mb from your 256 Mb ram, but 
rather "present" you a drive with "200Mb" space  in /dev/shm .. which you 
could mount it to say, /mnt/ram .
now as and when you need ram in this disk, it requests the memory manager for 
more space for this drive.. and so, this way, you do not really "allocate" 
your memory to this drive.. and in the same time, use the drive to the 
fullest capacity when you do need it...
good concept i must say.. only thing, it needs to be stable as in NOT to blow 
the kernel away.. "which proudly it doesnt ! ;)" <- atleast /dev/shm doesnt...

but ofcourse.. beware ... you always have "README" files waiting to say, 
"your risk !!!" ;)

affly
robins

On Thursday 17 January 2002 12:34 pm, you wrote:
> Imagine a Z: drive in your machine.
>
> where u can create directories, stoer files etc etc
>
>
> the only thing special about this drive is...this isnt a hard disk.
>
> this drive take space in your RAM !
>
> u dig ?
>
>
>
>
> Somethings are easier to explain in DOS ! ;)
>
>
> ----- Original Message -----
> From: Rock <[EMAIL PROTECTED]>
> To: plug <[EMAIL PROTECTED]>; linux delhi <[EMAIL PROTECTED]>
> Sent: Thursday, January 17, 2002 11:13 AM
> Subject: [ilugd]: RamDisk
>
> > Can anybody please explain the concept for Ramdisk?
> >
> > -- Harshal.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE video emails in Yahoo! Mail!
> > http://promo.yahoo.com/videomail/
> >
> >           ================================================
> > To un/subscribe, send email to [EMAIL PROTECTED] with 'un/subscribe'
> > in subject header Archives are available at
> > http://www.mail-archive.com/ilugd%40wpaa.org
> > =================================================
>
>           ================================================
> To un/subscribe, send email to [EMAIL PROTECTED] with 'un/subscribe'
> in subject header Archives are available at
> http://www.mail-archive.com/ilugd%40wpaa.org
> =================================================


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

          ================================================
To un/subscribe, send email to [EMAIL PROTECTED] with 'un/subscribe' in subject 
header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to