Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2007 04:50:41 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Nate Lawson <nate@root.org>
Cc:        marck@rinet.ru, "M. Warner Losh" <imp@bsdimp.com>, current@freebsd.org
Subject:   Re: GEOM weirdness with SD flash reader? 
Message-ID:  <54253.1183351841@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 01 Jul 2007 21:46:04 MST." <4688830C.6050701@root.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54253.1183351841>