ram disk question

Igor Gueths igueths at attbi.com
Sat May 4 09:17:36 EDT 2002


Hi Raul. This is just a suggestion, but possibly edit the default value in
ramdisk.c
to reflect the amount of ram in the system? Or rebuild your kernel with a
different max_ramdisk_size? This may not even work, just thought I'd put
it out there as a suggestion. On Sat, 4 May 2002, Kerry Hoath wrote:

> Upper limit of a ramdisk is 16 meg I believe,
> you'd have to look in ramdisk.c but i think that is correct.
> On Thu, May 02, 2002 at 04:43:25PM -0500, Raul A. Gallegos wrote:
> > Hi.  Question regarding ram disks.
> >
> > I've looked at various howtos but I'm either missing on what I need to
> > read or what I want to do is not possible.
> >
> > I'm wanting to populate around 100 megs of data onto a virtual partition
> > le'ts say made of a ram partition on a machine that all it has is a
> > cdrom and 1 gig of ram.  I tried doing:
> >
> > dd if=/dev/zero of=/dev/ram0 count=195555
> >
> > to get a ramdisk around 100 mb in size but I get the error no space left
> > on device.
> >
> > On another machine with a hard drive I can do this if I just create a
> > file /tmp/tmpfs and do the dd command there.  I can then mke2fs the file
> > and mount it and have a 100 mb loop block device.  So in short, how can
> > I do this but with a ram disk?
> >
> > Thanks.
> > --
> > If you perceive that there are four possible ways in which a procedure can
> > go wrong, and circumvent these, then a fifth way will promptly develop.
> > Raul A. Gallegos - http://www.asmodean.net
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> --
> Kerry Hoath:  kerry at gotss.net kerry at gotss.eu.org or  kerry at gotss.spice.net.au
> ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>





More information about the Speakup mailing list