Hello,
I hope you can help me solve my little problem.
My FreeBSD:
KDE4 was installed from packages.
And I have a problem with automatic mounting cd-rom and usb-drive more then 16Gb.
I have worked with FreeBSD 8 + KDE4 on a home computer and cd-rom and usb-drive is automatically mounted without any problems!
Now with the version of FreeBSD 9 + KDE4 when inserting the CD into the cd-rom automount not happening. Mounted only usb-drive is less than 16Gb.
Manually from the console I can mount the cd-rom and usb-drive.
Here are my configuration files:
My configuration files are with me from the FreeBSD 6, maybe I made ​​a mistake somewhere. Or PolicyKit.conf are configured differently?
Thank you for your help!
I hope you can help me solve my little problem.
My FreeBSD:
Code:
# uname -a
FreeBSD bsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012
root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Code:
# pkg_version -v | grep kde
kde-4.7.3 < needs updating (port has 4.7.4_1)
I have worked with FreeBSD 8 + KDE4 on a home computer and cd-rom and usb-drive is automatically mounted without any problems!
Now with the version of FreeBSD 9 + KDE4 when inserting the CD into the cd-rom automount not happening. Mounted only usb-drive is less than 16Gb.
Manually from the console I can mount the cd-rom and usb-drive.
Here are my configuration files:
Code:
# cat /etc/devfs.rules
[localrules=10]
# DVD-ROM
add path 'cd*' mode 0660 group operator
#USB Flash Card
add path 'da*s*' mode 0660 group operator
Code:
# cat /etc/rc.conf | grep local
devfs_system_ruleset="localrules"
Code:
# cat /etc/devfs.conf
#Allow all users to access CD's
perm acd0 0666
perm acd1 0666
perm cd0 0666
perm cd1 0666
#Misc other devices
perm pass0 0666
perm xpt0 0666
perm agpart 0666
perm uscanner0 0666
Code:
# cat PolicyKit.conf
<?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">
<define_admin_auth group="operator"/>
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.storage.mount-fixed">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.storage.eject">
<return result="yes"/>
</match>
</config>
Code:
# cat /etc/group | grep My_username
wheel:*:0:root,My_username
operator:*:5:root,My_username
Code:
ls -l /dev | grep cd
crw-rw-rw- 1 root operator 0, 88 17:11 cd0
crw-rw---- 1 root operator 0, 126 17:15 cd1
Code:
ls -l /dev | grep da
crw-r----- 1 root operator 0, 123 24 май 17:15 da0
crw-r----- 1 root operator 0, 128 24 май 17:15 da1
crw-r----- 1 root operator 0, 136 24 май 17:50 da2
My configuration files are with me from the FreeBSD 6, maybe I made ​​a mistake somewhere. Or PolicyKit.conf are configured differently?
Thank you for your help!