Re: devfs rules not applied on reattach

From: Szilveszter Adam <sziszi_at_bsd.hu>
Date: Tue, 24 Aug 2004 10:23:49 +0200
On Tue, Aug 24, 2004 at 04:08:24AM -0400, Anish Mistry wrote:
> On Tuesday 24 August 2004 03:42 am, Szilveszter Adam wrote:
> > Hello Anish,
> >
> > I think you need devd running and devd.conf configured for this to
> > work.
> >
> > But maybe I am wrong...
> I do have devd running.  What would go in devd.conf then?

Well, devd.conf isn't exactly heavy on documentation, but I would think
that you can do something like:

attach 0 {
     device-name "da[0-9]+";
     action "chmod 755"; // or even
     action "/etc/rc.d/devfs start" // but it depends what you have in
     there.
     };

Of course, others might be able to give you better suggestions, I have
not tried this, but only based it on the docs that I read and on
/usr/share/examples/etc/devd.conf

Hope this helps somewhat...

-- 
Regards:

Szilveszter ADAM
Budapest
Hungary
Received on Tue Aug 24 2004 - 06:22:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC