letting glabel recognise a media change

Andriy Gapon avg at icyb.net.ua
Thu Sep 30 20:49:58 UTC 2010


on 30/09/2010 15:53 Matthew Jacob said the following:
> 
> Oh? Why?

In fact, I am not sure anymore :-)
I had in mind some technical difficulties (like potential races with "normal"
usage), but I think that they all are not very hard to overcome.
Another question I had was how to poll, i.e. what command(s) to issue to cover
different possibilities and hardware capabilities.

Now all we need is someone to actually implement this :)

>> I am not sure about this.
>> Because, e.g. I don't see an easy way to know that media is changed in scsi_cd
>> driver.  That is, without polling.  I don't consider polling to be an easy way
>> for
>> a number of reasons.
>>
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 


-- 
Andriy Gapon


More information about the freebsd-current mailing list