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
