"Safely remove" kills SD drive (Maverick, Gnome)
Thierry de Coulon
tcoulon at decoulon.ch
Thu Oct 7 10:31:23 UTC 2010
Hi all,
Once again I'm new both to Ubuntu and Gnome (but not to Linux), and I do know
maverick is still RC, so I'm not criticizing, just asking.
I have this (strange) behaviour:
My Lapotop has an SD slot that is identified as /dev/sdb
My /etc/fstab has /dev/sdb1 /media/sd auto noauto,users,exec,rw 0 0
If I boot with an SD card in the slot, it gets mounted on /media/sd (despite
the noauto) and an icon appears on the desktop.
If I right-click on the icon and choose "Safely remove", it umounts, but the
slot becomes unvailable (if you try to mount or fdisk /dev/sdb, it says it
does not exist).
However:
I created two scripts that read:
mount /media/sd
umount /media/sd
I created a drawer in the panel and put the scripts there. If I mount and
umount my SD cards with the scripts, everything works very well (i.e. the SD
card mounts, an icon appears on the desktop, the sd card umounts, I can mount
the next one, etc...)
So... can anyone explain to me why the most natural way (safe umounting from
Gnome) fails, while mounting/umounting from the system itself works. Is this
some Gnome bug? (sorry, I have no other Gnoome desktop around to test).
I'd think there is some sort of screwed "automounting" tool running amok
there.
Thierry
--
"We live at a time when emotions and feelings count more than truth, an there
is a vast ignorance of science" James Lovelock
More information about the ubuntu-users
mailing list