Re: Devd event from GEOM?

From: Robert Watson <rwatson_at_freebsd.org>
Date: Tue, 25 Jan 2005 09:39:54 +0000 (GMT)
On Mon, 24 Jan 2005, M. Warner Losh wrote:

> : Since they constitute different "things" with quite different management
> : properties.  This also provides additional contextual information: rather
> : than devd having to guess what type of object a device node is using name
> : matching, by learning about it through geom or the network stack, it knows
> : what kind it is up front in a strong way. 
> 
> While I tend to agree, I do think that GEOM is the wrong layer to
> announce things from.  The more correct layer would be /dev, since you
> are again assuming that a GEOM that's created with name foo is
> accessible via /dev/foo. 

So suppose I'm listening to a devd socket to try and identify storage
devices arriving that I can automount.  How do I know which device
announcements are for storage devices?

Robert N M Watson
Received on Tue Jan 25 2005 - 08:40:26 UTC

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