Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 20:51:25 -0600
From:      Craig Boston <craig@yekse.gank.org>
To:        ports@freebsd.org
Subject:   Kernel module path for ports?
Message-ID:  <20050126025125.GA44297@nowhere>

next in thread | raw e-mail | index | archive | help
I'm working on a port that needs to install a kernel module (loaded by
an rcNG script).  Is there a preferred location for kernel modules
installed by a port?

A quick search of Google, the Porter's Handbook, and hier(7) came up
empty.  The following locations seem to be popular:

$PREFIX/lib/$PORTNAME
$PREFIX/modules
$PREFIX/share/$PORTNAME

There's also /boot/modules, but that's outside of PREFIX...  Would
anyone care to set a standard?

Thanks,
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050126025125.GA44297>