Subject: Re: Non-BSD partitions on IDE: any chance to access?
To: Dmitry Pryanishnikov <dmitry@digital.dp.ua>
From: Rene Hexel <rh@idle.trapdoor.vip.at>
List: port-i386
Date: 11/15/1999 13:48:36
Dmitry Pryanishnikov wrote:

> slice of wd0. In OpenBSD, there is wd0i,j etc. as a designators for 1-st,
> 2-nd etc. non-BSD partitions. But NetBSD minor conventions allow only
> 8 partitions per physical drive, thus making DOS partition invisible.
> It would be nice to have access to other (non-BSD) partitions on the system
> disk, isn't it?

  On NetBSD there is no 'designated non-BSD' partition.  However, you
can always use one of the disklabel partitions for DOS (even if the
actual blocks are outside the MBR (fdisk) NetBSD parition).  For
example, for my 4GB harddisk 'sd0', disklabel shows:

...

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:   307500  2217000     4.2BSD     1024  8192    16   # (Cyl. 1478 -
1682)
  b:   528000  2524500       swap                        # (Cyl. 1683 -
2034)
  c:  6631500  2217000     unused        0     0         # (Cyl. 1478 -
5898)
  d:  8848500        0     unused        0     0         # (Cyl.    0 -
5898)
  e:   600000  3052500     4.2BSD     1024  8192    16   # (Cyl. 2035 -
2434)
  f:   300000  3652500     4.2BSD     1024  8192    16   # (Cyl. 2435 -
2634)
  g:  4896000  3952500     4.2BSD     1024  8192    16   # (Cyl. 2635 -
5898)
  h:  1156617       63      MSDOS                        # (Cyl.    0*-
771*)


  As you can see, partition 'sd0h' points to a non-NetBSD part of the
disk and is, in fact, an MS-DOS partition.  You can even automount these
partitions through your /etc/fstab (just make sure you specifiy 'msdos'
as filesystem type for these partitions).

  Cheers
      ,
   Rene