[SOLVED] Cannot mount volume (USB Flash drive)

Bill Moseley moseley at hank.org
Sat Nov 1 00:16:19 UTC 2008


On Sat, Nov 01, 2008 at 12:14:31AM +0100, Mario Vukelic wrote:
> On Fri, 2008-10-31 at 15:59 -0700, Bill Moseley wrote:
> > (If I wanted useless error messages I'd use a different OS).
> 
> Are you sure it didn't have a "Details >" label lower left?

Yes, I'm sure.  This is on Hardy.  Easy to test by adding a junk mount
option into the key I posted.


> Of course, the great thing is that you can always check the log files
> in /var/log or even watch them live, e.g., "tail
> -f /var/log/messages" (Ctrl+C to end) 

Yes, it would be a great thing if it logged the error.  It's doesn't. :)

    $ fgrep foobar /var/log/* || echo 'sorry'
    sorry


Only way to see I found is:

$ gnome-mount -vtd /dev/sdc1
gnome-mount 0.8
** (gnome-mount:11724): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_FC30_3DA9
** (gnome-mount:11724): DEBUG: read default option 'shortname=lower' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11724): DEBUG: read default option 'uid=' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11724): DEBUG: read default option 'utf8' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11724): DEBUG: read default option 'umask=077' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11724): DEBUG: read default option 'exec' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11724): DEBUG: read default option 'foobar' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11724): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_FC30_3DA9 with mount_point='', fstype='', num_options=6
** (gnome-mount:11724): DEBUG:   option='shortname=lower'
** (gnome-mount:11724): DEBUG:   option='uid=1000'
** (gnome-mount:11724): DEBUG:   option='utf8'
** (gnome-mount:11724): DEBUG:   option='umask=077'
** (gnome-mount:11724): DEBUG:   option='exec'
** (gnome-mount:11724): DEBUG:   option='foobar'
** Message: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_FC30_3DA9
org.freedesktop.Hal.Device.Volume.InvalidMountOption : The option 'foobar' is not allowed for uid=1000



-- 
Bill Moseley
moseley at hank.org
Sent from my iMutt





More information about the ubuntu-users mailing list