[1407] in netbsd-help mailing list archive
access to DOS ext. partition
daemon@ATHENA.MIT.EDU (Robert J Fleming)
Tue Feb 16 15:34:57 1999
To: netbsd-help@MIT.EDU
Date: Tue, 16 Feb 1999 15:34:46 EST
From: Robert J Fleming <bfleming@MIT.EDU>
Can anyone point me to some info on mounting DOS extended
partitions...I've gone through what I could find at netbsd.org and am
still having some trouble figuring out what's going on with drive
geometry. I haven't been able to figure out how to specify the size of
the partitions to disklabel.
what disklabel tells me (7944 cyl, 1008 sectors/cyl) differs from the
992/128 geometry I know about.
machine is working...should I worry about changing disklabel for my
NetBSD partitions?
Thanks for any help...(info follows)
fdisk says:
******* Working on device /dev/rwd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=7944 heads=16 sectors/track=63 (1008 sectors/cylinder)
parameters to be used for BIOS calculations are:
cylinders=993 heads=128 sectors/track=63 (8064 sectors/cylinder)
Information from DOS bootblock is:
0: sysid 6 (Primary 'big' DOS, 16-bit FAT (> 32MB))
start 6233535, size 1644993 (803 MB), flag 0x0
beg: cylinder 773, head 1, sector 1
end: cylinder 976, head 127, sector 63
1: sysid 5 (Extended DOS)
start 8064, size 3757824 (1834 MB), flag 0x0
beg: cylinder 1, head 0, sector 1
end: cylinder 466, head 127, sector 63
2: sysid 22 (OS/2 BM: hidden DOS 16-bit FAT >=32M)
start 7878528, size 120960 (59 MB), flag 0x0
beg: cylinder 977, head 0, sector 1
end: cylinder 991, head 127, sector 63
3: sysid 165 (NetBSD or FreeBSD or 386BSD)
start 3765888, size 2467584 (1204 MB), flag 0x80
beg: cylinder 467, head 0, sector 1
end: cylinder 772, head 127, sector 63
disklabel says:
# /dev/rwd0d:
type: ST506
disk: temp
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 7944
total sectors: 8007552
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
6 partitions:
# size offset fstype [fsize bsize cpg]
a: 98304 3765888 4.2BSD 1024 8192 16 # (Cyl. 3736
- 3833*)
b: 163840 3864192 swap # (Cyl.
3833*- 3996*)
c: 2467584 3765888 unused 0 0 # (Cyl. 3736
- 6183)
d: 8007552 0 unused 0 0 # (Cyl. 0
- 7943)
e: 131072 4028032 4.2BSD 1024 8192 16 # (Cyl.
3996*- 4126*)
f: 2072576 4159104 4.2BSD 1024 8192 16 # (Cyl.
4126*- 6182*)