Page MenuHomeFreeBSD

Add compat.linux.emul_path
Needs ReviewPublic

Authored by trasz on Wed, Nov 27, 7:05 PM.

Details

Reviewers
manu
Group Reviewers
manpages
Linux Emulation
Summary

Add compat.linux.emul_path, so it can be set to something other
than "/compat/linux". Useful when you have several compat directories
with different Linux versions.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 27810
Build 25989: arc lint + arc unit

Event Timeline

trasz created this revision.Wed, Nov 27, 7:05 PM
bcr accepted this revision as: manpages.Wed, Nov 27, 7:07 PM
bcr added a subscriber: bcr.

OK from manpages.

lwhsu added a subscriber: lwhsu.Wed, Nov 27, 7:50 PM
lwhsu added inline comments.
share/man/man4/linux.4
27

Don't forget to update the date.

danfe added a subscriber: danfe.Wed, Nov 27, 8:09 PM

Useful when you have several compat directories with different Linux versions.

So what's the difference with traditional approach of making /compat/linux a symlink to desired implementation?

trasz added a comment.Sun, Dec 1, 1:58 PM

Useful when you have several compat directories with different Linux versions.

So what's the difference with traditional approach of making /compat/linux a symlink to desired implementation?

It doesn’t clash with linux_base-c7, for one. Besides it removes code (well, string) duplication.