domingo, 11 de noviembre de 2007

mounting vfat devices on gusty

problema:
joe@casper:~$ gnome-mount -vtd /dev/sdb1
gnome-mount 0.6
** (gnome-mount:5863): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_4737_7883
** (gnome-mount:5863): DEBUG: read mount point 'w600' from gconf string key '/system/storage/drives/_org_freedesktop_Hal_devices_storage_serial_Sony_Ericsson_Sony_Ericsson_W600_357445002000624_0/mount_point'
** (gnome-mount:5863): DEBUG: read default option 'shortname=mixed' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:5863): DEBUG: read default option 'uid=' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:5863): DEBUG: read default option 'utf8' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:5863): DEBUG: read default option 'umask=077' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:5863): DEBUG: read default option 'exec' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:5863): DEBUG: read default option 'usefree' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:5863): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_4737_7883 with mount_point='w600', fstype='', num_options=6
** (gnome-mount:5863): DEBUG: option='shortname=mixed'
** (gnome-mount:5863): DEBUG: option='uid=1000'
** (gnome-mount:5863): DEBUG: option='utf8'
** (gnome-mount:5863): DEBUG: option='umask=077'
** (gnome-mount:5863): DEBUG: option='exec'
** (gnome-mount:5863): DEBUG: option='usefree'

** (gnome-mount:5863): WARNING **: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_4737_7883
org.freedesktop.Hal.Device.Volume.UnknownFailure : mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

la opcion usefree no es reconocida.

solución simple:

from https://bugs.launchpad.net/ubuntu/+source/gnome-mount/+bug/151025

Go into gconf-editor and navigate to /system/storage/default_options/vfat/mount_options, and then remove the "usefree" option from the list. Exit gconf-editor, and try hotplugging your drive again. It works :-)


PD: esto me sucede usando el kernel de feisty (2.6.20) en gusty (para poder suspender correctamente)

No hay comentarios: