Automounting large fat usb drive...

Peter Harrison peter.piggybox at
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"?>
<deviceinfo version="0.2">
	<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/

works fine

Any advice on what I need to do to make hal mount this thing?

Thanks in advance.

Peter Harrison.

More information about the freebsd-questions mailing list