Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: nslay on July 02, 2007, 01:36:37 PM

Title: The Linux Solution
Post by: nslay on July 02, 2007, 01:36:37 PM
I was reading this thread (http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074395.html) 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
QuoteIn 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.html

And even funnier, Scott Long writes
QuoteI'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.html

Watching 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.