[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
----- Original Message -----
From: Ben Goren <firstname.lastname@example.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
> > 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
> > email@example.com
> 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.
> Ben Goren
> [demime 0.98d removed an attachment of type application/pgp-signature]
- From: "Eduardo B. Fonseca" <firstname.lastname@example.org>
- Re: RAMDISK
- From: Ben Goren <email@example.com>