Lines 9-15
variable of rc.conf(5).
Link Here
|
9 |
---------------------- |
9 |
---------------------- |
10 |
You should enable Linux mode with the linux_enable variable of rc.conf(5). |
10 |
You should enable Linux mode with the linux_enable variable of rc.conf(5). |
11 |
Depending on the version of FreeBSD you are using you may have to increase |
11 |
Depending on the version of FreeBSD you are using you may have to increase |
12 |
the emulated linux version via compat.linux.osrelease=2.6.18 in |
12 |
the emulated linux version via compat.linux.osrelease=2.6.32 in |
13 |
sysctl.conf(5). Check via "sysctl compat.linux.osrelease" that it shows a |
13 |
sysctl.conf(5). Check via "sysctl compat.linux.osrelease" that it shows a |
14 |
lower version number before setting it. |
14 |
lower version number before setting it. |
15 |
---------------------- |
15 |
---------------------- |
Lines 18-23
If you want to use shared memory in Linux applications, you need to set up
Link Here
|
18 |
a link from /dev/shm to a suitable place, e.g. by adding the following line |
18 |
a link from /dev/shm to a suitable place, e.g. by adding the following line |
19 |
to /etc/devfs.conf (takes effect on each boot): |
19 |
to /etc/devfs.conf (takes effect on each boot): |
20 |
link /tmp shm |
20 |
link /tmp shm |
|
|
21 |
Since FreeBSD Kernel version 1002507 (uname -K) you should change the /tmp |
22 |
mount point in /etc/fstab(5) to tmpfs(5): |
23 |
tmpfs /tmp tmpfs rw,mode=1777 0 0 |
21 |
|
24 |
|
22 |
To make use of NIS you have to adjust yp.conf and nsswitch.conf in |
25 |
To make use of NIS you have to adjust yp.conf and nsswitch.conf in |
23 |
/compat/linux/etc/ accordingly. For example: |
26 |
/compat/linux/etc/ accordingly. For example: |