From e2f224d0878ecd0810a358c6df4160cb41516efa Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Fri, 18 Oct 2002 19:00:54 +0000 Subject: [PATCH] Use current attribute for -CURRENT manual pages. It is now possible to make the difference between -STABLE and -CURRENT manual pages. We need this for devfs, device.hints etc. manual pages in our Handbook. Manual pages entities for -CURRENT should have the form &man.current.foo.1; Note, this does not concern release notes but only docs. An "old" man.devfs.5 entity is kept to allow the build of localized docs till their upgrade. --- en_US.ISO8859-1/books/handbook/basics/chapter.sgml | 2 +- en_US.ISO8859-1/books/handbook/boot/chapter.sgml | 4 ++-- share/sgml/man-refs.ent | 12 ++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/basics/chapter.sgml b/en_US.ISO8859-1/books/handbook/basics/chapter.sgml index a13aed3b43..6326eebf0a 100644 --- a/en_US.ISO8859-1/books/handbook/basics/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/basics/chapter.sgml @@ -1336,7 +1336,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse Instead of having to create and modify device nodes, DEVFS maintains this particular filesystem for you. - See the &man.devfs.5; manual page for more + See the &man.current.devfs.5; manual page for more information. DEVFS is used by default in FreeBSD 5.0. diff --git a/en_US.ISO8859-1/books/handbook/boot/chapter.sgml b/en_US.ISO8859-1/books/handbook/boot/chapter.sgml index e864a4d23e..ac31c4b30c 100644 --- a/en_US.ISO8859-1/books/handbook/boot/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/boot/chapter.sgml @@ -579,7 +579,7 @@ boot: Device Hints During initial system startup, the boot &man.loader.8; will read the - &man.device.hints.5; file. This file stores kernel boot information + &man.current.device.hints.5; file. This file stores kernel boot information known as variables, sometimes referred to as device hints. Setup of this file is one variable per line, using the standard hash @@ -631,7 +631,7 @@ boot: Device drivers may accept (or require) more hints not listed here, viewing their manual page is recommended. For more information, consult the - &man.device.hints.5;, &man.kenv.1;, &man.loader.conf.5;, and &man.loader.8; + &man.current.device.hints.5;, &man.kenv.1;, &man.loader.conf.5;, and &man.loader.8; manual pages. diff --git a/share/sgml/man-refs.ent b/share/sgml/man-refs.ent index b5f5d490ff..cf1c9801be 100644 --- a/share/sgml/man-refs.ent +++ b/share/sgml/man-refs.ent @@ -9,9 +9,12 @@ If the manual page does not belong to the base system, you have to set the vendor attribute, in order to select the right manual page - collection. Three different vendor values are available at this - moment: xfree86, ports and netbsd. Look at man.X.1 entry for an - example. + collection. Four different vendor values are available at this + moment: xfree86, ports, netbsd and current. Look at man.X.1 entry for an + example. In the case of the use of -CURRENT manual pages, the + entity form will be &man.current.foo.1; This form is only used for + -CURRENT manual pages in documentations not for release + documentation. Please keep these in order so that the lazier types can automate the task of editing this file. All the man pages in one section @@ -3248,7 +3251,8 @@ - + +