Date: Mon, 28 Mar 2005 15:33:38 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: ticso@cicely.de Cc: Julian Elischer <julian@elischer.org> Subject: Re: Reattach/redetect allways connected umass device - is it possible ? Message-ID: <31970.1112016818@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 28 Mar 2005 15:13:19 %2B0200." <20050328131318.GC14532@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20050328131318.GC14532@cicely12.cicely.de>, Bernd Walter writes: >On Mon, Mar 28, 2005 at 02:13:16PM +0200, Poul-Henning Kamp wrote: >> In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: >> >> >> camcontrol detach da0; camcontrol rescan all >> >> helps, but, it should be much better if it will be issued automatically. >> > >> >Yes - GEOM seems to ignore media change signals from drives. >> >I've added PHK to the recipient list - maybe he has an idea about this >> >problem. >> >> No, GEOM doesn't ignore any such thing, because as far as I know >> GEOM doesn't get any such thing to ignore in the first place. > >At least with (most) SCSI devices you get a media changed exception >on the first access after that. Yes, but sane people would argue that is one turn too late in the game, whouldn' they ? We should get an async event as soon as the media disappears. -- 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?31970.1112016818>