ram disk question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can use the /dev/shm fs for a temporary virtual disk in ram, since
that's primarily what it was created for.

Brian Borowski


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
>
>





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux