"Safely remove" kills SD drive (Maverick, Gnome)
Thierry de Coulon
tcoulon at decoulon.ch
Fri Oct 8 15:42:17 UTC 2010
On Thursday 07 October 2010, Marius Gedminas wrote:
> On Thu, Oct 07, 2010 at 12:31:23PM +0200, Thierry de Coulon wrote:
> > 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.
> I'm pretty sure this is what happens:
> * The laptop boots and doesn't mount your SD card (because of the
> * When you log in, Nautilus (or whatever piece of the GNOME stack
> that's responsible for removable devices) notices that you have an
> SD card plugged in and automounts it.
> So you have no automount on boot, but you have automount on login/card
> insertion. To disable that, play with Nautilus settings, maybe? An
> interesting gconf key is /apps/nautilus/preferences/media_automount,
> I'm sure you can find the corresponding checkbox in the Nautilus
> preferences box. I don't know for sure that Nautilus is still
> responsible for automounting devices -- it could be udisks, or
> gnome-disk-utility, or something else; I don't know if that gconf key is
> actually used.
Yes, you are right. I found a setting about autmount media. if I disable it,
nautilus does not automount *anything*. So I don't get the SD card mounted,
but then I have to manually mount usb drives as well...
> Safely Remove approximately means "turn off power to the USB device".
> This is the right thing to do for USB drives (it turns off their LED,
> telling the user it's now safe to remove), but not a good thing for an
> integrated SD card reader. Please file a bug about this.
An Ubuntu bug, or a Gnome bug?
> That's because Safely Remove is not the same thing as unmounting.
Yep, I understand this now.
> Marius Gedminas
Thierry de Coulon
"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