Subject: Re: mounting OpenBSD filesystem
To: None <reed@reedmedia.net>
From: Gary Thorpe <gat7634@hotmail.com>
List: tech-misc
Date: 08/15/2002 15:02:02
>From: "Jeremy C. Reed" <reed@reedmedia.net>
>To: tech-misc@netbsd.org
>Subject: mounting OpenBSD filesystem
>Date: Wed, 14 Aug 2002 20:44:42 -0700 (PDT)
>
>I want to mount OpenBSD filesystems. I read that it is not supported.
>
>Is it supported?
>
>If not, can anyone share any suggestions on where to get started in trying
>to be able to do this?
>
>This is what OpenBSD 3.1 sees:
>
># using MBR partition 3: type A6 off 63 (0x3f) size 2491713 (0x260541)
># /dev/rwd0c:
>type: ESDI
>disk: ESDI/IDE disk
>label: Conner Periphera
>flags:
>bytes/sector: 512
>sectors/track: 63
>tracks/cylinder: 16
>sectors/cylinder: 1008
>cylinders: 2477
>total sectors: 2496876
>rpm: 3600
>interleave: 1
>trackskew: 0
>cylinderskew: 0
>headswitch: 0		# microseconds
>track-to-track seek: 0	# microseconds
>drivedata: 0
>
>16 partitions:
>#        size   offset    fstype   [fsize bsize   cpg]
>   a:  2400000       63    4.2BSD     1024  8192    16 	# (Cyl.    0*- 
>2381*)
>   b:    96813  2400063      swap                      	# (Cyl. 2381*- 
>2477*)
>   c:  2496876        0    unused        0     0       	# (Cyl.    0 - 
>2477*)
>
>This is what NetBSD/i386 1.5.3 (rescue-small disk) sees:
>
># /dev/rwd0d:
>type: ESDI
>disk: wd0s1
>label:
>flags:
>bytes/sector: 512
>sectors/track: 63
>tracks/cylinder: 255
>sectors/cylinder: 16065
>cylinders: 155
>total sectors: 2496816
>rpm: 3600
>interleave: 1
>trackskew: 0
>cylinderskew: 0
>headswitch: 0		# microseconds
>track-to-track seek: 0	# microseconds
>drivedata: 0
>
>8 partitions:
>#        size   offset     fstype   [fsize bsize cpg/sgs]
>   a:    65536        0     4.2BSD        0     0     0   # (Cyl.    0 - 
>4*)
>   b:   183712    65536       swap                        # (Cyl.    4*- 
>15*)
>   c:  2496816        0     unused        0     0         # (Cyl.    0 - 
>155*)
>   e:    61440   249248     4.2BSD        0     0     0   # (Cyl.   15*- 
>19*)
>   f:  2186128   310688     4.2BSD        0     0     0   # (Cyl.   19*- 
>155*)
>
>What is the preferred mailing list to discuss this?
>
>Thanks,
>
>    Jeremy C. Reed
>    http://bsd.reedmedia.net/

You may want to indicate what arch this is for...my gues is i386?

A related question: does netBSD actually support more than 8 partitions per 
disk? I had read that it had bumped this limit to 16, but is this only for 
1.6's branch? Is this arch-specific also?

Another question: if OpenBSD and NetBSD no longer use the same disklabel 
scheme (if I understand the output above), why don't they use formats which 
cannot be mistaken for each other? Was it *necessary* to make them 
incompatibe in the first place?

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com