Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 22:54:17 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-hackers@freebsd.org
Subject:   devctl (alike?) for devfs
Message-ID:  <480E4269.2090604@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

Maybe this is a crazy idea or maybe we already have something like this.
Is it possible to get notifications about changes in devfs - appearance
and disappearance of devices (in devfs sense of the word)?
devctl currently notifies about real (hardware) devices handled by
device drivers and some notifications about hardware/driver events.
But what if I want to automatically run some action if
/dev/ufs/magic-label appears?
Or if I want to monitor appearance and disappearance of ad* and da*
devices (without having to monitor low level drivers like umass)?

-- 
Andriy Gapon



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