Subject: Creating more then 8 partitions
To: NetBSD-Help <netbsd-help@NetBSD.ORG>
From: Dante Profeta <dante@neomedia.it>
List: netbsd-help
Date: 07/08/1996 18:10:25
I`ve currently 8 partition (from sd0a to sd0h) on my hd:

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    61040        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 139)
  b:   245904    61040      swap                        # (Cyl.  140 - 703)
  c:  2104136        0    unused        0     0         # (Cyl.    0 - 4825)
  d:  2104136        0    unused        0     0         # (Cyl.    0 - 4825)
  e:   614324   306944    4.2BSD     1024  8192    16   # (Cyl.  704 - 2112)
  f:   732044   921268    4.2BSD     1024  8192    16   # (Cyl. 2113 - 3791)
  g:   409840  1653312    4.2BSD     1024  8192    16   # (Cyl. 3792 - 4731)
  h:    40984  2063152    4.2BSD     1024  8192    16   # (Cyl. 4732 - 4825)


Now I need to split a partition into two new ones.
I modified /dev/MAKEDEV file to let him create the sd0i and rsd0i devices.

Then I issue the "disklabel -e sd0" changing it as follows:

9 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    61040        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 139)
  b:   245904    61040      swap                        # (Cyl.  140 - 703)
  c:  2104136        0    unused        0     0         # (Cyl.    0 - 4825)
  d:  2104136        0    unused        0     0         # (Cyl.    0 - 4825)
  e:   614324   306944    4.2BSD     1024  8192    16   # (Cyl.  704 - 2112)
  f:   732044   921268    4.2BSD     1024  8192    16   # (Cyl. 2113 - 3791)
  g:   204920  1653312    4.2BSD     1024  8192    16   # (Cyl. 3792 - 4261)
  h:   204920  1858232    4.2BSD     1024  8192    16   # (Cyl. 4262 - 4731)
  i:    40984  2063152    4.2BSD     1024  8192    16   # (Cyl. 4732 - 4825)

But, when I exit it says:

"wrong # of partitions"

Why I get this message?
I hope I could have more then 8 partitions.

Thanks a lot