Automounting large fat usb drive...
peter.piggybox at virgin.net
Sun Feb 28 16:10:26 UTC 2010
I'm having a problem automounting a large (298gb) usb hard disk.
I use Xfce and have thunar set up to automount via hal. This works fine for ufs formatted usb disks and small fat usb disks.
But it won't mount my 298gb disk, failing with the error:
mount_msdosfs: /dev/msdosfs/ELEMENTS: Disk too big, try '-o large' mount option: Invalid argument .
My /usr/local/etc/hal/fdi/policy/preferences.fdi looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<match key="volume.fstype" string="vfat">
<match key="volume.size" compare_ge="128000000000">
<merge key="volume.policy.mount_option.large" type="bool">true</merge>
and I can see the 'large' option listed against the device in lshal.
Mounting from the command line with
% mount_msdosfs -o large /dev/da0s1 mnt/
Any advice on what I need to do to make hal mount this thing?
Thanks in advance.
More information about the freebsd-questions