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

RAMDISK



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