Re: letting glabel recognise a media change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pawel Jakub Dawidek
Date: Monday, October 11, 2010 - 1:11 pm

On Mon, Oct 11, 2010 at 11:03:26AM -0400, John Baldwin wrote:

Right, but I still wonder if we could execute provider orphan and
retaste on various events like media insertion or removal. If media is
removed we orphan provider and recreate it, which will trigger retaste,
and this is fine there will be nothing to read from or write to (we will
simply return errors as we do now, I think). This way we nicely
co-operate with GEOM, but also with other tools that don't require media
to be present (if there is no media devfs entry still exists and handles
ioctls, it just return errors on read requests).

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
letting glabel recognise a media change, Alexander Best, (Wed Sep 29, 2:12 pm)
Re: letting glabel recognise a media change, Andriy Gapon, (Wed Sep 29, 2:45 pm)
Re: letting glabel recognise a media change, Matthew Jacob, (Wed Sep 29, 3:28 pm)
Re: letting glabel recognise a media change, Ivan Voras, (Thu Sep 30, 2:59 am)
Re: letting glabel recognise a media change, Andriy Gapon, (Thu Sep 30, 4:22 am)
Re: letting glabel recognise a media change, Matthew Jacob, (Thu Sep 30, 5:45 am)
Re: letting glabel recognise a media change, Matthew Jacob, (Thu Sep 30, 5:53 am)
Re: letting glabel recognise a media change, Alexander Motin, (Thu Sep 30, 10:46 am)
Re: letting glabel recognise a media change, Andriy Gapon, (Thu Sep 30, 1:45 pm)
Re: letting glabel recognise a media change, Andriy Gapon, (Thu Sep 30, 1:49 pm)
Re: letting glabel recognise a media change, Alexander Motin, (Thu Sep 30, 2:00 pm)
Re: letting glabel recognise a media change, Doug Barton, (Thu Sep 30, 2:07 pm)
Re: letting glabel recognise a media change, Dimitry Andric, (Thu Sep 30, 2:29 pm)
Re: letting glabel recognise a media change, Doug Barton, (Thu Sep 30, 2:34 pm)
Re: letting glabel recognise a media change, Doug Barton, (Thu Sep 30, 2:38 pm)
Re: letting glabel recognise a media change, Garrett Cooper, (Thu Sep 30, 3:20 pm)
Re: letting glabel recognise a media change, Doug Barton, (Thu Sep 30, 8:41 pm)
Re: letting glabel recognise a media change, Pawel Jakub Dawidek, (Sun Oct 10, 8:53 am)
Re: letting glabel recognise a media change, Alexander Motin, (Sun Oct 10, 1:55 pm)
Re: letting glabel recognise a media change, Søren Schmidt, (Mon Oct 11, 12:46 am)
Re: letting glabel recognise a media change, John Baldwin, (Mon Oct 11, 8:03 am)
Re: letting glabel recognise a media change, Pawel Jakub Dawidek, (Mon Oct 11, 1:11 pm)
Re: letting glabel recognise a media change, Andriy Gapon, (Tue Oct 12, 5:50 am)
Re: letting glabel recognise a media change, John Baldwin, (Tue Oct 12, 6:08 am)