From owner-freebsd-questions@FreeBSD.ORG Sun May 28 20:53:50 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 38D9B16C580 for ; Sun, 28 May 2006 20:42:47 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from devil.troback.com (c-195-216-040-156.cust.thalamus.net [195.216.40.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C57543D70 for ; Sun, 28 May 2006 20:42:39 +0000 (GMT) (envelope-from freebsd@troback.com) Received: from devil.troback.com (localhost.troback.com [127.0.0.1]) by devil.troback.com (Postfix) with ESMTP id 41EEB114B0 for ; Sun, 28 May 2006 22:42:38 +0200 (CEST) Date: Sun, 28 May 2006 22:42:37 +0200 From: Anders Troback To: freebsd-questions@freebsd.org Message-ID: <20060528224237.3c38da44@devil.troback.com> In-Reply-To: <200605281626.06877.aren.tyr@gawab.com> References: <20060522230755.3ec1b02e@devil.troback.com> <200605281626.06877.aren.tyr@gawab.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Sun, 28 May 2006 20:54:00 -0000 On Sun, 28 May 2006 16:25:58 +0100 Aren Olvalde Tyr wrote: > Hi > > So now to my question! How do I avoid this dual mounting? >=20 > I have the same problem with my memory card reader.=20 >=20 > The necessary da1s1 device node slice for my SD memory card is not > created until after it has been probed during the attempt to mount > it. The only exception to this is if the card is already inserted > when the system first boots up. >=20 > Presumably there must be a way to automatically probe the USB > device/card and create the slice so you can mount it when it is first > inserted? >=20 > I am wondering if /etc/usbd.conf would be of assistance here. Can you > get the usbd daemon to automatically "probe" a device for filesystem > slices during the "attach" stage? >=20 > Aren. Hi, I have been using usbd.conf for a workaround. Maybe clumsy but it works for me! 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 r= estart" As I said, this works for me but it seams to be a bit stupid that this kind of workaround is needed... Thanks for listening!!! \\troback --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D How many Microsoft employees does it take to screw in a light bulb? None, they declare darkness a new standard. ---------------------------------------------------------------- Anders Trob=E4ck http://www.troback.com/ -