From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 19:25:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2B5E16A4CE for ; Tue, 20 Jul 2004 19:25:33 +0000 (GMT) Received: from ms-smtp-01-eri0.socal.rr.com (ms-smtp-01-qfe0.socal.rr.com [66.75.162.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB5D743D4C for ; Tue, 20 Jul 2004 19:25:33 +0000 (GMT) (envelope-from hoe-waa@hawaii.rr.com) Received: from ms-mss-01 ([10.10.4.12])i6KJPV6j023255 for ; Tue, 20 Jul 2004 12:25:31 -0700 (PDT) Received: from socal.rr.com (localhost [127.0.0.1]) by ms-mss-01.socal.rr.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I1600GMM0MJF7@ms-mss-01.socal.rr.com> for freebsd-questions@freebsd.org; Tue, 20 Jul 2004 12:25:31 -0700 (PDT) Received: from [10.10.6.203] (Forwarded-For: [68.8.243.244]) by ms-mss-01.socal.rr.com (mshttpd); Tue, 20 Jul 2004 09:25:31 -1000 Date: Tue, 20 Jul 2004 09:25:31 -1000 From: hoe-waa@hawaii.rr.com To: hoe-waa@hawaii.rr.com Message-id: <15fecc515f932f.15f932f15fecc5@socal.rr.com> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: Dinesh Nair cc: freebsd-questions@freebsd.org Subject: Re: changing card in a reader (revisited) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hoe-waa@hawaii.rr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 19:25:34 -0000 ----- 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 > 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. > > > > 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: > > The data for partition 3 is: > > The data for partition 4 is: > > > hp# umount /mnt/olympus > > > > 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: > > The data for partition 3 is: > > The data for partition 4 is: > > 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: The data for partition 3 is: The data for partition 4 is: It looks the same! Robert