Date: Sun, 28 May 2006 22:42:37 +0200 From: Anders Troback <freebsd@troback.com> To: freebsd-questions@freebsd.org Subject: Re: Missing devs... 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 May 2006 16:25:58 +0100 Aren Olvalde Tyr <aren.tyr@gawab.com> 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/ -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060528224237.3c38da44>