Non-daemon programs requiring kernel modules

Alexander Leidinger Alexander at Leidinger.net
Sun Jan 28 18:38:13 UTC 2007


Quoting "Andrew Pantyukhin" <infofarmer at FreeBSD.org> (Sun, 28 Jan 2007 18:35:30 +0300):

> I'm porting a simple util requiring aio(4). My plan is
> to install a wrapper script which includes rc.subr(8)
> and uses its required_modules mechanism.
> 
> If anyone has a better idea, please tell me.

Just tell at port/package install time the requirement. Every linux
program needs the linux module or the corresponding kernel option. If
the code is not available at runtime, the user will get an error. Unix
is not for dump people, so I don't think we need this low-level
hand-holding.

Bye,
Alexander.

-- 
 Professor: No fair! You changed the outcome by measuring it.
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-ports mailing list