DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th June 2008
vinegaroon vinegaroon is offline
New User
 
Join Date: Jun 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default Automounting USB devices with HAL/KDE

Hi, I'm running FreeBSD 7.0 RELEASE and haven't been able to get either my USB pen drive or USB external hard drive to automount. CDs and DVDs do automount.
The devices show up fine when I check with dmesg/usbdevs.

Things I have done:

Installed HAL, added
dbus_enable="YES"
hald_enable="YES"
to /etc/rc.conf

Mounted proc:
proc /proc procfs rw 0 0
in /etc/fstab

PolicyKit.conf:
<config version="0.1">
<match user="root">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.storage-mount-removable">
<match user="vinegaroon">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.storage-mount-fixed">
<match user="vinegaroon">
<return result="yes"/>
</match>
</match>
</config>

/etc/devfs.rules:
[lennys_rules=10]
add path 'acd*' mode 0660 group operator
add path 'da*' mode 0660 group operator

added
devfs_system_ruleset="lennys_rules"
to /etc/rc.conf

My user is a member of wheel and operator.
I've rebooted/restarted KDE after all these things.. to no avail. Anyone know what I'm doing wrong?

EDIT: I just noticed my iPod does mount properly, but not the external hard drive. Could this have something to do with it being a large msdosfs volume? As in I need to use -o large to mount it via mount.

Last edited by vinegaroon; 13th June 2008 at 11:21 AM.
Reply With Quote
  #2   (View Single Post)  
Old 13th June 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Thanked 3 Times in 3 Posts
Default

Try changing PolicyKit.conf from
Quote:
<match action="org.freedesktop.hal.storage-mount-removable">
<match user="vinegaroon">
<return result="yes"/>
</match>
</match>
to
Quote:
<match action="org.freedesktop.hal.storage-mount-removable">
<return result="yes"/>
</match>
also the following may work
Quote:
<match action="org.freedesktop.hal.storage-mount-removable">
<return result="yes"/>
</match>
I suspect there may be some issue with nesting.

Last edited by davidgurvich; 13th June 2008 at 02:19 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automounting CDs/DVDs in KDE on FreeBSD BSDKaffee Guides 10 10th October 2009 08:18 AM
Automounting DVD/USB rex FreeBSD General 2 4th September 2008 08:03 PM
Automounting drives jwhal OpenBSD General 4 12th June 2008 05:00 PM
Automatic Mount for Devices/Filesystems vermaden FreeBSD General 11 12th June 2008 04:55 AM


All times are GMT. The time now is 03:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick