The tutorial for mounting stuff automatically.
Here is what I did:
Code:
freebsd# find `kde-config --prefix`/lib/kde3/media_propsdlgplugin.so && echo "HAL is enabled."
/usr/local/lib/kde3/media_propsdlgplugin.so
HAL is enabled.
freebsd#
So HAL is enabled...
Code:
freebsd# vi /etc/devfs.rules
#MYBOX's rules
#
[mybox_rules=100]
add path 'acd0' mode 666
add path 'cd0' mode 666
~
/etc/devfs.rules: 6 lines, 85 characters.
freebsd#
Here I figured I had to replace the * with 0
Not sure it is OK...
Code:
freebsd# vi /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad4s1b none swap sw 0 0
/dev/ad4s1a / ufs rw 1 1
/dev/ad4s1e /tmp ufs rw 2 2
/dev/ad4s1f /usr ufs rw 2 2
/dev/ad4s1d /var ufs rw 2 2
~
/etc/fstab: unmodified: line 1
Code:
freebsd# vi /etc/rc.conf
# -- sysinstall generated deltas -- # Mon May 19 22:21:55 2008
# Created: Mon May 19 22:21:55 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="freebsd.gateway.2wire.net"
ifconfig_rl0="DHCP"
ipv6_enable="YES"
keymap="us.iso"
linux_enable="YES"
defaultrouter="192.168.2.1"
devfs_system_ruleset="mybox_rules"
dbus_enable="YES"
hald_enable="YES"
~
/etc/rc.conf: unmodified: line 1
Code:
freebsd# vi /usr/local/etc/PolicyKit/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">
<match user="root">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.storage.mount-removable">
<match user="corneliu">
<return result="yes"/>
</match>
</match>
</config>
~
~
~
~
~
~
/usr/local/etc/PolicyKit/PolicyKit.conf: unmodified: line 1