pavement

Linux, configuration

From FreeBSDwiki
Revision as of 14:53, 6 March 2015 by Sidetone (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

First add to /etc/rc.conf, to enable Linux/ELF binary emulation:

linux_enable="YES"

Then either edit /boot/loader.conf to include:

linprocfs_load="YES"
linsysfs="YES"
linux_load="YES"
lindev_load="YES"

Or compile directly into the kernel by adding these options to your custom KERNCONF file in /usr/src/sys/*/conf/:

options         COMPAT_LINUX32    # This is used for 64bit processors
#options        COMPAT_LINUX      # This is used for 32bit processors; this option won't work on 64bit processors
options         LINPROCFS
options         LINSYSFS
device          lindev

References

  • Related manpages; and filesystem documentation
Personal tools