Could you use devfs and dnotify?
http://www.student.lu.se/~nbi98oli/dnotify.html

There's got to be a way to do it because if I put a blank CDR in the drive
I get this in the log:

Dec 28 12:12:45 localhost kernel: cdrom: This disc doesn't have any 
tracks I recognize!

--
Gerry Skerbitz
gsker at tcfreenet.org


On Tue, 28 Dec 2004 nate at refried.org wrote:
> On Tue, Dec 28, 2004 at 10:59:21AM -0600, Jim Crumley wrote:
>> On Tue, Dec 28, 2004 at 10:26:51AM -0600, John Meier wrote:
[SNIP]
> What I would like to find is a way to register a call-back to the kernel
> for cd insertion.  Does anyone know if that exists?

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list