Re: GEOM weirdness with SD flash reader?

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 02 Jul 2007 04:50:41 +0000
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.
Received on Mon Jul 02 2007 - 02:50:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC