Mon Mar 5 10:57:19 2012 UTC ()
Remove dead xrefs to obsolete kvm_mkdb(8).


(njoly)
diff -r1.9 -r1.10 src/usr.bin/elf2aout/elf2aout.1
diff -r1.9 -r1.10 src/usr.bin/elf2ecoff/elf2ecoff.1
diff -r1.11 -r1.12 src/usr.sbin/dev_mkdb/dev_mkdb.8

cvs diff -r1.9 -r1.10 src/usr.bin/elf2aout/elf2aout.1 (switch to unified diff)

--- src/usr.bin/elf2aout/elf2aout.1 2003/02/25 10:35:40 1.9
+++ src/usr.bin/elf2aout/elf2aout.1 2012/03/05 10:57:18 1.10
@@ -1,66 +1,63 @@ @@ -1,66 +1,63 @@
1.\" $NetBSD: elf2aout.1,v 1.9 2003/02/25 10:35:40 wiz Exp $ 1.\" $NetBSD: elf2aout.1,v 1.10 2012/03/05 10:57:18 njoly Exp $
2.\" 2.\"
3.\" Copyright 1996 The Board of Trustees of The Leland Stanford 3.\" Copyright 1996 The Board of Trustees of The Leland Stanford
4.\" Junior University. All Rights Reserved. 4.\" Junior University. All Rights Reserved.
5.\" 5.\"
6.\" Author: Jonathan Stone 6.\" Author: Jonathan Stone
7.\" 7.\"
8.\" Permission to use, copy, modify, and distribute this 8.\" Permission to use, copy, modify, and distribute this
9.\" software and its documentation for any purpose and without 9.\" software and its documentation for any purpose and without
10.\" fee is hereby granted, provided that the above copyright 10.\" fee is hereby granted, provided that the above copyright
11.\" notice and the above authorship notice appear in all copies. 11.\" notice and the above authorship notice appear in all copies.
12.\" Stanford University makes no representations about the suitability 12.\" Stanford University makes no representations about the suitability
13.\" of this software for any purpose. It is provided "as is" without 13.\" of this software for any purpose. It is provided "as is" without
14.\" express or implied warranty. 14.\" express or implied warranty.
15.Dd September 30, 1996 15.Dd September 30, 1996
16.Dt ELF2AOUT 1 16.Dt ELF2AOUT 1
17.Os 17.Os
18.Sh NAME 18.Sh NAME
19.Nm elf2aout 19.Nm elf2aout
20.Nd convert a NetBSD ELF-format executable to NetBSD a.out format 20.Nd convert a NetBSD ELF-format executable to NetBSD a.out format
21.Sh SYNOPSIS 21.Sh SYNOPSIS
22.Nm elf2aout 22.Nm elf2aout
23.Ar elf-file 23.Ar elf-file
24.Ar aout-file 24.Ar aout-file
25.Sh DESCRIPTION 25.Sh DESCRIPTION
26Reads a fully-linked ELF executable (such as a linked kernel) 26Reads a fully-linked ELF executable (such as a linked kernel)
27and produces an equivalent a.out format executable file. 27and produces an equivalent a.out format executable file.
28.Pp 28.Pp
29The 29The
30.Nm 30.Nm
31utility is used to convert native 31utility is used to convert native
32.Nx 32.Nx
33ELF binaries 33ELF binaries
34to a.out format, for compatibility with bootblocks and kernel-reading 34to a.out format, for compatibility with bootblocks and kernel-reading
35utilities like 35utilities like
36.Xr kvm 3 36.Xr kvm 3 ,
37and 
38.Xr kvm_mkdb 8 , 
39which currently expect an a.out format kernel. 37which currently expect an a.out format kernel.
40.\" .Sh DIAGNOSTICS 38.\" .Sh DIAGNOSTICS
41.Sh SEE ALSO 39.Sh SEE ALSO
42.Xr elf2ecoff 1 , 40.Xr elf2ecoff 1 ,
43.Xr ld 1 , 41.Xr ld 1 ,
44.Xr kvm 3 , 42.Xr kvm 3 ,
45.Xr a.out 5 , 43.Xr a.out 5 ,
46.Xr elf 5 , 44.Xr elf 5
47.Xr kvm_mkdb 8 
48.Sh HISTORY 45.Sh HISTORY
49.Nm 46.Nm
50was originally developed for 47was originally developed for
51.Nx Ns Tn /pmax 48.Nx Ns Tn /pmax
52by Ted Lemon 49by Ted Lemon
53and was first distributed with the pmax port of 50and was first distributed with the pmax port of
54.Nx 1.1 . 51.Nx 1.1 .
55.Sh BUGS 52.Sh BUGS
56.Nm 53.Nm
57assumes there are no multiply-referenced symbols in the input ELF symbol 54assumes there are no multiply-referenced symbols in the input ELF symbol
58section. 55section.
59It may be necessary to link with 56It may be necessary to link with
60.Fl x 57.Fl x
61to avoid such duplicate symbols. 58to avoid such duplicate symbols.
62.Pp 59.Pp
63In some environments, the GNU binutils 60In some environments, the GNU binutils
64.Xr objcopy 1 61.Xr objcopy 1
65utility may be a better solution than 62utility may be a better solution than
66.Nm . 63.Nm .

