You need to "eject" the device if the media changes (which it sounds like
it effectively does for this device).

On Tue, 18 Mar 2003, Jan Fabry wrote:

> I think this could be a dangerous situation. My camera has an internal
> memory (11Mb), which is not accessible if a memory card is used. If I
> connect the camera with the memory card, /proc/partitions sees 62592
> blocks (for a 64Mb card). If I disconnect the camera, /proc/partitions
> doesn't change. If I reconnect the camera, but without the memory card,
> /proc/partitions still says /dev/sda has 62592 blocks, while it should
> be 11264.
> 
> Other utilities like updfstab (comes with Red Hat distro's), which
> search the computer for mountable devices, also report /dev/sda1 can be
> mounted, while it can't.
> 
> So I think this is not the way it is supposed to work... I would expect
> the computer to go back in the state it was before I connected the
> camera.
> 
> Greetings,
> 
> Jan Fabry
> 
> On Tue, 2003-03-18 at 17:24, Stephen J. Gowdy wrote:
> > I believe this is intentional incase you plug your device back in again.
> > 
> > On Tue, 18 Mar 2003, Jan Fabry wrote:
> > > 
> > > However, nothing happens when I disconnect the camera. I get a message
> > > in /var/log/messages, but the device is still listed in /proc/scsi/scsi,
> > > and I can get information about it in /proc/scsi/usb-storage-0/1. The
> > > module also stays in memory.
> > > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink? 
> You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> 

-- 
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to