Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 08:58:42 -1000
From:      hoe-waa@hawaii.rr.com
To:        Dinesh Nair <dinesh@alphaque.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: changing card in a reader (revisited)
Message-ID:  <164313316483d8.16483d81643133@socal.rr.com>

next in thread | raw e-mail | index | archive | help



From: Dinesh Nair <dinesh@alphaque.com>
Date: Tuesday, July 20, 2004 7:44 am

> 
> what does '/sbin/fdisk da2' say ?
> 
> Regards,                           


Aloha and Mahalo

I do get something different displayed with fdisk.

<insert and mount 8MB card>

hp# mount_msdosfs /dev/da2s1 /mnt/olympus
hp# /sbin/fdisk da2
******* Working on device /dev/da2 *******
parameters extracted from in-core disklabel are:
cylinders=7 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=7 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 1 (0x01),(Primary DOS with 12 bit FAT)
    start 25, size 15975 (7 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 10;
        end: cyl 249/ head 3/ sector 16
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

hp# umount /mnt/olympus

<change to 128MB card>

hp# mount_msdosfs /dev/da2s1 /mnt/olympus
mount_msdosfs: /dev/da2s1: Invalid argument
hp# /sbin/fdisk da2
******* Working on device /dev/da2 *******
parameters extracted from in-core disklabel are:
cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6 (0x06),(Primary 'big' DOS (>= 32MB))
    start 47, size 255953 (124 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 16;
        end: cyl 499/ head 15/ sector 32
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
hp#

Is it the "Primary 'big" that's messing me up?

Robert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?164313316483d8.16483d81643133>