Subject: Re: mount_msdos...
To: None <port-i386@netbsd.org>
From: None <seebs@plethora.net>
List: port-i386
Date: 10/12/1999 16:41:56
In message <Pine.SOL.3.96.991012172955.17345B-100000@bitter.mit.edu>, mcmahill@
mtl.mit.edu writes:
>mount -t msdos /dev/whatever /dos
Yup. That's what I'm trying.
So, as an example, here's my fdisk output and disklabel output. Should I be
using a different offset for the disklabel partition than for the fdisk
partition? I got the same result trying to use the fdisk table 1 entry.
>>NetBSD disklabel disk geometry:
>>cylinders: 13424 heads: 15 sectors/track: 63 (945 sectors/cylinder)
>>
>>BIOS disk geometry:
>>cylinders: 838 heads: 240 sectors/track: 63 (15120 sectors/cylinder)
>>
>>Partition table:
>>0: sysid 22 (OS/2 BM: hidden DOS 16-bit FAT >=32M)
>> start 63, size 1436338 (701 MB), flag 0x0
>> beg: cylinder 0, head 1, sector 1
>> end: cylinder 95, head 0, sector 1
>>1: sysid 22 (OS/2 BM: hidden DOS 16-bit FAT >=32M)
>> start 9586080, size 3069360 (1498 MB), flag 0x0
>> beg: cylinder 634, head 0, sector 1
>> end: cylinder 836, head 239, sector 63
>>2: sysid 169 (NetBSD)
>> start 1436400, size 8149680 (3979 MB), flag 0x80
>> beg: cylinder 95, head 0, sector 1
>> end: cylinder 634, head 0, sector 1
>>3: <UNUSED>
>># /dev/rwd0d:
>>type: unknown
>>disk: mydisk
>>label:
>>flags:
>>bytes/sector: 512
>>sectors/track: 63
>>tracks/cylinder: 15
>>sectors/cylinder: 945
>>cylinders: 13424
>>total sectors: 12685680
>>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: 98280 1436400 4.2BSD 1024 8192 16 # (Cyl. 1520 - 1623)
>> b: 393120 1534680 swap # (Cyl. 1624 - 2039)
>> c: 8149680 1436400 unused 0 0 # (Cyl. 1520 - 10143)
>> d: 1436338 63 MSDOS # (Cyl. 0*- 1520*)
>> e: 1842750 1927800 4.2BSD 1024 8192 16 # (Cyl. 2040 - 3989)
>> f: 307125 3770550 4.2BSD 1024 8192 16 # (Cyl. 3990 - 4314)
>> g: 3686445 4077675 4.2BSD 1024 8192 16 # (Cyl. 4315 - 8215)
>> h: 1821960 7764120 4.2BSD 1024 8192 16 # (Cyl. 8216 - 10143)