diff options
Diffstat (limited to 'usr.sbin/asf/asf.8')
-rw-r--r-- | usr.sbin/asf/asf.8 | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/usr.sbin/asf/asf.8 b/usr.sbin/asf/asf.8 index 028e2ec..b9404bc 100644 --- a/usr.sbin/asf/asf.8 +++ b/usr.sbin/asf/asf.8 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 18, 2006 +.Dd December 20, 2006 .Os .Dt ASF 8 .Sh NAME @@ -53,16 +53,16 @@ This allows .Xr gdb 1 to load the symbols into the debugging environment. .Pp -If +An optional .Ar modules-path -is specified, -.Nm -uses it for the modules directory instead of the default -.Pa modules . -This is useful when building in a non-standard location (i.e., not -.Pa /usr/src -and -.Pa /usr/obj ) . +argument can specify a semicolon-separated list of directory pathnames +similar to the +.Va kern.module_path +sysctl. +Each directory in the list will be searched in turn for modules. +The default list consists of just one element, +.Pa modules , +which is suitable if the current directory is a kernel build directory. .Pp If .Ar outfile @@ -152,11 +152,18 @@ Clear the list of suffixes tries to append to KLD file names. Only the null suffix is left in the list. .El +.Sh EXAMPLES +To add symbol files from the system search path specified by the +.Va kern.module_path +sysctl, the following command can be used: +.Pp +.Dl asf -s `sysctl -n kern.module_path` .Sh SEE ALSO .Xr gdb 1 , .Xr kvm 3 , .Xr kld 4 , -.Xr kldstat 8 +.Xr kldstat 8 , +.Xr sysctl 8 .Sh HISTORY The .Nm |