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

Re: RAMDISK



Thanks Ben!

It worked!!

Eduardo.

----- Original Message ----- 
From: Ben Goren <ben@trumpetpower.com>
To: <misc@openbsd.org>
Sent: Wednesday, March 13, 2002 12:04 PM
Subject: Re: RAMDISK


> On  Wed, Mar  13,  2002 at  09:19:04AM  -0300, Eduardo  B. Fonseca
> wrote:
> 
> > Hello Guys,
> >
> >     I'm trying  to set up a  custom made ramdisk for  a firewall
> > I'm  developing. I  was  using  FreeBSD,  and  now  I'm  porting
> > everything to OpenBSD.  The steps I used to do in FreeBSD were:
> >
> >     * dd if=/dev/zero .....
> >     * vnconfig -c vnd0 image
> >     * disklabel -w vnd0c auto
> >
> > The problem I'm  having is with the last  line... I just figured
> > out that OpenBSD's disklabel does  not have (at least, I haven't
> > found it yet) the "auto" keyword. I do not know *ANYTHING* about
> > drive geometry so I'm having huge problems setting up disktab...
> > is there  anyone who can help  me with this? I need  32Mb, 40Mb,
> > 48Mb and 50 Mb Images...
> >
> > Please help me!! :)
> >
> > Thanks!
> >
> > Eduardo B. Fonseca
> > ebf@cwb.fnn.net
> 
> Judging from those numbers, I  would hope that you're not planning
> on multiple partitions. If it's all  going to be on one partition,
> skip the disklabel and just newfs /dev/vnd0c.
> 
> Otherwise, disklabel(8) has all you need to know.
> 
> b&
> 
> --
> Ben Goren
>  mailto:ben@trumpetpower.com
>  http://www.trumpetpower.com/
>  icbm:33o25'37"N_111o57'32"W
> 
> [demime 0.98d removed an attachment of type application/pgp-signature]