Date: Sun, 25 Oct 2009 10:02:55 +0100 From: Szilveszter Adam <sziszi@bsd.hu> To: freebsd-current@freebsd.org Subject: Re: Creating /dev links to dynamic devices Message-ID: <20091025090255.GA1999@baranyfelhocske.buza.adamsfamily.xx> In-Reply-To: <alpine.BSF.2.00.0910242134540.24264@wonkity.com> References: <alpine.BSF.2.00.0910241934310.23784@wonkity.com> <fd9cd3450910241907k5661e1b3jfdcf6f59d73a4e5f@mail.gmail.com> <alpine.BSF.2.00.0910242102400.24135@wonkity.com> <fd9cd3450910242026p6f9d84cap274b03deee6534ee@mail.gmail.com> <alpine.BSF.2.00.0910242134540.24264@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 24, 2009 at 09:52:30PM -0600, Warren Block wrote: > > In this case, so I can run scanbuttond on creation of uscanner0. Yes, > that could be done on detection of the vendor and product IDs and using > the ugen device for this example. > > But it seems to show that either the ability to dynamically create > "static device links" isn't there, or I just haven't found it yet. Looks like you are right. The creation of links as specified in devfs.conf is handled by custom code in /etc/rc.d/devfs, it cannot be specified as the "action" part of a devfs rule at this time. Your best bet is to use devd.conf, there you have more freedom (but you have already hinted at this yourself) -- Regards: Szilveszter ADAM Budapest Hungary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091025090255.GA1999>