su -
to become root or log in as root directly, then run the command.Going by what is actually installed on my system, the hald and dbus packages were already installed.Added to the Gnome section: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html#x11-wm-gnome.
Please review.
I plan to add similar parts to the KDE and xfce sections also.
$ which hald
/usr/local/sbin/hald
pkg info |grep hal
pkill
and pgrep
are pretty handy and depend on the directory. hostname="zinc.my.dom" (munged for privacy)
ifconfig_em0="inet 192.168.1.18 netmask 255.255.255.0"
ifconfig_igb0="inet 192.168.1.28 netmask 255.255.255.0"
defaultrouter="192.168.1.98"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
#kde support objects
dbus_enable="YES"
hald_enable="YES"
# Install driver
kld_list="linux nvidia"
# Start NFS server
rpcbind_enable="YES"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
mountd_enable="YES"
mountd_flags="-r"
# Start ntpd
ntpd_enable="YES"
1. The /proc partition should really be installed as a part of the initial install.pkill
andpgrep
are pretty handy and depend on the directory.
I thought of that, but they already have different requirements. Xfce does not need hal. Gnome and KDE will also move away from it, but almost certainly not at the same time.I'd suggest putting the instructions for installing the above ahead of the discussions about the specific window managers as a generic "preparation to install"
set of steps, rather than including them repetitiously under each window manager.
No they don't. There is nothing in the base system that directly depend on procfs(5) for their operation.
You're probably thinking of the Linux counterparts that are based on an entirely different implementation.
pgrep
didn't work until I installed /proc. The manpage for pgrep
acknowledges the Solaris setup, which does use /proc. Also, the contents of FreeBSD /proc match those of Solaris /proc. I would encourage you to unmount /proc and try again.If not, then explain to me why pgrep didn't work until I installed /proc. The manpage for pgrep acknowledges the Solaris setup, which does use /proc. Also, the contents of FreeBSD /proc match those of Solaris /proc.
pgrep
does not rely on it being there, but instead uses kvm_getprocs(3), which in pgrep
's case uses the sysctl
kern.proc.proc: Return process table, no threads