I was reading
this thread about GEOM providers and newly discovered USB media in freebsd-current@ list (development branch) and I was quite amused by a couple comments
A quote from Poul-Henning Kamp
In message <4688830C.6050701@root.org>, Nate Lawson writes:
> >camcontrol tur (test unit ready) will return an error or success if the
> >medium is now present. Kicking off a process to do that when a
> >removable media da(4) device appears seems like a good idea. It could
> >also be a thread in devd.
I would call that "The Linux Solution" :-)
The right place to poll is from scsi_da.
http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074410.htmlAnd even funnier, Scott Long writes
I'm going to ask that you guys let me know before you adulterate scsi_da
with this.
Scott
http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074416.htmlWatching this list is quite fascinating ... its interesting to see the discussion and addition of new features, hardware support, kernel features, and userland tools all in real time.