From owner-freebsd-questions@FreeBSD.ORG Mon May 29 21:16:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 99CBF16A6CC for ; Mon, 29 May 2006 21:16:12 +0000 (UTC) (envelope-from aren.tyr@gawab.com) Received: from info3.gawab.com (info3.gawab.com [204.97.230.45]) by mx1.FreeBSD.org (Postfix) with SMTP id 17EF943D58 for ; Mon, 29 May 2006 21:16:12 +0000 (GMT) (envelope-from aren.tyr@gawab.com) Received: (qmail 23905 invoked by uid 1004); 29 May 2006 21:16:25 -0000 Received: from unknown (HELO yggdrasil) (aren.tyr@gawab.com@62.56.121.23) by gawab.com with SMTP; 29 May 2006 21:16:25 -0000 X-Trusted: Whitelisted From: Aren Olvalde Tyr To: freebsd-questions@freebsd.org Date: Mon, 29 May 2006 22:13:22 +0100 User-Agent: KMail/1.9.1 References: <20060522230755.3ec1b02e@devil.troback.com> <200605281626.06877.aren.tyr@gawab.com> <20060528224237.3c38da44@devil.troback.com> In-Reply-To: <20060528224237.3c38da44@devil.troback.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1993094.6C02bFMQhL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605292213.30611.aren.tyr@gawab.com> Subject: Re: Missing devs... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 21:16:22 -0000 --nextPart1993094.6C02bFMQhL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi On Sunday 28 May 2006 21:42, Anders Troback wrote: > In my usbd.conf I have: > > device "Sony Ericsson W810i" > devname "umass[0-9]+" > vendor 0x0fce > product 0xe042 > attach "sleep 5 ; /sbin/mount -t msdos /dev/da1 /mnt ; /etc/rc.d/devfs > restart" > > As I said, this works for me but it seams to be a bit stupid that this > kind of workaround is needed... Yes, indeed. I was thinking about doing a similar workaround, but surely th= ere=20 must be a better way of doing this. We need a way for mount to automaticall= y=20 probe the device for filesystems first before attempting to mount the slice. Anyone got any suggestions? Just out of interest, during bootup, what command is executed to probe the= =20 devices? If I put a memory card in my reader before booting the system up,= =20 the filesystem slices on the card are detected, the device node[s] are=20 created and I can mount it straight away.=20 This is the command I want, rather than having to run a mount command that = we=20 know will fail just to create the nodes. Aren. --nextPart1993094.6C02bFMQhL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEe2P6oWGxb6IQ4B4RAnnsAJ92FHmCT6Nn8nzEBMbrSg8TI+pI7wCgmEzK NzQgT2Mqcx+tCxj50Q/n1D8= =1wly -----END PGP SIGNATURE----- --nextPart1993094.6C02bFMQhL--