Notice: Trying to access array offset on value of type bool in /srv/www/vhosts/ on line 649 FS#101 : Cannot unmount SD card or USB stick through the GUI

OpenPandora Main OS

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity High
  • Reported Version Hotfix 3
Attached to Project: OpenPandora Main OS
Opened by bugmenot - 14.06.2010
Last edited by Michael Mrozek - 23.01.2011

FS#101 - Cannot unmount SD card or USB stick through the GUI

When I rightclick and select "unmount" I always get an error, see below. unmounting from a terminal window works fine. Also see: "Unable to unmount .... Cannot open /media/.hal-mtab"
Closed by  Michael Mrozek
23.01.2011 23:45
Reason for closing:  Fixed
Nick Leesam commented on 16.06.2010 13:45
I'm also seeing this on my SDHC card. The only things i've installed are the codec pack and the Hotfix 2 bundle.
EmuGuy commented on 25.06.2010 02:43
Yes I have this too with both my SDHC cards, in either SD slot.
Michael Mrozek commented on 28.06.2010 23:20
This is due to Thunar tries to unmount with HAL whereas we use udev to automount. A workaroung would be hacking the mount script in /etc/scripts/ to create a HAL-compatible /media/.hal-mtab-file and change permissions to unmount to PolicyKit.
Michael Mrozek commented on 10.09.2010 03:13
Good news everyone: Worked with BryceLeo on the mount script and it seems to be working fine now. BryceLeo has some problems with it, but it fully works on my unit. If anyone wants to help testing: Place that file in /etc/udev/scripts/ Thanks :) (2.9 KiB)
Michael Mrozek commented on 10.09.2010 03:48
Few fixes in the file. Known bugs: EXT2 doesn't seem to automount at the moment. (2.8 KiB)
Michael Mrozek commented on 27.09.2010 22:24
Just wanted to post the final, completely working version here, though it's already in the GIT, too. Will be included with HF5. (2.8 KiB)
Klaus Brinkmann commented on 06.10.2010 07:44
For removing mount-points, the scripts checks if the directory is empty and then uses "rm -r". May i suggest to simply use "rmdir" instead? This is safer and faster/cleaner IMHO.


Available keyboard shortcuts


Task Details

Task Editing