Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 12:38:55 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        sziszi@bsd.hu
Cc:        freebsd-current@freebsd.org
Subject:   Re: devfs rules not applied on reattach
Message-ID:  <20040824.123855.50341795.imp@bsdimp.com>
In-Reply-To: <20040824082349.GA1425@momo.buza.adamsfamily.xx>
References:  <20040824074217.GC976@momo.buza.adamsfamily.xx> <200408240408.32057.mistry.7@osu.edu> <20040824082349.GA1425@momo.buza.adamsfamily.xx>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040824082349.GA1425@momo.buza.adamsfamily.xx>
            Szilveszter Adam <sziszi@bsd.hu> writes:
: 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...

I don't see how.  CAM devices aren't added to the tree, so no device
added will be generated.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824.123855.50341795.imp>