From owner-freebsd-commit Sat Oct 28 10:06:18 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA29365 for freebsd-commit-outgoing; Sat, 28 Oct 1995 10:06:18 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA29352 for cvs-all-outgoing; Sat, 28 Oct 1995 10:06:15 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA29337 for cvs-sbin-outgoing; Sat, 28 Oct 1995 10:06:12 -0700 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA29327 ; Sat, 28 Oct 1995 10:06:06 -0700 Date: Sat, 28 Oct 1995 10:06:06 -0700 From: Peter Wemm Message-Id: <199510281706.KAA29327@freefall.freebsd.org> To: CVS-commiters, cvs-sbin Subject: cvs commit: src/sbin/modload modload.8 modload.c Sender: owner-commit@FreeBSD.org Precedence: bulk peter 95/10/28 10:06:05 Modified: sbin/modload modload.8 modload.c Log: Add a few more heuristics to modload: 1: generate the outfile in /tmp if it's not specified explicitly. 2: if the outfile was implicitly placed in /tmp, automatically remove it. This means that you can type: modload /lkm/ipfw_mod.o and it'll work, it wont try and write to /lkm, and it wont leave the (normally) useless symbol file. This should not interfere with things like ibcs2 and atapi, which export some symbols from one LKM to the other by leaving the symbol file.