From owner-freebsd-stable@FreeBSD.ORG Wed Nov 16 16:57:21 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D65E16A41F for ; Wed, 16 Nov 2005 16:57:21 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B529943D6E for ; Wed, 16 Nov 2005 16:57:14 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.3/8.13.3) with ESMTP id jAGGvCp9034849; Wed, 16 Nov 2005 17:57:12 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 3540FB822; Wed, 16 Nov 2005 17:57:12 +0100 (CET) Date: Wed, 16 Nov 2005 17:57:12 +0100 From: Roland Smith To: Brian Candler Message-ID: <20051116165712.GB33710@slackbox.xs4all.nl> Mail-Followup-To: Brian Candler , freebsd-stable@freebsd.org References: <20051116101200.GA2823@uk.tiscali.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/WwmFnJnmDyWGHa4" Content-Disposition: inline In-Reply-To: <20051116101200.GA2823@uk.tiscali.com> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: CF card and /dev filesystem entries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 16:57:21 -0000 --/WwmFnJnmDyWGHa4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 16, 2005 at 10:12:00AM +0000, Brian Candler wrote: > Running FreeBSD 6.0 here. >=20 > I have a USB-attached floppy/CF/SD combo reader. On powerup it is detected > and I get /dev/da0 as the CF slot: >=20 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device=20 > da0: 1.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > da1 at umass-sim0 bus 0 target 0 lun 1 > da1: Removable Direct Access SCSI-0 device=20 > da1: 1.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present >=20 > However, when I insert a CF card with normal partioning I need /dev/da0s1, > and this is not present in the /dev filesystem because the partition table > has not been read. > The only way I can see to *force* the superblock to be read is to attempt= to > mount the whole device as if it were unpartitioned. This is sufficient to > cause the /dev/da0s1 entry to appear in the /dev filesystem. > At this point, everything works as expected. >=20 > My question is: is there an easier or more direct way to cause the partit= ion > table of the CF card to be read and the /dev filesystem to update? Try 'camcontrol rescan all' (as root). Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --/WwmFnJnmDyWGHa4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDe2ToEnfvsMMhpyURAsiaAJ4qbiwLpWFI2BJtm7mylpxHD2eKAwCfSeZz OmE9YqdlQ4gDi1MxfVXZCaM= =HIqv -----END PGP SIGNATURE----- --/WwmFnJnmDyWGHa4--