cvs diff -r1.9 -r1.10 src/usr.bin/elf2ecoff/elf2ecoff.1 (switch to unified diff)

--- src/usr.bin/elf2ecoff/elf2ecoff.1 2003/02/25 10:35:40 1.9
+++ src/usr.bin/elf2ecoff/elf2ecoff.1 2012/03/05 10:57:19 1.10
@@ -1,62 +1,61 @@ @@ -1,62 +1,61 @@
1.\" $NetBSD: elf2ecoff.1,v 1.9 2003/02/25 10:35:40 wiz Exp $ 1.\" $NetBSD: elf2ecoff.1,v 1.10 2012/03/05 10:57:19 njoly Exp $
2.\" 2.\"
3.\" Copyright 1996 The Board of Trustees of The Leland Stanford 3.\" Copyright 1996 The Board of Trustees of The Leland Stanford
4.\" Junior University. All Rights Reserved. 4.\" Junior University. All Rights Reserved.
5.\" 5.\"
6.\" Author: Jonathan Stone 6.\" Author: Jonathan Stone
7.\" 7.\"
8.\" Permission to use, copy, modify, and distribute this 8.\" Permission to use, copy, modify, and distribute this
9.\" software and its documentation for any purpose and without 9.\" software and its documentation for any purpose and without
10.\" fee is hereby granted, provided that the above copyright 10.\" fee is hereby granted, provided that the above copyright
11.\" notice and the above authorship notice appear in all copies. 11.\" notice and the above authorship notice appear in all copies.
12.\" Stanford University makes no representations about the suitability 12.\" Stanford University makes no representations about the suitability
13.\" of this software for any purpose. It is provided "as is" without 13.\" of this software for any purpose. It is provided "as is" without
14.\" express or implied warranty. 14.\" express or implied warranty.
15.Dd September 30, 1996 15.Dd September 30, 1996
16.Dt ELF2ECOFF 1 16.Dt ELF2ECOFF 1
17.Os 17.Os
18.Sh NAME 18.Sh NAME
19.Nm elf2ecoff 19.Nm elf2ecoff
20.Nd convert a NetBSD ELF-format executable to NetBSD ECOFF format 20.Nd convert a NetBSD ELF-format executable to NetBSD ECOFF format
21.Sh SYNOPSIS 21.Sh SYNOPSIS
22.Nm elf2ecoff 22.Nm elf2ecoff
23.Ar elf-file 23.Ar elf-file
24.Ar ecoff-file 24.Ar ecoff-file
25.Sh DESCRIPTION 25.Sh DESCRIPTION
26Reads a fully-linked ELF executable (such as a linked kernel) 26Reads a fully-linked ELF executable (such as a linked kernel)
27and produces an equivalent ECOFF format executable file. 27and produces an equivalent ECOFF format executable file.
28.Pp 28.Pp
29The 29The
30.Nm 30.Nm
31utility is used to convert native 31utility is used to convert native
32.Nx 32.Nx
33ELF binaries 33ELF binaries
34to ECOFF format, for compatibility with DECstation diskless-boot 34to ECOFF format, for compatibility with DECstation diskless-boot
35PROM code and diskless-boot servers that require ECOFF format binaries. 35PROM code and diskless-boot servers that require ECOFF format binaries.
36.\" .Sh DIAGNOSTICS 36.\" .Sh DIAGNOSTICS
37.Sh SEE ALSO 37.Sh SEE ALSO
38.Xr elf2aout 1 , 38.Xr elf2aout 1 ,
39.Xr ld 1 , 39.Xr ld 1 ,
40.Xr kvm 3 , 40.Xr kvm 3 ,
41.Xr a.out 5 , 41.Xr a.out 5 ,
42.Xr elf 5 , 42.Xr elf 5
43.Xr kvm_mkdb 8 
44.Sh HISTORY 43.Sh HISTORY
45.Nm 44.Nm
46was originally developed for 45was originally developed for
47.Nx Ns Tn /pmax 46.Nx Ns Tn /pmax
48by Ted Lemon 47by Ted Lemon
49and was first distributed with the pmax port of 48and was first distributed with the pmax port of
50.Nx 1.1 . 49.Nx 1.1 .
51.Sh BUGS 50.Sh BUGS
52.Nm 51.Nm
53assumes there are no multiply-referenced symbols in the input ELF symbol 52assumes there are no multiply-referenced symbols in the input ELF symbol
54section. 53section.
55It may be necessary to link with 54It may be necessary to link with
56.Fl x 55.Fl x
57to avoid duplicate symbols. 56to avoid duplicate symbols.
58.Pp 57.Pp
59In some environments, the GNU binutils 58In some environments, the GNU binutils
60.Xr objcopy 1 59.Xr objcopy 1
61utility may be a better solution than 60utility may be a better solution than
62.Nm . 61.Nm .

