On Thu, Jan 21, 2010 at 10:43 PM, Song Li <lisong@stanford.edu> wrote:
sd0 is not the whole disk. It indicates "scsi disk device 0." There
are other partitions on the whole device ("c"), that get referenced.
As stated in disklabel(5)'s CAVEATS, by convention, scsi disk device
0, partition "c" would be the whole drive by convention.
You could makefs on /dev/sd0c instead. Nothing really forces you to
create other slices (or partitions) on the device.
FreeBSD went a little differently a while back - with FreeBSD 5, I believe.
Don't confuse FreeBSD and OpenBSD. While they're alike in history,
they're otherwise quite different.
"I'm trying out this new operating system, I'm surprised it doesn't
behave like these other ones."
You're expecting OpenBSD to follow the conventions of other people.
It's a little more primitive in some respects, but it does what I
expect with very little surprise. When I get a jar of peanut butter, I
don't expect there to be jelly in with it. If there is, I'd be
surprised in a bad way.
OpenBSD is OpenBSD. Expecting it to be anything else, or follow the
conventions of FreeBSD, is kind of silly.
As a rule, when providing the output of a command, it helps to give
the input to the command as well. This includes flags, options, and
input files.