Skip to content

Instantly share code, notes, and snippets.

@sdalu
Created August 23, 2015 00:14
Show Gist options
  • Save sdalu/3888bbcd041ee6fa4139 to your computer and use it in GitHub Desktop.
Save sdalu/3888bbcd041ee6fa4139 to your computer and use it in GitHub Desktop.
Configure FreeBSD10 and Gnome3 for volume mount
# Install hal wrapper for ntfs-3g
ln -s /usr/local/share/hal/mount-fuse /usr/sbin/mount_ntfs
# Configure gnome for ccorrect invocatin of mount
gconftool-2 --type list --list-type=string --set /system/storage/default_options/ntfs/mount_options '[mountprog=/usr/sbin/mount_ntfs]'
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match user="root">
<return result="yes"/>
</match>
<define_admin_auth group="wheel"/>
<match action="org.freedesktop.hal.storage.mount-removable">
<match user="CHANGME">
<return result="yes"/>
</match>
</match>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment