Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 13:11:59 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 31637 for review
Message-ID:  <200305222011.h4MKBxlB069846@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=31637

Change 31637 by peter@peter_daintree on 2003/05/22 13:11:48

	IFC @31636

Affected files ...

.. //depot/projects/hammer/lib/libc/gen/arc4random.3#3 integrate
.. //depot/projects/hammer/lib/libc/gen/getfsent.3#4 integrate
.. //depot/projects/hammer/lib/libc/gen/getpwent.3#4 integrate
.. //depot/projects/hammer/lib/libc/i386/sys/i386_vm86.2#5 integrate
.. //depot/projects/hammer/lib/libc/locale/setlocale.3#4 integrate
.. //depot/projects/hammer/lib/libc/locale/wcstod.3#4 integrate
.. //depot/projects/hammer/lib/libc/net/nsdispatch.3#5 integrate
.. //depot/projects/hammer/lib/libc/posix1e/mac.3#6 integrate
.. //depot/projects/hammer/lib/libc/stdio/fputws.3#3 integrate
.. //depot/projects/hammer/lib/libc/stdlib/strtod.3#5 integrate
.. //depot/projects/hammer/lib/libc/sys/jail.2#4 integrate
.. //depot/projects/hammer/lib/libc/sys/sendfile.2#3 integrate
.. //depot/projects/hammer/lib/libc/sys/stat.2#4 integrate
.. //depot/projects/hammer/lib/libdevstat/devstat.3#4 integrate
.. //depot/projects/hammer/lib/libfetch/fetch.3#4 integrate
.. //depot/projects/hammer/lib/libusbhid/usbhid.3#3 integrate
.. //depot/projects/hammer/lib/msun/src/math.h#8 integrate
.. //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml#20 integrate
.. //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/common/intro.sgml#3 integrate
.. //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/ia64/article.sgml#3 integrate
.. //depot/projects/hammer/sbin/newfs/mkfs.c#9 integrate
.. //depot/projects/hammer/share/mk/bsd.cpu.mk#8 integrate
.. //depot/projects/hammer/sys/amd64/amd64/trap.c#17 integrate
.. //depot/projects/hammer/sys/dev/pci/pci_pci.c#5 integrate
.. //depot/projects/hammer/sys/sys/stat.h#6 integrate
.. //depot/projects/hammer/usr.bin/uuidgen/uuidgen.1#4 integrate
.. //depot/projects/hammer/usr.sbin/apm/apm.8#5 integrate
.. //depot/projects/hammer/usr.sbin/burncd/burncd.8#6 integrate
.. //depot/projects/hammer/usr.sbin/chown/chgrp.1#3 integrate
.. //depot/projects/hammer/usr.sbin/fwcontrol/fwcontrol.8#3 integrate
.. //depot/projects/hammer/usr.sbin/mixer/mixer.8#3 integrate
.. //depot/projects/hammer/usr.sbin/pciconf/pciconf.8#5 integrate
.. //depot/projects/hammer/usr.sbin/pkg_install/add/pkg_add.1#5 integrate
.. //depot/projects/hammer/usr.sbin/ppp/ppp.8.m4#4 integrate
.. //depot/projects/hammer/usr.sbin/sysinstall/dist.c#6 integrate
.. //depot/projects/hammer/usr.sbin/sysinstall/dist.h#3 integrate
.. //depot/projects/hammer/usr.sbin/sysinstall/menus.c#9 integrate
.. //depot/projects/hammer/usr.sbin/sysinstall/sysinstall.8#3 integrate
.. //depot/projects/hammer/usr.sbin/wicontrol/wicontrol.8#6 integrate

Differences ...

==== //depot/projects/hammer/lib/libc/gen/arc4random.3#3 (text+ko) ====

@@ -28,7 +28,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" Manual page, using -mandoc macros
-.\" $FreeBSD: src/lib/libc/gen/arc4random.3,v 1.14 2003/05/01 20:27:59 trhodes Exp $
+.\" $FreeBSD: src/lib/libc/gen/arc4random.3,v 1.15 2003/05/22 13:02:26 ru Exp $
 .\"
 .Dd April 15, 1997
 .Dt ARC4RANDOM 3
@@ -57,7 +57,8 @@
 can be in about
 .if t 2\u\s71700\s10\d
 .if n (2**1700)