cvs diff -r1.11 -r1.12 src/usr.sbin/dev_mkdb/dev_mkdb.8 (switch to unified diff)

--- src/usr.sbin/dev_mkdb/dev_mkdb.8 2009/03/09 19:24:33 1.11
+++ src/usr.sbin/dev_mkdb/dev_mkdb.8 2012/03/05 10:57:19 1.12
@@ -1,87 +1,86 @@ @@ -1,87 +1,86 @@
1.\" Copyright (c) 1990, 1993 1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved. 2.\" The Regents of the University of California. All rights reserved.
3.\" 3.\"
4.\" Redistribution and use in source and binary forms, with or without 4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions 5.\" modification, are permitted provided that the following conditions
6.\" are met: 6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright 7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer. 8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright 9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the 10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution. 11.\" documentation and/or other materials provided with the distribution.
12.\" 3. Neither the name of the University nor the names of its contributors 12.\" 3. Neither the name of the University nor the names of its contributors
13.\" may be used to endorse or promote products derived from this software 13.\" may be used to endorse or promote products derived from this software
14.\" without specific prior written permission. 14.\" without specific prior written permission.
15.\" 15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 16.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE. 26.\" SUCH DAMAGE.
27.\" 27.\"
28.\" from: @(#)dev_mkdb.8 8.1 (Berkeley) 6/6/93 28.\" from: @(#)dev_mkdb.8 8.1 (Berkeley) 6/6/93
29.\" $NetBSD: dev_mkdb.8,v 1.11 2009/03/09 19:24:33 joerg Exp $ 29.\" $NetBSD: dev_mkdb.8,v 1.12 2012/03/05 10:57:19 njoly Exp $
30.\" 30.\"
31.Dd June 6, 1993 31.Dd June 6, 1993
32.Dt DEV_MKDB 8 32.Dt DEV_MKDB 8
33.Os 33.Os
34.Sh NAME 34.Sh NAME
35.Nm dev_mkdb 35.Nm dev_mkdb
36.Nd create 36.Nd create
37.Pa /dev 37.Pa /dev
38database 38database
39.Sh SYNOPSIS 39.Sh SYNOPSIS
40.Nm 40.Nm
41.Op Fl o Ar database 41.Op Fl o Ar database
42.Op directory 42.Op directory
43.Sh DESCRIPTION 43.Sh DESCRIPTION
44The 44The
45.Nm 45.Nm
46command creates a 46command creates a
47.Xr db 3 47.Xr db 3
48hash access method database in 48hash access method database in
49.Dq Pa /var/run/dev.db 49.Dq Pa /var/run/dev.db
50which contains the names of all of the character and block special 50which contains the names of all of the character and block special
51files in the specified directory, using the file type and the 51files in the specified directory, using the file type and the
52.Fa st_rdev 52.Fa st_rdev
53field as the key. 53field as the key.
54If no directory is specified, the 54If no directory is specified, the
55.Dq Pa /dev 55.Dq Pa /dev
56directory is used. 56directory is used.
57.Pp 57.Pp
58Keys are a structure containing a mode_t followed by a dev_t, 58Keys are a structure containing a mode_t followed by a dev_t,
59with any padding zero'd out. 59with any padding zero'd out.
60The former is the type of the file (st_mode \*[Am] S_IFMT), 60The former is the type of the file (st_mode \*[Am] S_IFMT),
61the latter is the st_rdev field. 61the latter is the st_rdev field.
62.Pp 62.Pp
63The options are as follows: 63The options are as follows:
64.Bl -tag -width indent 64.Bl -tag -width indent
65.It Fl o Ar database 65.It Fl o Ar database
66Put the output databases in the named file. 66Put the output databases in the named file.
67.El 67.El
68.Sh FILES 68.Sh FILES
69.Bl -tag -width /var/run/dev.db -compact 69.Bl -tag -width /var/run/dev.db -compact
70.It Pa /dev 70.It Pa /dev
71Device directory. 71Device directory.
72.It Pa /var/run/dev.db 72.It Pa /var/run/dev.db
73Database file. 73Database file.
74.El 74.El
75.Sh SEE ALSO 75.Sh SEE ALSO
76.Xr ps 1 , 76.Xr ps 1 ,
77.Xr stat 2 , 77.Xr stat 2 ,
78.Xr db 3 , 78.Xr db 3 ,
79.Xr devname 3 , 79.Xr devname 3 ,
80.Xr kvm_nlist 3 , 80.Xr kvm_nlist 3 ,
81.Xr ttyname 3 , 81.Xr ttyname 3
82.Xr kvm_mkdb 8 
83.Sh HISTORY 82.Sh HISTORY
84The 83The
85.Nm 84.Nm
86command appeared in 85command appeared in
87.Bx 4.4 . 86.Bx 4.4 .