Date: Tue, 20 Jul 2004 09:25:31 -1000 From: hoe-waa@hawaii.rr.com To: hoe-waa@hawaii.rr.com Cc: freebsd-questions@freebsd.org Subject: Re: changing card in a reader (revisited) Message-ID: <15fecc515f932f.15f932f15fecc5@socal.rr.com>
next in thread | raw e-mail | index | archive | help
----- Original Message ----- From: hoe-waa@hawaii.rr.com Date: Tuesday, July 20, 2004 8:58 am Subject: Re: changing card in a reader (revisited) > > > > 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 > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15fecc515f932f.15f932f15fecc5>