-states. The
+states.
+The
 .Fn arc4random
 function returns pseudo-random numbers in the range of 0 to
 .if t 2\u\s731\s10\d\(mi1,
@@ -87,7 +88,7 @@
 functions using
 .Fn arc4random :
 .Pp
-.Dl #define foo4random() (arc4random()  % ((unsigned)RAND_MAX + 1))
+.Dl "#define foo4random() (arc4random() % ((unsigned)RAND_MAX + 1))"
 .Sh SEE ALSO
 .Xr rand 3 ,
 .Xr random 3 ,

==== //depot/projects/hammer/lib/libc/gen/getfsent.3#4 (text+ko) ====

@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)getfsent.3	8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/gen/getfsent.3,v 1.13 2003/05/18 21:05:21 ru Exp $
+.\" $FreeBSD: src/lib/libc/gen/getfsent.3,v 1.14 2003/05/22 13:02:26 ru Exp $
 .\"
 .Dd April 7, 2003
 .Dt GETFSENT 3
@@ -46,11 +46,11 @@
 .Lb libc
 .Sh SYNOPSIS
 .In fstab.h
-.Ft struct fstab *
+.Ft "struct fstab *"
 .Fn getfsent void
-.Ft struct fstab *
+.Ft "struct fstab *"
 .Fn getfsspec "const char *spec"
-.Ft struct fstab *
+.Ft "struct fstab *"
 .Fn getfsfile "const char *file"
 .Ft int
 .Fn setfsent void
@@ -58,7 +58,7 @@
 .Fn endfsent void
 .Ft void
 .Fn setfstab "const char *file"
-.Ft const char *
+.Ft "const char *"
 .Fn getfstab void
 .Sh DESCRIPTION
 The
@@ -103,11 +103,11 @@
 The value set by
 .Fn setfstab
 does not persist across calls to
-.Fn endfsent
+.Fn endfsent .
 .Pp
 The
 .Fn getfstab
-function returns the name of the file that that will be used.
+function returns the name of the file that will be used.
 .Pp
 The
 .Fn getfsspec
@@ -145,17 +145,17 @@
 function
 returns nothing.
 .Sh ENVIRONMENT
-.Bl -tag -width PATH_FSTAB
-.It Pa PATH_FSTAB
+.Bl -tag -width ".Ev PATH_FSTAB"
+.It Ev PATH_FSTAB
 If the environment variable
-.Pa PATH_FSTAB
-is set all operations are performed against the specified file.
-.Pa PATH_FSTAB
+.Ev PATH_FSTAB
+is set, all operations are performed against the specified file.
+.Ev PATH_FSTAB
 will not be honored if the process environment or memory address space is
 considred
 .Dq tainted .
 (See
-.Fn issetugid
+.Xr issetugid 2
 for more information.)
 .El
 .Sh FILES

==== //depot/projects/hammer/lib/libc/gen/getpwent.3#4 (text+ko) ====

