Subject: Installboot, disklabel, and newfs on i386/NetBSD 1.3.2
To: None <netbsd-help@netbsd.org>
From: Marinier, M. Claude, G. <claude.marinier@dreo.dnd.ca>
List: netbsd-help
Date: 11/24/1998 10:59:30
I have not yot found a clear explanation of the relationship between
installboot, disklabel, and newfs. If installboot installs to a partition,
then newfs must be able to leave those sectors alone. Is this the case?
While using disklabel, I have seen 'a' partitions which begin after the
first sector. Should I be doing the same when I start with a fresh disk?

For example, the 'a' and 'b' partitions below were defined during install
from the floppy. I have been defining the 'a' partition with an uneven
size so I can start the swap partition on an even boundary. This causes
newfs to complain about unused sectors at the end.

Where can I look for an explanation?

Thanks.


# /dev/rwd0d:
type: IDE
disk: quantum ProDrive LPS420A
label: NetBSD
flags:
bytes/sector: 512
sectors/track: 51
tracks/cylinder: 16
sectors/cylinder: 816
cylinders: 1010
total sectors: 824160
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#         size   offset    fstype   [fsize bsize   cpg]
  a:   180/0/0    0/1/0     4.2BSD     1024  8192    16   # (Cyl.    0*- 180)
  b:  159/15/0  180/1/0       swap                        # (Cyl.  180*- 339*)
  c: 1009/15/0    0/1/0     unused        0     0         # (Cyl.    0*- 1009*)
  d:  1010/0/0    0/0/0     unused        0     0         # (Cyl.    0 - 1009)
  e:   634/0/0  340/0/0     4.2BSD     1024  8192    16   # (Cyl.  340 - 973)
  f:    36/0/0  974/0/0     4.2BSD     1024  8192    16   # (Cyl.  974 - 1009)

--------------------
Claude Marinier, Information Technology Group    claude.marinier@dreo.dnd.ca 
Defence Research Establishment Ottawa (DREO)    (613) 998-4901  FAX 998-2675
3701 Carling Avenue, Ottawa, Ontario  K1A 0Z4         http://www.dreo.dnd.ca