Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 16:40:40 -0700
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: random problem with 8.3 from yesterday
Message-ID:  <1330126840.7317.60.camel@revolution.hippie.lan>
In-Reply-To: <4F4811B4.4000701@FreeBSD.org>
References:  <201202221334.36484.erich@alogreentechnologies.com> <64FF3DF7-6EEA-480D-85AA-5784AF013EA8@lassitu.de> <201202241350.56933.erichfreebsdlist@ovitrap.com> <1330100633.7317.41.camel@revolution.hippie.lan> <4F4811B4.4000701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2012-02-25 at 00:39 +0200, Andriy Gapon wrote:
> on 24/02/2012 18:23 Ian Lepore said the following:
> > I've always
> > suspected something in the geom layer isn't noticing that a CF or SD
> > card in the reader got removed/inserted/reformatted, and un-/re-plugging
> > the whole reader (making the cam layer destroy and recreate the devices)
> > makes geom aware of the change.
> 
> This is a fact, actually.  Nothing in GEOM layer (and below it) notices a silent
> card change, since most hardware doesn't have any notification for the change
> and FreeBSD disk stack doesn't do any polling for changes.
> 

If the hardware did have change notification, is there a mechanism that
would communicate that to geom?  That's a precursor question to my real
question:  is there a way to manually kick geom when necessary?  If the
api exists but there's no userland app to make the needed calls, I'll
write some code -- just point me at a manpage or header file.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1330126840.7317.60.camel>