@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     From: @(#)getpwent.3	8.2 (Berkeley) 12/11/93
-.\" $FreeBSD: src/lib/libc/gen/getpwent.3,v 1.22 2003/04/17 14:15:26 nectar Exp $
+.\" $FreeBSD: src/lib/libc/gen/getpwent.3,v 1.23 2003/05/22 13:02:26 ru Exp $
 .\"
 .Dd April 16, 2003
 .Dt GETPWENT 3
@@ -194,7 +194,8 @@
 and
 .Fn getpwuid_r
 return 0 if no error occurred, or an error number to indicate failure.
-It is not an error if a matching entry is not found.  (Thus, if
+It is not an error if a matching entry is not found.
+(Thus, if
 .Fa result
 is
 .Dv NULL

==== //depot/projects/hammer/lib/libc/i386/sys/i386_vm86.2#5 (text+ko) ====

@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/i386/sys/i386_vm86.2,v 1.14 2003/05/18 21:05:21 ru Exp $
+.\" $FreeBSD: src/lib/libc/i386/sys/i386_vm86.2,v 1.15 2003/05/22 13:02:27 ru Exp $
 .\"
 .Dd July 27, 1998
 .Os
@@ -75,13 +75,14 @@
 .Fa int_map
 argument
 is a bitmap which determines whether vm86 interrupts should be handled
-in vm86 mode, or reflected back to the process.  If the
+in vm86 mode, or reflected back to the process.
+If the
 .Em Nth
 bit is set, the interrupt will be reflected to the process, otherwise
 it will be dispatched by the vm86 interrupt table.
 .It Dv VM86_INTCALL
-This allows calls to be made to vm86 interrupt handlers by the process. It
-effectively simulates an INT instruction.
+This allows calls to be made to vm86 interrupt handlers by the process.
+It effectively simulates an INT instruction.
 .Fa data
 should point to the following structure:
 .Bd -literal
@@ -92,8 +93,8 @@
 .Ed
 .Pp
 .Fa intnum
-specifies the operand of INT for the simulated call. A value of 0x10, for
-example, would often be used to call into the VGA BIOS.
+specifies the operand of INT for the simulated call.
+A value of 0x10, for example, would often be used to call into the VGA BIOS.
 .Fa vmf
 is used to initialize CPU registers according to the calling convention for
 the interrupt handler.
@@ -117,7 +118,8 @@
 .Xr sigreturn 2
 with the correct machine context for vm86, and with the
 .Dv PSL_VM
-bit set.  Control returns to the process upon delivery of a signal.
+bit set.
+Control returns to the process upon delivery of a signal.
 .Sh RETURN VALUES
 .Rv -std i386_vm86
 .Sh ERRORS
@@ -132,6 +134,7 @@
 There is not enough memory to initialize the kernel data structures.
 .El
 .Sh AUTHORS
+.An -nosplit
 This man page was written by
 .An Jonathan Lemon ,
 and updated by

==== //depot/projects/hammer/lib/libc/locale/setlocale.3#4 (text+ko) ====

@@ -33,7 +33,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"	@(#)setlocale.3	8.1 (Berkeley) 6/9/93
-.\" $FreeBSD: src/lib/libc/locale/setlocale.3,v 1.26 2003/03/20 08:13:34 ache Exp $
+.\" $FreeBSD: src/lib/libc/locale/setlocale.3,v 1.27 2003/05/22 13:02:27 ru Exp $
 .\"
 .Dd October 5, 2002
 .Dt SETLOCALE 3
@@ -177,7 +177,7 @@
 .Bl -tag -width mon_decimal_point
 .It Fa decimal_point
 The decimal point character, except for currency values,
-can't be the empty string.
+cannot be an empty string.
 .It Fa thousands_sep
 The separator between groups of digits
 before the decimal point, except for currency values.

==== //depot/projects/hammer/lib/libc/locale/wcstod.3#4 (text+ko) ====

@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.3 2003/03/13 06:29:53 tjr Exp $
+.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.4 2003/05/22 13:02:27 ru Exp $
 .\"
 .Dd February 22, 2003
 .Dt WCSTOD 3
@@ -31,14 +31,17 @@
 .Nm wcstof ,
 .Nm wcstod ,
 .Nm wcstold
-.Nd "convert string to float, double or long double"
+.Nd convert string to
+.Vt float , double
+or
+.Vt "long double"
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
 .In wchar.h
 .Ft float
 .Fn wcstof "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
-.Ft long double
+.Ft "long double"
 .Fn wcstold "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
 .Ft double
 .Fn wcstod "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
@@ -53,13 +56,13 @@
 .Fn strtod
 and
 .Fn strtold
-functios.
+functions.
 Refer to
 .Xr strtod 3
 for details.
 .Sh SEE ALSO
 .Xr strtod 3 ,
-.Xr wcstol 3 ,
+.Xr wcstol 3
 .Sh STANDARDS
 The
 .Fn wcstof ,

==== //depot/projects/hammer/lib/libc/net/nsdispatch.3#5 (text+ko) ====

@@ -1,5 +1,5 @@
 .\"	$NetBSD: nsdispatch.3,v 1.8 1999/03/22 19:44:53 garbled Exp $
-.\"	$FreeBSD: src/lib/libc/net/nsdispatch.3,v 1.10 2003/05/18 21:05:21 ru Exp $
+.\"	$FreeBSD: src/lib/libc/net/nsdispatch.3,v 1.11 2003/05/22 13:02:27 ru Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -74,7 +74,8 @@
 .Pp
 Each method has the function signature described by the typedef:
 .Pp
-.Ft typedef "int \*(lp*nss_method\*(rp\*(lpvoid *retval, void *mdata, va_list *ap\*(rp" ;
+.Ft typedef int
+.Fn \*(lp*nss_method\*(rp "void *retval" "void *mdata" "va_list *ap" ;
 .Pp
 .Va dtab
 is an array of
@@ -175,12 +176,12 @@
 .Ss Valid source types
 While there is support for arbitrary sources, the following
 #defines for commonly implemented sources are available:
-.Bl -column NS_COMPAT COMPAT -offset indent
+.Bl -column NSSRC_COMPAT compat -offset indent
 .It Sy "#define	value"
-.It "NSSRC_FILES	""files"""
-.It "NSSRC_DNS	""dns"""
-.It "NSSRC_NIS	""nis"""
-.It "NSSRC_COMPAT	""compat"""
+.It Dv NSSRC_FILES Ta """files""
+.It Dv NSSRC_DNS Ta """dns""
+.It Dv NSSRC_NIS Ta """nis""
+.It Dv NSSRC_COMPAT Ta """compat""
 .El
 .Pp
 Refer to
@@ -192,13 +193,13 @@
 .Vt nss_method
 functions must return one of the following values depending upon status
 of the lookup:
-.Bl -column "RETURN VALUE" "STATUS CODE"
+.Bl -column "Return value" "Status code"
 .It Sy "Return value	Status code"
-.It "NS_SUCCESS	success"
-.It "NS_NOTFOUND	notfound"
-.It "NS_UNAVAIL	unavail"
-.It "NS_TRYAGAIN	tryagain"
-.It "NS_RETURN	-none-"
+.It Dv NS_SUCCESS Ta success
+.It Dv NS_NOTFOUND Ta notfound
+.It Dv NS_UNAVAIL Ta unavail
+.It Dv NS_TRYAGAIN Ta tryagain
+.It Dv NS_RETURN Ta -none-
 .El
 .Pp
 Refer to
@@ -208,12 +209,14 @@
 The
 .Fn nsdispatch
 function returns the value of the method that caused the dispatcher to
-terminate, or NS_NOTFOUND otherwise.
+terminate, or
+.Dv NS_NOTFOUND
+otherwise.
 .Sh SEE ALSO
 .Xr hesiod 3 ,
 .Xr stdarg 3 ,
-.Xr yp 8 ,
-.Xr nsswitch.conf 5
+.Xr nsswitch.conf 5 ,
+.Xr yp 8
 .Sh HISTORY
 The
 .Fn nsdispatch
@@ -232,10 +235,10 @@
 wrote this freely-distributable name-service switch implementation,
 using ideas from the
 .Tn ULTRIX
-"svc.conf\*(lp5\*(rp"
+svc.conf(5)
 and
 .Tn Solaris
-"nsswitch.conf\*(lp4\*(rp"
+nsswitch.conf(4)
 manual pages.
 The
 .Fx

==== //depot/projects/hammer/lib/libc/posix1e/mac.3#6 (text+ko) ====

@@ -28,14 +28,14 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/posix1e/mac.3,v 1.12 2003/04/20 04:43:56 rwatson Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/mac.3,v 1.13 2003/05/22 13:02:27 ru Exp $
 .\"
 .Dd April 19, 2003
 .Dt MAC 3
 .Os
 .Sh NAME
 .Nm mac
-.Nd Introduction to the MAC security API
+.Nd introduction to the MAC security API
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS

==== //depot/projects/hammer/lib/libc/stdio/fputws.3#3 (text+ko) ====

@@ -35,7 +35,7 @@
 .\"
 .\"     @(#)fputs.3	8.1 (Berkeley) 6/4/93
 .\" FreeBSD: src/lib/libc/stdio/fputs.3,v 1.8 2001/10/01 16:08:59 ru Exp
-.\" $FreeBSD: src/lib/libc/stdio/fputws.3,v 1.4 2003/03/09 02:56:54 tjr Exp $
+.\" $FreeBSD: src/lib/libc/stdio/fputws.3,v 1.5 2003/05/22 13:02:27 ru Exp $
 .\"
 .Dd August 6, 2002
 .Dt FPUTWS 3
@@ -63,10 +63,10 @@
 function
 returns 0 on success and \-1 on error.
 .Sh ERRORS
-.Bl -tag -width Er
 The
 .Fn fputws
 function will fail if:
+.Bl -tag -width Er
 .It Bq Er EBADF
 The
 .Fa fp

==== //depot/projects/hammer/lib/libc/stdlib/strtod.3#5 (text+ko) ====

@@ -34,7 +34,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)strtod.3	8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/strtod.3,v 1.18 2003/03/12 20:31:05 das Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/strtod.3,v 1.19 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd March 2, 2003
 .Dt STRTOD 3
@@ -52,7 +52,7 @@
 .Fn strtod "const char * restrict nptr" "char ** restrict endptr"
 .Ft float
 .Fn strtof "const char * restrict nptr" "char ** restrict endptr"
-.Ft long double
+.Ft "long double"
 .Fn strtold "const char * restrict nptr" "char ** restrict endptr"
 .Sh DESCRIPTION
 These conversion
@@ -63,7 +63,7 @@
 .Vt double ,
 .Vt float ,
 and
-.Vt long double
+.Vt "long double"
 representation, respectively.
 .Pp
 The expected form of the string is an optional plus (``+'') or minus
@@ -160,10 +160,10 @@
 The author of this software is
 .An David M. Gay .
 .Pp
+.Bd -literal
 Copyright (c) 1998 by Lucent Technologies
-.br
 All Rights Reserved
-.Pp
+
 Permission to use, copy, modify, and distribute this software and
 its documentation for any purpose and without fee is hereby
 granted, provided that the above copyright notice appear in all
@@ -173,7 +173,7 @@
 not be used in advertising or publicity pertaining to
 distribution of the software without specific, written prior
 permission.
-.Pp
+
 LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
 IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
@@ -182,3 +182,4 @@
 IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
 THIS SOFTWARE.
+.Ed

==== //depot/projects/hammer/lib/libc/sys/jail.2#4 (text+ko) ====

@@ -6,13 +6,13 @@
 .\"this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
 .\"----------------------------------------------------------------------------
 .\"
-.\"$FreeBSD: src/lib/libc/sys/jail.2,v 1.23 2003/04/09 02:55:17 mike Exp $
+.\"$FreeBSD: src/lib/libc/sys/jail.2,v 1.24 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd April 8, 2003
 .Dt JAIL 2
 .Os
 .Sh NAME
-.Nm jail
+.Nm jail , jail_attach
 .Nd imprison current process and future decendants
 .Sh LIBRARY
 .Lb libc
@@ -59,21 +59,16 @@
 .Fn jail_attach
 system call attaches the current process to an existing jail,
 identified by
-.Va jid .
+.Fa jid .
 .Sh RETURN VALUES
 If successful,
 .Fn jail
 returns a non-negative integer, termed the jail identifier (JID).
-It returns -1 on failure, and sets
+It returns \-1 on failure, and sets
 .Va errno
 to indicate the error.
 .Pp
-If successful,
-.Fn jail_attach
-returns 0.
-It returns -1 on failure, and sets
-.Va errno
-to indicate the error.
+.Rv -std jail_attach
 .Sh PRISON?
 Once a process has been put in a prison, it and its decendants cannot escape
 the prison.

==== //depot/projects/hammer/lib/libc/sys/sendfile.2#3 (text+ko) ====

@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/sys/sendfile.2,v 1.17 2003/03/12 09:28:44 seanc Exp $
+.\" $FreeBSD: src/lib/libc/sys/sendfile.2,v 1.18 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd November 5, 1998
 .Dt SENDFILE 2
@@ -107,22 +107,22 @@
 .Fn sendfile
 is "zero-copy", meaning that it has been optimized so that copying of the file data is avoided.
 .Sh TUNING
-Internally this system call uses a special
+Internally, this system call uses a special
 .Xr sendfile 2
 buffer
-.Pq Fa "struct sf_buf"
+.Pq Vt "struct sf_buf"
 to handle sending file data to the client.
 If the sending socket is
-blocking and there are not enough sendfile buffers available,
+blocking, and there are not enough sendfile buffers available,
 .Xr sendfile 2
 will block and report a state of
-.Dq sfbufa .
+.Dq Li sfbufa .
 If the sending socket is non-blocking and there are not enough
 sendfile buffers available, the call will block and wait for the
 necessary buffers to become available before finishing the call.
 .Pp
 The number of
-.Fa sf_buf Ns 's
+.Vt sf_buf Ns 's
 allocated should be proportional to the number of nmbclusters used to
 send data to a client via
 .Xr sendfile 2 .
@@ -130,19 +130,21 @@
 Busy installations that make extensive use of
 .Xr sendfile 2
 may want to increase these values to be inline with their
-.Ar kern.ipc.nmbclusters
-.Pq see Xr tuning 7 for details .
+.Va kern.ipc.nmbclusters
+(see
+.Xr tuning 7
+for details).
 .Pp
 The number of
 .Xr sendfile 2
 buffers in use is determined at boot time by either the
-.Em kern.ipc.nsfbufs
+.Va kern.ipc.nsfbufs
 .Xr loader.conf 5
 variable or the
-.Em NSFBUFS
+.Dv NSFBUFS
 kernel configuration tunable.
 The number of sendfile buffers scales with
-.Em kern.maxusers .
+.Va kern.maxusers .
 .Sh RETURN VALUES
 .Rv -std sendfile
 .Sh ERRORS
@@ -198,8 +200,8 @@
 .Xr open 2 ,
 .Xr send 2 ,
 .Xr socket 2 ,
-.Xr tuning 7 ,
-.Xr writev 2
+.Xr writev 2 ,
+.Xr tuning 7
 .Sh HISTORY
 The
 .Fn sendfile

==== //depot/projects/hammer/lib/libc/sys/stat.2#4 (text+ko) ====

@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)stat.2	8.4 (Berkeley) 5/1/95
-.\" $FreeBSD: src/lib/libc/sys/stat.2,v 1.32 2003/05/13 08:10:05 dougb Exp $
+.\" $FreeBSD: src/lib/libc/sys/stat.2,v 1.33 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd February 15, 2002
 .Dt STAT 2
@@ -90,8 +90,8 @@
 The time-related fields of
 .Fa struct stat
 are as follows:
-.Bl -tag -width XXXst_mtime
-.It st_atime
+.Bl -tag -width ".Va st_birthtime"
+.It Va st_atime
 Time when file data last accessed.
 Changed by the
 .Xr mknod 2 ,
@@ -99,7 +99,7 @@
 and
 .Xr read 2
 system calls.
-.It st_mtime
+.It Va st_mtime
 Time when file data last modified.
 Changed by the
 .Xr mknod 2 ,
@@ -107,7 +107,7 @@
 and
 .Xr write 2
 system calls.
-.It st_ctime
+.It Va st_ctime
 Time when file status was last changed (inode data modification).
 Changed by the
 .Xr chmod 2 ,
@@ -120,7 +120,7 @@
 and
 .Xr write 2
 system calls.
-.It st_birthtime
+.It Va st_birthtime
 Time when the inode was created.
 .El
 .Pp

==== //depot/projects/hammer/lib/libdevstat/devstat.3#4 (text+ko) ====

@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libdevstat/devstat.3,v 1.22 2003/03/18 13:45:08 phk Exp $
+.\" $FreeBSD: src/lib/libdevstat/devstat.3,v 1.23 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd July 15, 2001
 .Dt DEVSTAT 3
@@ -40,7 +40,7 @@
 .Nm devstat_selectdevs ,
 .Nm devstat_buildmatch ,
 .Nm devstat_compute_statistics ,
-.Nm devstat_compute_etime ,
+.Nm devstat_compute_etime
 .Nd device statistics utility library
 .Sh LIBRARY
 .Lb libdevstat
@@ -553,7 +553,7 @@
 .It DSM_MB_PER_SECOND_FREE
 type: long double *
 .Pp
-The average number of megabytesper second in the specified type of
+The average number of megabytes per second in the specified type of
 transaction between the acquisition of
 .Va previous
 and
@@ -600,7 +600,7 @@
 and
 .Va current .
 .It DSM_BUSY_PCT
-type long double *
+type: long double *
 .Pp
 The percentage of time the device had one or more transactions outstanding
 between the acquisition of

==== //depot/projects/hammer/lib/libfetch/fetch.3#4 (text+ko) ====

@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libfetch/fetch.3,v 1.52 2003/03/03 12:35:03 des Exp $
+.\" $FreeBSD: src/lib/libfetch/fetch.3,v 1.53 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd July 1, 1998
 .Dt FETCH 3
@@ -444,7 +444,7 @@
 The accompanying error message includes a protocol-specific error code
 and message, e.g. "File is not available (404 Not Found)"
 .Sh ENVIRONMENT
-.Bl -tag -width FETCH_BIND_ADDRESS
+.Bl -tag -width ".Ev FETCH_BIND_ADDRESS"
 .It Ev FETCH_BIND_ADDRESS
 Specifies a hostname or IP address to which sockets used for outgoing
 connections will be bound.

==== //depot/projects/hammer/lib/libusbhid/usbhid.3#3 (text+ko) ====

@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libusbhid/usbhid.3,v 1.13 2003/04/09 01:52:48 mdodd Exp $
+.\" $FreeBSD: src/lib/libusbhid/usbhid.3,v 1.14 2003/05/22 13:02:28 ru Exp $
 .\"
 .Dd December 29, 2001
 .Dt USBHID 3
@@ -65,13 +65,13 @@
 .Fn hid_report_size "report_desc_t d" "hid_kind_t k" "int id"
 .Ft int
 .Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h" "int id"
-.Ft char *
+.Ft "char *"
 .Fn hid_usage_page "int i"
-.Ft char *
+.Ft "char *"
 .Fn hid_usage_in_page "u_int u"
 .Ft int
 .Fn hid_parse_usage_page "const char *"
-.Ft char *
+.Ft "char *"
 .Fn hid_parse_usage_in_page "const char *"
 .Ft void
 .Fn hid_init "char *file"
@@ -83,7 +83,7 @@
 The
 .Nm
 library provides routines to extract data from USB Human Interface Devices.
-.Ss INTRODUCTION
+.Ss Introduction
 USB HID devices send and receive data layed out in a device dependent way.
 The
 .Nm
@@ -94,7 +94,7 @@
 The routines can be divided into four parts: extraction of the descriptor,
 parsing of the descriptor, translating to/from symbolic names, and
 data manipulation.
-.Ss DESCRIPTOR FUNCTIONS
+.Ss Descriptor Functions
 A report descriptor can be obtained by calling
 .Fn hid_get_report_desc
 with a file descriptor obtained by opening a
@@ -114,7 +114,7 @@
 .Fn hid_dispose_report_desc
 fails it will return
 .Dv NULL .
-.Ss DESCRIPTOR PARSING FUNCTIONS
+.Ss Descriptor Parsing Functions
 To parse the report descriptor the
 .Fn hid_start_parse
 function should be called with a report descriptor and a set that
@@ -125,7 +125,7 @@
 .Fa k
 is an item of type
 .Vt hid_kind_t .
-The report id (if present) is given by
+The report ID (if present) is given by
 .Fa id .
 The function returns
 .Dv NULL
@@ -164,7 +164,7 @@
 It should be given the usage code of
 the item and its kind and it will fill the item and return
 non-zero if the item was found.
-.Ss Name TRANSLATION FUNCTIONS
+.Ss Name Translation Functions
 The function
 .Fn hid_usage_page
 will return the symbolic name of a usage page, and the function
@@ -190,7 +190,7 @@
 Passing
 .Dv NULL
 to this function will cause it to use the default table.
-.Ss Data EXTRACTION FUNCTIONS
+.Ss Data Extraction Functions
 Given the data obtained from a HID device and an item in the
 report descriptor the
 .Fn hid_get_data

==== //depot/projects/hammer/lib/msun/src/math.h#8 (text+ko) ====

@@ -11,7 +11,7 @@
 
 /*
  * from: @(#)fdlibm.h 5.1 93/09/24
- * $FreeBSD: src/lib/msun/src/math.h,v 1.25 2003/04/04 13:27:47 das Exp $
+ * $FreeBSD: src/lib/msun/src/math.h,v 1.26 2003/05/22 17:07:57 mike Exp $
  */
 
 #ifndef _MATH_H_
@@ -249,7 +249,7 @@
  * Reentrant version of gamma & lgamma; passes signgam back by reference
  * as the second argument; user must allocate space for signgam.
  */
-#ifdef __BSD_VISIBLE
+#if __BSD_VISIBLE
 double	gamma_r(double, int *);
 double	lgamma_r(double, int *);
 #endif /* __BSD_VISIBLE */
@@ -330,7 +330,7 @@
  * signgam back by reference as the second argument; user must
  * allocate space for signgam.
  */
-#ifdef __BSD_VISIBLE
+#if __BSD_VISIBLE
 float	gammaf_r(float, int *);
 float	lgammaf_r(float, int *);
 #endif	/* __BSD_VISIBLE */

==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml#20 (text+ko) ====

@@ -31,7 +31,7 @@
 
 <sect1 id="support">
   <sect1info>
-    <pubdate>$FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml,v 1.150 2003/05/19 21:32:45 blackend Exp $</pubdate>
+    <pubdate>$FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml,v 1.151 2003/05/22 17:25:24 bmah Exp $</pubdate>
   </sect1info>
 
   <title>Supported Devices</title>
@@ -2132,12 +2132,12 @@
         <listitem>
 	  <para>SysKonnect SK-9D21 and 9D41</para>
         </listitem>
-        <listitem>
-	  <para>Integrated gigabit Ethernet NICs on DELL PowerEdge 2550
+        <listitem arch="i386">
+	  <para>Integrated Gigabit Ethernet NICs on DELL PowerEdge 2550
 	  servers</para>
         </listitem>
-        <listitem>
-	  <para>Integrated gigabit Ethernet NICs on IBM x235 servers</para>
+        <listitem arch="i386">
+	  <para>Integrated Gigabit Ethernet NICs on IBM x235 servers</para>
         </listitem>
       </itemizedlist>
     </para>

==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/common/intro.sgml#3 (text+ko) ====

@@ -1,4 +1,4 @@
-<!-- $FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/common/intro.sgml,v 1.5 2003/01/12 18:27:02 roam Exp $ -->
+<!-- $FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/common/intro.sgml,v 1.6 2003/05/22 15:51:45 bmah Exp $ -->
 
 <sect1 id="intro">
   <title>Introduction</title>
@@ -15,4 +15,10 @@
     hardware platform.  Versions of the hardware compatibility notes
     for other architectures will differ in some details.</para>
   </note>
+
+  <para arch="ia64">More information on &os;/&arch; is contained on
+    the
+    <ulink url="http://www.FreeBSD.org/platforms/ia64/index.html">&os;/&arch; 
+    Project</ulink> page.</para>
+
 </sect1>

==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/ia64/article.sgml#3 (text+ko) ====

@@ -1,4 +1,4 @@
-<!-- $FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/ia64/article.sgml,v 1.2 2002/11/08 18:28:00 bmah Exp $ -->
+<!-- $FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/ia64/article.sgml,v 1.3 2003/05/22 15:42:50 bmah Exp $ -->
 
 <!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
 <!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
@@ -22,9 +22,10 @@
   &artheader;
 
   <abstract>
-    <para>This document is in a very preliminary state.  It is
-      incomplete, and is almost certainly not be an accurate
-      reflection of reality.</para>
+    <para>This is a preliminary document.  It is incomplete, and in
+      need of additional content.  Please send additional information
+      on &arch.print; processors, motherboards, and various devices
+      working on &os; to the &a.ia64;.</para>
   </abstract>
 
   &sect.intro;

==== //depot/projects/hammer/sbin/newfs/mkfs.c#9 (text+ko) ====

@@ -46,7 +46,7 @@
 #endif /* not lint */
 #endif
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sbin/newfs/mkfs.c,v 1.76 2003/05/10 18:58:17 iedowse Exp $");
+__FBSDID("$FreeBSD: src/sbin/newfs/mkfs.c,v 1.77 2003/05/22 18:38:54 dougb Exp $");
 
 #include <err.h>
 #include <limits.h>
@@ -113,6 +113,12 @@
 	quad_t sizepb;
 	int width;
 	char tmpbuf[100];	/* XXX this will break in about 2,500 years */
+	union {
+		struct fs fdummy;
+		char cdummy[SBLOCKSIZE];
+	} dummy;
+#define fsdummy dummy.fdummy
+#define chdummy dummy.cdummy
 
 	/*
 	 * Our blocks == sector size, and the version of UFS we are using is
@@ -425,6 +431,24 @@
 	if (sblock.fs_flags & FS_DOSOFTDEP)
 		printf("\twith soft updates\n");
 #	undef B2MBFACTOR
+
+	/*
+	 * Wipe out old UFS1 superblock(s) if necessary.
+	 */
+	if (!Nflag && Oflag != 1) {
+		i = bread(&disk, SBLOCK_UFS1 / disk.d_bsize, chdummy, SBLOCKSIZE);
+		if (i == -1)
+			err(1, "can't read old UFS1 superblock: %s", disk.d_error);
+
+		if (fsdummy.fs_magic == FS_UFS1_MAGIC) {
+			fsdummy.fs_magic = 0;
+			bwrite(&disk, SBLOCK_UFS1 / disk.d_bsize, chdummy, SBLOCKSIZE);
+			for (i = 0; i < fsdummy.fs_ncg; i++)
+				bwrite(&disk, fsbtodb(&fsdummy, cgsblock(&fsdummy, i)),
+	                    chdummy, SBLOCKSIZE);
+		}
+	}
+
 	/*
 	 * Now build the cylinders group blocks and
 	 * then print out indices of cylinder groups.

==== //depot/projects/hammer/share/mk/bsd.cpu.mk#8 (text+ko) ====

@@ -1,4 +1,4 @@
-# $FreeBSD: src/share/mk/bsd.cpu.mk,v 1.27 2003/05/20 01:46:16 peter Exp $
+# $FreeBSD: src/share/mk/bsd.cpu.mk,v 1.28 2003/05/22 16:56:46 anholt Exp $
 
 # Set default CPU compile flags and baseline CPUTYPE for each arch.  The
 # compile flags must support the minimum CPU type for each architecture but
@@ -50,7 +50,9 @@
 .  elif ${CPUTYPE} == "k5"
 _CPUCFLAGS = -march=pentium
 .  elif ${CPUTYPE} == "p4"
-_CPUCFLAGS = -march=pentium4
+# gcc 3.2 is known to produce broken code with -march=pentium4, so it is
+# disabled for now.  This is fixed in gcc 3.3.
+_CPUCFLAGS = -march=pentium3
 .  elif ${CPUTYPE} == "p3"
 _CPUCFLAGS = -march=pentium3
 .  elif ${CPUTYPE} == "p2"

==== //depot/projects/hammer/sys/amd64/amd64/trap.c#17 (text+ko) ====

@@ -35,11 +35,11 @@
  * SUCH DAMAGE.
  *
  *	from: @(#)trap.c	7.4 (Berkeley) 5/13/91
- * $FreeBSD: src/sys/amd64/amd64/trap.c,v 1.257 2003/05/14 04:10:48 peter Exp $
+ * $FreeBSD: src/sys/amd64/amd64/trap.c,v 1.258 2003/05/22 20:09:50 peter Exp $
  */
 
 /*
- * 386 Trap and System call handling
+ * AMD64 Trap and System call handling
  */
 
 #include "opt_clock.h"
@@ -194,10 +194,10 @@
 			printf("kernel trap %d with interrupts disabled\n",
 			    type);
 			/*

>>> TRUNCATED FOR MAIL (1000 lines) <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305222011.h4MKBxlB069846>