]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use symlinks for kernel modules rather than hardlinks
authorasomers <asomers@FreeBSD.org>
Sat, 20 Apr 2019 12:51:05 +0000 (12:51 +0000)
committerasomers <asomers@FreeBSD.org>
Sat, 20 Apr 2019 12:51:05 +0000 (12:51 +0000)
commitfdcd6f167321861f49d586e966c6dd2728f82184
treee5ec15c198f16e2f6720d3835dfad74bbc7837b7
parent9b1b8919b2a042ee0b26dd4750fd8133254c6e02
Use symlinks for kernel modules rather than hardlinks

When aliasing a kernel module to a different name (ie if_igb for if_em),
it's better to use symlinks than hard links. kldxref will omit entries for
the links, ensuring that the loaded module has the correct name.

Reviewed by: imp
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19979
sys/modules/em/Makefile
sys/modules/fusefs/Makefile
sys/modules/iavf/Makefile