letting glabel recognise a media change

Ivan Voras ivoras at freebsd.org
Thu Sep 30 09:59:10 UTC 2010

On 09/30/10 00:28, Matthew Jacob wrote:
> On 9/29/2010 2:45 PM, Andriy Gapon wrote:
>> on 30/09/2010 00:12 Alexander Best said the following:
>>> hi there,
>>> i wanted to ask if it would be possible to asjust glabel so that e.g.
>>> inserting
>>> a new media into a dvd-drive gets recognised and glabel displays the
>>> lablel
>>> right away.
>> Yes, of course, as soon as we have in kernel a programmatic way to
>> know that
>> media as changed.
>> We don't have one right now...
> What announcement API would you like to add?
> If something like that was in place, I assure you that things would
> start to use it very quickly.

It doesn't have to be a heavy "announcement API". Basically, something 
would have to re-trigger GEOM tasting on existing devices, probably by 
marking them "spoiled" first.

More information about the freebsd-current mailing list