From owner-freebsd-questions@FreeBSD.ORG Mon May 29 22:24:31 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 582D016B641 for ; Mon, 29 May 2006 22:24:31 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay1.av-mx.com (relay1.av-mx.com [137.118.16.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB43D43D79 for ; Mon, 29 May 2006 22:24:30 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.55] (HELO mx3.av-mx.com) by relay1.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 285754109 for freebsd-questions@freebsd.org; Mon, 29 May 2006 18:24:29 -0400 Received: (qmail 12471 invoked from network); 29 May 2006 22:24:29 -0000 Received: from dsl30019.ywave.com (HELO ?192.168.1.64?) (micahjon@ywave.com@216.227.117.19) by mx3.av-mx.com with SMTP; 29 May 2006 22:24:29 -0000 X-CLIENT-IP: 216.227.117.19 X-CLIENT-HOST: dsl30019.ywave.com Message-ID: <447B749A.90104@ywave.com> Date: Mon, 29 May 2006 15:24:26 -0700 From: Micah User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Aren Olvalde Tyr References: <20060522230755.3ec1b02e@devil.troback.com> <200605281626.06877.aren.tyr@gawab.com> <20060528224237.3c38da44@devil.troback.com> <200605292213.30611.aren.tyr@gawab.com> In-Reply-To: <200605292213.30611.aren.tyr@gawab.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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 22:24:42 -0000 Aren Olvalde Tyr wrote: > 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 there > must be a better way of doing this. We need a way for mount to automatically > 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 > devices? If I put a memory card in my reader before booting the system up, > the filesystem slices on the card are detected, the device node[s] are > created and I can mount it straight away. > > This is the command I want, rather than having to run a mount command that we > know will fail just to create the nodes. > > Aren. I've not been following this thread too closely, but I think I've had the same problem in the past. I currently get around it by not leaving my media readers plugged in (they're both external USB readers). I insert my media card then plug in the reader and have no problems. I *think* true > /dev/da1 will get devfs to show the slices, but I can't find my old post that has that little bit of info in it. I always thought the device should trigger and event when media was inserted, and that the event should trigger devfs to show the slices.... Hope that provides insight, Micah