Date: Sun, 28 Feb 2010 16:09:02 +0000 From: Peter Harrison <peter.piggybox@virgin.net> To: questions@freebsd.org Subject: Automounting large fat usb drive... Message-ID: <20100228160902.GA1926@laptop.piggybox>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100228160902.GA1926>