* ram disk question
@ Raul A. Gallegos
` Kerry Hoath
0 siblings, 1 reply; 4+ messages in thread
From: Raul A. Gallegos @ UTC (permalink / raw)
To: Speakup Mailing-list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ram disk question
ram disk question Raul A. Gallegos
@ ` Kerry Hoath
` Brian Borowski
` Igor Gueths
0 siblings, 2 replies; 4+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: speakup
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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au
ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: ram disk question
` Kerry Hoath
@ ` Brian Borowski
` Igor Gueths
1 sibling, 0 replies; 4+ messages in thread
From: Brian Borowski @ UTC (permalink / raw)
To: speakup
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@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> --
> Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au
> ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: ram disk question
` Kerry Hoath
` Brian Borowski
@ ` Igor Gueths
1 sibling, 0 replies; 4+ messages in thread
From: Igor Gueths @ UTC (permalink / raw)
To: speakup
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@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> --
> Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au
> ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
ram disk question Raul A. Gallegos
` Kerry Hoath
` Brian Borowski
` Igor Gueths
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).