Re: Cannot remove flash memory
- From: Toby Dickenson <toby@xxxxxxxxxx>
- Date: Wed, 29 Nov 2006 20:29:14 +0000
Dotan Cohen wrote:
I've always heard that one should never pull out a USB stick when the
led is lit or flashing. Does anybody else have a second opinion?
Which kde versions are you using? some recent hal/kde updates have caused
problems for usb sticks:
https://bugs.launchpad.net/distros/ubuntu/+source/kdebase/+bug/70417
https://bugs.launchpad.net/distros/ubuntu/+source/kdebase/+bug/72869
At that point, the icon disappears, but the
LED on the USB unit turns on, and never turns off. So I cannot remove
the device.
First check if the device is still mounted, using the mount command:
$ mount
/dev/hda8 on / type reiserfs (rw)
proc on /proc type proc (rw)
<many lines deleted>
/dev/sda1 on /media/STICK type vfat (rw,noexec,nosuid,nodev,noatime,
uid=1001,utf8,shortname=lower)
You should be able to unmount it with the pumount command. If this fails, it
will often give a better error message that kde. For example in this case I
still had konqueror window open:
$ pumount /media/STICK/
umount: /media/STICK: device is busy
umount: /media/STICK: device is busy
Error: umount failed
After unmounting there is still no guarantee that all the data has been
written. Particularly if you have a slow memory stick. Try the
command 'sync'. This will only return when all outstanding data has been
written.
If anything seems to be going wrong then check /var/log/syslog for kernel
error messages.
I hope this helps.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Cannot remove flash memory
- From: Dotan Cohen
- Re: Cannot remove flash memory
- References:
- Cannot remove flash memory
- From: Dotan Cohen
- Re: Cannot remove flash memory
- From: Jaime Davila
- Re: Cannot remove flash memory
- From: Dotan Cohen
- Cannot remove flash memory
- Prev by Date: Re: Cannot remove flash memory
- Next by Date: tv-out on intel 915
- Previous by thread: Re: Cannot remove flash memory
- Next by thread: Re: Cannot remove flash memory
- Index(es):