Date: Sun, 28 Jan 2007 18:35:30 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: "FreeBSD Ports" <ports@freebsd.org> Subject: Non-daemon programs requiring kernel modules Message-ID: <cb5206420701280735o6c916639ufbbc941f0927f4c8@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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. One thing I would like is the ability to unload the module if its not needed anymore right after the program finished. But I see a lot of problems will appear if we try a straightforward way to implement it. Also, the subject is one of those problems asking for a central implicit wrapper (in userland?) managing interactive things like: "loading modules..." "acroread is not installed, but you can try xpdf" "this program is already running and you can't run multiple instances of it at the same time" "this program is alpha version which can damage your system, continue? [y/n]" But that's another topic.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420701280735o6c916639ufbbc941f0927f4c8>