diff --git a/sbin/modload/modload.8 b/sbin/modload/modload.8 index a0741b30508e..e1133c894a6e 100644 --- a/sbin/modload/modload.8 +++ b/sbin/modload/modload.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: modload.8,v 1.10 1999/03/10 05:14:51 erh Exp $ +.\" $NetBSD: modload.8,v 1.11 1999/04/30 18:32:01 ross Exp $ .\" .\" Copyright (c) 1993 Christopher G. Demetriou .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 7, 1993 +.Dd April 30, 1999 .Dt MODLOAD 8 .Os NetBSD 0.8a .Sh NAME @@ -56,7 +56,7 @@ itself. .It Fl v Print comments about the loading process. .It Fl s -Suppress loading of the symbol table. +Load the symbol table. .It Fl A Ar kernel Specify the file that is passed to the linker to resolve module references to external symbols. @@ -112,9 +112,15 @@ command was designed to be similar in functionality to the corresponding command in .Tn "SunOS 4.1.3" . .Sh AUTHOR -.Bl -tag Terrence R. Lambert, terry@cs.weber.edu -.El .Sh BUGS +.Bl -bullet +.It The loadable device driver framework can only reserve either a character or block device entry, not both. +.It +Loading the symbol table is expensive in terms of space: +it presently duplicates all the kernel symbols for each lkm loaded +with +.Fl s . +.El diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index 4f93e6008f82..aba435922972 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -1,4 +1,4 @@ -/* $NetBSD: modload.c,v 1.23 1999/04/23 17:47:02 abs Exp $ */ +/* $NetBSD: modload.c,v 1.24 1999/04/30 18:32:01 ross Exp $ */ /* * Copyright (c) 1993 Terrence R. Lambert. @@ -34,7 +34,7 @@ #include #ifndef lint -__RCSID("$NetBSD: modload.c,v 1.23 1999/04/23 17:47:02 abs Exp $"); +__RCSID("$NetBSD: modload.c,v 1.24 1999/04/30 18:32:01 ross Exp $"); #endif /* not lint */ #include @@ -87,7 +87,7 @@ int verify_entry __P((char *, char *)); int debug = 0; int verbose = 0; -int symtab = 1; +int symtab = 0; int linkcmd(kernel, entry, outfile, address, object) @@ -233,7 +233,7 @@ main(argc, argv) out = optarg; break; /* output file */ case 's': - symtab = 0; + symtab = 1; break; case '?': usage();