GEOM weirdness with SD flash reader?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jul 2 04:50:43 UTC 2007


In message <4688830C.6050701 at 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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list