Re: Another question: device naming convention

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johan Beisser
Date: Friday, January 22, 2010 - 12:34 am

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.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Another question: device naming convention, Song Li, (Thu Jan 21, 9:42 pm)
Re: Another question: device naming convention, Johan Beisser, (Thu Jan 21, 10:04 pm)
Re: Another question: device naming convention, Song Li, (Thu Jan 21, 10:39 pm)
Re: Another question: device naming convention, Bret S. Lambert, (Thu Jan 21, 10:44 pm)
Re: Another question: device naming convention, Song Li, (Thu Jan 21, 11:43 pm)
Re: Another question: device naming convention, Miod Vallat, (Fri Jan 22, 12:21 am)
Re: Another question: device naming convention, Ted Unangst, (Fri Jan 22, 12:32 am)
Re: Another question: device naming convention, Johan Beisser, (Fri Jan 22, 12:34 am)
Re: Another question: device naming convention, Otto Moerbeek, (Fri Jan 22, 12:54 am)
Re: Another question: device naming convention, Johan Beisser, (Fri Jan 22, 12:56 am)
Re: Another question: device naming convention, Marc Espie, (Fri Jan 22, 1:20 am)
Re: Another question: device naming convention, Song Li, (Fri Jan 22, 1:31 am)
Re: Another question: device naming convention, Stas Miasnikou, (Fri Jan 22, 1:50 am)
Re: Another question: device naming convention, Jacob Meuser, (Fri Jan 22, 2:05 am)
Re: Another question: device naming convention, Marc Espie, (Fri Jan 22, 2:42 am)
Re: Another question: device naming convention, David Vasek, (Fri Jan 22, 4:12 am)
Re: Another question: device naming convention, Julian Leyh, (Fri Jan 22, 6:35 am)
Re: Another question: device naming convention, Nick Holland, (Fri Jan 22, 7:00 am)
Re: Another question: device naming convention, Matt Bettinger, (Fri Jan 22, 8:40 am)