changing card in a reader (revisited)

hoe-waa at hawaii.rr.com hoe-waa at hawaii.rr.com
Thu Jul 22 13:45:33 PDT 2004




From: hoe-waa at hawaii.rr.com
Date: Tuesday, July 20, 2004 9:25 am

> From: hoe-waa at hawaii.rr.com
> Date: Tuesday, July 20, 2004 8:58 am

> > 
> > From: Dinesh Nair <dinesh at 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
> > 
> Forfeiting 6 karma points for responding to my own post.
> 
> Being curious, I unplugged and replugged the USB cable.
> I then reran fdisk with the 128MB card mounted.
> 
> hp# ls -l /dev/da*
> crw-r-----  1 root  operator    4,  27 Jul 19 06:19 /dev/da0
> crw-r-----  1 root  operator    4,  28 Jul 19 06:19 /dev/da1
> crw-r-----  1 root  operator    4,  29 Jul 19 06:19 /dev/da2
> crw-r-----  1 root  operator    4,  30 Jul 19 06:19 /dev/da2s1
> crw-r-----  1 root  operator    4,  31 Jul 19 06:19 /dev/da3
> crw-r-----  1 root  operator    4,  24 Jul 19 06:19 /dev/da4
> crw-rw----  1 root  wheel       4,  26 Jul 19 06:19 /dev/da4s1
> hp# mount_msdosfs /dev/da2s1 /mnt/olympus
> 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>
> 
> It looks the same!
> 
> Robert
> 

I guess I lost a lot more than 6 karma points! It's 
been two days since my last post and I haven't received
any more responses.

Please permit me to ask if there is anyone reading this
list who has this working. Specifically, the ability
to replace a card of a different size in a card reader
and be able to mount the new card.

If I have violated any Kapu or in any other way did a bad.
let me know and I will strive to do better in the future.

Mahalo
Robert




 



More information about the freebsd-questions mailing list