Re: Cannot remove flash memory
- From: "Rutger van Haasteren" <rvhaasteren@xxxxxxxxx>
- Date: Thu, 30 Nov 2006 14:16:39 +0100
According to the eject manual, if a device is still mounted, it will be
unmounted before ejecting. So eject is more appropriate than unmount before
removing a usb disc, since you want to detach it from your system. Qoute
from man eject:
"Eject - eject removable media
...
If the device is currently mounted, it is unmounted before ejecting."
For myself, I never had problems with it. Maybe your permissions are not set
right in /etc/fstab?
People with an iPod can check that it doesn't stop recharging after umount,
but it does after an eject.
Cheers,
Rutger
On 11/30/06, Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx> wrote:
--
On Thu, 30 Nov 2006 10:46:05 +0000
norman <norman@xxxxxxxxxxxxxx> wrote:
>
> > > I'm not quite sure what the light means, but I ignore it, and
haven't
> > > had any problems whatsoever yet. I'm using gnome as opposed to kde,
but
> > > I doubt that makes any difference. So, I just make sure the device
is
> > > not mounted and then pull it off.
> >
> > It means the same as the flashing light on the front of most PCs. The
> > drive is in use. If you remove it when the light is on you may lose or
> > corrupt data. The whole purpose of the light is to tell you that
there
> > the memory is being written to or read from.
>
> I cannot believe that. It is now 15 minutes since I pressed eject and
> the light is still flashing. Unless, of course, eject is not the same as
> unmount.
Try this sequence ( the device in this case is /dev/sda1 )
$ pumount /dev/sda1
Comment: OK, no errors so it is unmounted now...
peter@prospero:~ $ pmount /dev/sda1
Comment: No errors, so now it's mounted again.
So, with the "stick" still plugged in, the system still "knows" it is
there after the "pumount" command , but ...
peter@prospero:~ $ eject /dev/sda1
peter@prospero:~ $ pmount /dev/sda1
Error: device /dev/sda1 does not exist
... after "eject", the system has total amnesia about it ;-)
That's a /highly technical explanation/ of the difference, I know *grin*
Peter
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Cannot remove flash memory
- From: Dotan Cohen
- Re: Cannot remove flash memory
- From: Jaime Davila
- Re: Cannot remove flash memory
- From: Scott
- Re: Cannot remove flash memory
- From: norman
- Re: Cannot remove flash memory
- From: Peter Garrett
- Cannot remove flash memory
- Prev by Date: Re: Cannot remove flash memory
- Next by Date: Re: Cannot remove flash memory
- Previous by thread: Re: Cannot remove flash memory
- Next by thread: Re: Cannot remove flash memory
- Index(es):
Relevant Pages
|