Subject: Re: Creating more then 8 partitions
To: Dante Profeta <dante@neomedia.it>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-help
Date: 07/08/1996 12:39:31
On Mon, 08 Jul 1996 18:10:25 +0200
Dante Profeta <dante@neomedia.it> wrote:
One quick question:
"Which platform are you using?"
Only a couple of NetBSD platforms support more than 8 partitions, and
they do so only because the "native" partition table format supports more
than 8 (currently the amiga, atari, and mac68k ... are there others?)
> 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
-- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ --
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939