
Oliver Jones wrote:
Yes. However as noted by another poster you need to ensure the "drive" has been unmounted.
On my Fedora Core 3 powered laptop I presently have both my camera and external HDD connected via USB. Both are treated as USB Storage devices as a USB memory stick would be. When I connect them they are automatically mounted by hotplug and the hal/d-bus is told about them so Nautilus shows nice little icons on the Gnome desktop. Before I remove the devices I right click on them and select "Unmount Volume".
You can do the same with an "unmount /mnt/usbdisk" or "unmount /media/usbdisk" from the command line.
It is important to make sure you unmount removable media before unplugging or else you may cause file system corruption and loose data.
In Windows it is the same. You should right click on USB or Flash devices in Explorer and select "Eject" before removing the device. However windows can sometimes not recognise USB devices as "ejectable" media and doesn't provide the Eject choice. In that case it is safest to use the stop removable device control panel applet. Though I have noticed windows sometimes refusing to stop devices because it thinks they are in use for inexplicable reasons.
Regards
On Tue, 2004-12-21 at 18:06 +1300, Judy & Lindsay Roberts wrote:
Is it safe to connect and disconnect USB Memory sticks with the power on?
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
And to keep this subject alive and helpful may I ask...... How do you re-mount another mass_storage device? eg. I boot my system with a memstick inserted and the system sees it AOK. I then issue: # umount /mnt/removable And then remove the device. I now wish to insert my camera card reader - and this is where at present I come unstuck as I have yet to successfully do this without 'emptying' the data ( read photos ) from the device. I have also tried remounting the previously removed memstick and lost the data on that also. Er... did I mention that I'm running mandrake 10 Official with hotplug installed. I have tried: # mount -t usbfs /dev/sda1 /mnt/removable # mount -t vfat /dev/sda1 /mnt/removable # mount -t ext2 /dev/removable # mount -t ext2,vfat /dev/removable I understood that the first one should have worked whereas the other three would only work if I had formatted the drive to one or both of those file systems. And booting into WinXP I didn't have any problems provided I did as suggested previously - was able to put some data onto the memstick and retry my Linux side in an attempt to get this thing to work. This is important because at work I am getting more and more clients arriving with their dxf files on mem/flash sticks and it is a pain that I cannot reliable use Linux to read them. It is embarrassing to have to boot into Windows just to download the data and then back into Windows later to update their sticks. As to the CD issue mentioned earlier - if in doubt then as su issue: # eject Remove the CD and then: # eject -t The 'eject' command ought to unmount the device for you. [Note: if you have more than one CD/DVD onboard then you will have to specify the device. eg: # eject cdrom1 -- Regards SnapafunFrank Big or small, a challenge requires the same commitment to resolve. Registered Linux User # 324213