Re: Reattach/redetect allways connected umass device - is it possible ?

Scott <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Poul-Henning Kamp wrote:
> In message <[email protected]>, 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.
> 

So are you saying that an async notification mechanism needs to be
invented for SCSI, or that all SCSI users should be required to use
SES or SAFTE enclosures for all SCSI devices, or that we should be like
Windows and constantly poll the devices?

Scott
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.