Subject: 8 Gig disk partition limit
To: None <port-mac68k@netbsd.org>
From: Donald Lee <donlee_68k@icompute.com>
List: port-mac68k
Date: 01/08/2000 23:30:37
>>Another question:
>>
>>Is there an inherent limit of 8 Gig on an ffs partition?
>>
>>I have an 18Gig disk, and I want to use it as a single partition.
>>The tools I have seem to limit me to 8 Gig per.
>>
>>Is this me, the tools, or the filesystem?
>
>There's no limit on the disk size, even in the mac68k port.  I ran an 
>18Gig drive on my mac68k system for over a year.  The problem is in 
>getting it partitioned under MacOS.  Most versions of MacOS that still 
>run on the 68k line of Macs have limits on partition size.  My solution 
>at the time was to partition the disk on a PPC mac, then move it back to 
>the 68k system.  Nowdays you have another (experimental) method.  If you 
>use a copy of the Installation Kernel which includes sysinst, it is 
>capable of partitioning a disk of this size for NetBSD use.  If you want 
>to give it a try let me know and I'll make a copy available for you that 
>is known to work on my 18Gig/NetBSD mac68k system.

I figured out a way to do it too.

Obstacles:
	Apple HD SC Setup won't see the disk at all.
	(Quantum Atlas III, 18 Gig)

	Silver Lining only allows you to create A/UX partitions, and
	seems to limit those to 8 Gig.

	Drive Setup does not allow you to create anything but MacOS and
	ProDos partitions.

	Mkfs (NetBSD utility) will only convert partitions IFF there is
	at least one A/UX (unix) partition on the disk

	mkfs (NetBSD utility) mis-displays the size of the partition.

I divined the following procedure:

	Partition the disk with Silver Lining 5.8.3 to have at least
	one partition that is A/UX.

	Use mkfs to convert the partition to NetBSD ffs.

	Give the disk back to Silver Lining and change
	the partition size.

	Go back to mkfs to create the filesystem,
	as long as you ignore the size of the partition displayed by mkfs.
	(It gives the size correctly on the table that lists all the
	parameters, it just messes up in the box where it shows just the size)

I ended up simply going to netBSD and doing a newfs on it.
That worked fine.  It was a little contrived, but it worked.

I have a desire now to go in and hack Mkfs a little so it could simply
allow me to convert hfs partitions, without requiring at least one
unix fs on the disk.  Maybe I'll get ambitious tomorrow. ;->

Thanks,

-dgl-