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

Re: Where are wd0s1, wd0s2, wd0s3?



After all these discussions, I suspect that my disklabel is supposed to give me
some information that it's not giving, or I am not able to *see* that
information. Because, as I mentioned earlier, I have tried everything written
in FAQ, but nothing works out.

I am attaching the output of "disklabel wd0" and "fdisk wd0" with this mail.
Also, disklabel gives me some errors, however, I don't know if that is the
source of problems.

	--manas

On Mon Aug 06, 2001 at 03:54:42PM +0300, Heikki Korpela wrote:
> On Mon, 6 Aug 2001, Manas Garg wrote:
> 
> > That faq explains how to run linux binaries but that's not the information
> > I am looking for (or I have mastered the art of skipping lines).
> 
> You missed the last lines:
> 
> "OpenBSD supports the EXT2FS file system. Use disklabel disk (where disk is
> the device name for your disk. ) to see what OpenBSD thinks your Linux
> partition is (but don't use disklabel or fdisk to make any changes to it).
> For further information on using disklabel read FAQ 14.1."
> 
> > I played with disklabel also, but couldn't figure out what action of mine
> > will create device files in /dev/ that correspond to various primary
> > partitions on
> > which OpenBSD doesn't reside.
> 
> You don't create them.
> 
> disklabel partition 'i' corresponds to /dev/[r]wd0i if your disk is wd0.
> You do mount_ext2fs /dev/wd0i /foo.
> 
> Linux ext2fs partitions should show up as 'ext2fs' in the disklabel output.
> 
> > 	--manas
# using MBR partition 3: type A6 off 12852000 (0xc41b20) size 3582495 (0x36aa1f)
# /dev/rwd0c:
type: ESDI
disk: wd0s4
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 415
total sectors: 6666975
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]
  a:   409600 12852000    4.2BSD     1024  8192    16 	# (Cyl.  800 - 825*)
  b:   266240 13261600      swap                      	# (Cyl.  825*- 842*)
  c:  6666975 12852000    unused        0     0       	# (Cyl.  800 - 1214)
  e:   204800 13527840    4.2BSD     1024  8192    16 	# (Cyl.  842*- 854*)
  f:   102400 13732640    4.2BSD     1024  8192    16 	# (Cyl.  854*- 861*)
  g:  5683935 13835040    4.2BSD     1024  8192    16 	# (Cyl.  861*- 1214)
disklabel: partition a: offset past end of unit
disklabel: partition a: partition extends past end of unit
disklabel: partition b: offset past end of unit
disklabel: partition b: partition extends past end of unit
disklabel: partition c: offset past end of unit
disklabel: partition c: partition extends past end of unit
disklabel: partition e: offset past end of unit
disklabel: partition e: partition extends past end of unit
disklabel: partition f: offset past end of unit
disklabel: partition f: partition extends past end of unit
disklabel: partition g: offset past end of unit
disklabel: partition g: partition extends past end of unit
Disk: wd0	geometry: 1023/255/63 [16434495 sectors]
Offset: 0	Signatures: 0xAA55,0x0
         Starting        Ending
 #: id  cyl  hd sec -   cyl  hd sec [     start -       size]
-------------------------------------------------------------------------
 0: 82    0   1   1 -    15 254  63 [        63 -     256977] Linux swap  
 1: 83   16   0   1 -   501 254  63 [    257040 -    7807590] Linux files*
 2: 83  502   0   1 -   799 254  63 [   8064630 -    4787370] Linux files*
*3: A6  800   0   1 -  1022 254  63 [  12852000 -    3582495] OpenBSD