Re: Reattach/redetect allways connected umass device - is it possible ?
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 03/28/05
- Previous message: Vladimir Grebenschikov: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- In reply to: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Next in thread: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Reply: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Reply: Scott: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Reply: M. Warner Losh: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: ticso@cicely.de Date: Mon, 28 Mar 2005 16:24:30 +0200
In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter writes:
>> Driver support for this is not really meaterialized and therefore
>> the model now is that when the media is ejected the geom device
>> is removed and a new one created right away, even if a new media
>> is not inserted right away.
>
>Do you get eject notifications from any device type?
Right now I belive floppy disks DTRT.
>One of my problems is that it is possible with SCSI MO drives to
>eject the media, reinsert a new one and errously continue to work
>with the old GEOM layout.
>I already trashed the data on one media by forgetting to trigger
>a reprobe - since then I use a mount script.
Well, I have no idea how to pull the information out of the CAM/SCSI
code, but I'm sure there is _some_ way it can be done.
-- 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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Vladimir Grebenschikov: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- In reply to: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Next in thread: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Reply: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Reply: Scott: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Reply: M. Warner Losh: "Re: Reattach/redetect allways connected umass device - is it possible ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|