Subject: Re: Disk partition calculations
To: None <netbsd-users@netbsd.org>
From: None <jaw+netbsd@tcp4me.com>
List: netbsd-users
Date: 03/20/2002 17:36:03
| Ok, so I got my NetBSD kernel up on my XScale processor, and
| attached disk. At this point, it was not obvious from the man page
| for disklabel, what niffty tool there may be which just basically asks
| the questions 1) how many partitions, and 2) what size in MB,
| rather than being confronted with disktab sectors/cylinders (who
| remembers when cylinders where important...) etc.
| 
| I did come up with a partition table, but the question still remains,
| is there a NetBSD tool, or set of tools to make this sort of thing
| simple. I don't mind the disktab entry, if it's calculated but something
| other than my hand.


I wrote a quick perl script to do just that, once upon a time.
you are welcome to a copy:
	http://www.tcp4me.com/code/partition

	--jeff