Re: Cannot remove flash memory



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



Relevant Pages

  • Re: Cannot remove flash memory
    ... According to the eject manual, if a device is still mounted, it will be ... So eject is more appropriate than unmount before ... If the device is currently mounted, it is unmounted before ejecting." ... peter@prospero:~ $ pmount /dev/sda1 ...
    (Ubuntu)
  • Re: [SLE] Unmounting USB flash disks
    ... > This has been bugging me for a while and some clues in this thread have ... > unmount and eject the media. ...
    (SuSE)
  • Re: Whats the deal with subfs for DVD drives
    ... > the drive would spin down and allow me to unmount and eject. ... I'd trade submount for the functional packet writing, ...
    (alt.os.linux.suse)
  • Re: cannot eject a DVD disc
    ... The reader is a NEC external USB DVD reader/writer. ... Trying to unmount or eject gives an error: ... Trying to forcefully unmount also does not work: ...
    (Debian-User)
  • Re: SuSE 9.2 - CD problem
    ... > few minutes, then unmount and eject. ... Push it back in, same thing a few ... Behavior persists even when the drive is in use - I was ...
    (alt.os.linux.suse)