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">
 
  <device>
        <match key="volume.fstype" string="vfat">
      <match key="volume.size" compare_ge="128000000000">
        <merge key="volume.policy.mount_option.large" type="bool">true</merge>
    </match>
        </match>
  </device>

</deviceinfo>

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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to