Date: Thu, 07 Apr 2011 08:41:14 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Andriy Gapon <avg@FreeBSD.org> Cc: freebsd-geom@FreeBSD.org Subject: Re: geom and removable media Message-ID: <54077.1302165674@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 07 Apr 2011 08:26:40 %2B0300." <4D9D4B10.1080501@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <4D9D4B10.1080501@FreeBSD.org>, Andriy Gapon writes: >on 07/04/2011 03:09 Poul-Henning Kamp said the following: >> In message <4D9C7B52.5010207@FreeBSD.org>, Andriy Gapon writes: >> >>> Suppose we implemented a mechanism to detect removal or change of removable media >>> (e.g. for optical discs in cd drives). How to signal media removal (or change)? >>> Destroy the existing and create a new disk(9)? >>> Or do some sort of geom spoil on it? >> >> Basically yes. > >Apologies, but yes to what? :) To Both :-) Look at g_wither_provider() as a starting point. -- 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?54077.1302165674>