From owner-freebsd-current@FreeBSD.ORG Thu Sep 30 09:59:10 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88C2F106564A for ; Thu, 30 Sep 2010 09:59:10 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3EDEF8FC14 for ; Thu, 30 Sep 2010 09:59:10 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1Fuu-0002mG-MZ for freebsd-current@freebsd.org; Thu, 30 Sep 2010 11:59:08 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 11:59:08 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 11:59:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Thu, 30 Sep 2010 11:59:10 +0200 Lines: 24 Message-ID: References: <20100929211253.GA1250@freebsd.org> <4CA3B393.8060206@icyb.net.ua> <4CA3BD7C.9080306@feral.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100518 Thunderbird/3.0.4 In-Reply-To: <4CA3BD7C.9080306@feral.com> X-Enigmail-Version: 1.0.1 Subject: Re: letting glabel recognise a media change X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 09:59:10 -0000 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.