svn commit: r213719 - head/sys/dev/bwn
Author: joel (doc committer) Date: Tue Oct 12 11:05:32 2010 New Revision: 213719 URL: http://svn.freebsd.org/changeset/base/213719 Log: Small grammar nit in a printf message. Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c == --- head/sys/dev/bwn/if_bwn.c Tue Oct 12 10:04:44 2010(r213718) +++ head/sys/dev/bwn/if_bwn.c Tue Oct 12 11:05:32 2010(r213719) @@ -2907,7 +2907,7 @@ bwn_set_channel(struct ieee80211com *ic) bwn_rf_turnon(mac); if (!(mac->mac_flags & BWN_MAC_FLAG_RADIO_ON)) device_printf(sc->sc_dev, - "please turns on the RF switch\n"); + "please turn on the RF switch\n"); } else bwn_rf_turnoff(mac); } ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r213740 - head/share/man/man4
Author: joel (doc committer) Date: Tue Oct 12 19:00:18 2010 New Revision: 213740 URL: http://svn.freebsd.org/changeset/base/213740 Log: Document the fact that bwn works really well on the laptop I'm using right now (HP 6715b). Modified: head/share/man/man4/bwn.4 Modified: head/share/man/man4/bwn.4 == --- head/share/man/man4/bwn.4 Tue Oct 12 18:36:03 2010(r213739) +++ head/share/man/man4/bwn.4 Tue Oct 12 19:00:18 2010(r213740) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 14, 2010 +.Dd October 12, 2010 .Dt BWN 4 .Os .Sh NAME @@ -83,6 +83,7 @@ driver supports Broadcom BCM43xx based w .It "Buffalo WLI-CB-G54S BCM4318 CardBus b/g" .It "Dell Wireless 1470BCM4318 Mini PCIb/g" .It "Dell Truemobile 1400 BCM4309 Mini PCIb/g" +.It "HP Compaq 6715b BCM4312 PCI b/g" .It "HP nx6125 BCM4319 PCI b/g" .It "Linksys WPC54G Ver 3 BCM4318 CardBus b/g" .It "Linksys WPC54GS Ver 2 BCM4318 CardBus b/g" ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r228073 - stable/9/cddl/lib/drti
On 28-11-2011 15:09, Robert Watson wrote: > Author: rwatson > Date: Mon Nov 28 15:09:31 2011 > New Revision: 228073 > URL: http://svn.freebsd.org/changeset/base/228073 > > Log: > Merge r228057 from head to stable/9: > > Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of > bsd.prog.mk -- we need to compile PIC, which requires a library build. > With this change, USDT (userspace DTrace probes) work from within > shared libraries. > > PR: kern/159046 > Submitted by: Alex Samorukov > Comments by:Scott Lystig Fritchie > > Approved by:re (xxx) xxx ? :-) -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r228192 - head/usr.sbin/bsdinstall/scripts
On 02-12-2011 0:38, Ken Smith wrote: > Author: kensmith > Date: Fri Dec 2 00:38:47 2011 > New Revision: 228192 > URL: http://svn.freebsd.org/changeset/base/228192 > > Log: > Add a screen that asks if the user would like to enable crash dumps, > giving them a very brief description of the trade-offs. Whether the > user opts in or out add an entry to what will become /etc/rc.conf > explaining what dumpdev is and how to turn on/off crash dumps. The folks > who handle interacting with users submitting PRs have asked for this. Hmm. Two things I'd like to bring up: * Not specifically aimed at this commit, but my recommendation would be that we keep bsdinstall as simple as possible: installing FreeBSD should require a minimum amount of keystrokes. I realise this is just one more screen, but I hope we don't turn bsdinstall into a configuration utility where you can disable/enable just about anything in rc.conf. * Mentioning future system crashes during installation feels awkward. Is that really what we want? I understand the problem and how this helps us with debugging, but this is like saying to users that what they are installing is unstable and that it'll eventuelly crash and die. I know we discussed ways of making crash dumps smarter in order to not fill up /var, which in turn would allow us to always have it on. Maybe that is the right path? -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r228192 - head/usr.sbin/bsdinstall/scripts
On 02-12-2011 8:30, Ken Smith wrote: > On Fri, 2011-12-02 at 14:18 +0100, Erik Cederstrand wrote: > > Den 02/12/2011 kl. 10.44 skrev Joel Dahl: > > > > > On 02-12-2011 0:38, Ken Smith wrote: > > >> Author: kensmith > > >> Date: Fri Dec 2 00:38:47 2011 > > >> New Revision: 228192 > > >> URL: http://svn.freebsd.org/changeset/base/228192 > > >> > > >> Log: > > >> Add a screen that asks if the user would like to enable crash dumps, > > >> giving them a very brief description of the trade-offs. Whether the > > >> user opts in or out add an entry to what will become /etc/rc.conf > > >> explaining what dumpdev is and how to turn on/off crash dumps. The > > >> folks > > >> who handle interacting with users submitting PRs have asked for this. > > > > > > Hmm. Two things I'd like to bring up: > > > > > > * Not specifically aimed at this commit, but my recommendation > > > would be that we keep bsdinstall as simple as possible: installing > > > FreeBSD > > > should require a minimum amount of keystrokes. I realise this is just one > > > more screen, but I hope we don't turn bsdinstall into a configuration > > > utility where you can disable/enable just about anything in rc.conf. > > > > > > * Mentioning future system crashes during installation feels awkward. Is > > > that > > > really what we want? I understand the problem and how this helps us with > > > debugging, but this is like saying to users that what they are installing > > > is unstable and that it'll eventuelly crash and die. I know we discussed > > > ways of making crash dumps smarter in order to not fill up /var, which in > > > turn would allow us to always have it on. Maybe that is the right path? > > > > Maybe do away with the dialog, and then unconditionally enable textdump in > > rc.conf, adding the magic so textdump_enable="YES" sets up textdump with > > sane defaults. > > > > Thanks, > > Erik > > > > This just implements what we seemed to settle on during the latest round > of several discussions we've had about this issue. It comes up each > I've turned off dumpdev as part of converting head into a stable branch, > which is a step that got started way before I started being the one to > do it. I'll be happy to see what I just added go away but the > pre-condition for that is infrastructure that prevents crash dumps > (of any form, including textdumps) from filling up /var if the user > turns out to be clueless about them and doesn't realize they should > pay attention to them. Thanks for the explanation Ken. I'm fine with this being in the release but I was curious about the discussion resulting in this change (because I obviously didn't see it). It sounds like we've got another project to hack on before 10.0. :-) -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r228192 - head/usr.sbin/bsdinstall/scripts
On 02-12-2011 18:46, Bruce Cran wrote: > On 02/12/2011 09:44, Joel Dahl wrote: > > * Not specifically aimed at this commit, but my recommendation > >would be that we keep bsdinstall as simple as possible: installing > > FreeBSD > >should require a minimum amount of keystrokes. I realise this is just one > >more screen, but I hope we don't turn bsdinstall into a configuration > >utility where you can disable/enable just about anything in rc.conf. > > This is an argument I see again and again. Yes, and now we've got bsdinstall instead of sysinstall. Much better. Some (most?) people want the installer to just install the OS and then get out of the way, as quickly as possible. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r228505 - head/share/man/man8
Author: joel (doc committer) Date: Wed Dec 14 19:48:21 2011 New Revision: 228505 URL: http://svn.freebsd.org/changeset/base/228505 Log: Add SEE ALSO. Modified: head/share/man/man8/yp.8 Modified: head/share/man/man8/yp.8 == --- head/share/man/man8/yp.8Wed Dec 14 17:12:59 2011(r228504) +++ head/share/man/man8/yp.8Wed Dec 14 19:48:21 2011(r228505) @@ -28,7 +28,7 @@ .\" from: @(#)yp.8 1.0 (deraadt) 4/26/93 .\" $FreeBSD$ .\" -.Dd June 25, 2009 +.Dd December 14, 2011 .Dt YP 8 .Os .Sh NAME @@ -519,6 +519,20 @@ a v1 and v2 server. .Xr ypserv 8 manual page for a detailed description of these special features and flags.) +.Sh SEE ALSO +.Xr domainname 1 , +.Xr ypcat 1 , +.Xr ypmatch 1 , +.Xr ypwhich 1 , +.Xr nsswitch.conf 5 , +.Xr yp_mkdb 8 , +.Xr ypbind 8 , +.Xr ypinit 8 , +.Xr yppoll 8 , +.Xr yppush 8 , +.Xr ypserv 8 , +.Xr ypset 8 , +.Xr ypxfr 8 .Sh HISTORY The .Nm YP ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r229430 - in head/sys: conf dev/sound/pci modules/sound/driver/emu10k1
On 03-01-2012 16:15, John Baldwin wrote: > On Tuesday, January 03, 2012 4:04:54 pm Pedro F. Giffuni wrote: > > Author: pfg > > Date: Tue Jan 3 21:04:54 2012 > > New Revision: 229430 > > URL: http://svn.freebsd.org/changeset/base/229430 > > > > Log: > > Replace a GPL'd header in the emu10k1 snd driver code. > > > > This brings in the emuxkireg.h from NetBSD (dev/pci) which > > is used for the same purpose but is smaller. The emu10k1 > > is now free from the GPL. > > Is this a common-enough chipset to enable in GENERIC now that it is safe to > do so? I think so, but I also think we should decide what to do with emu10kx (if anything) as I suspect it will remain GPL polluted. The emu10k1 and emu10kx drivers essentially support the same hardware, with a few exceptions (if memory serves me right -- I think there are a few cards that emu10kx does not support, someone should check with Yuriy). However, emu10kx has a few nice features like optional multichannel and MIDI I/O support... -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r214907 - head/usr.sbin/apmd
Author: joel (doc committer) Date: Sun Nov 7 07:16:35 2010 New Revision: 214907 URL: http://svn.freebsd.org/changeset/base/214907 Log: Remove extraneous Aq. Modified: head/usr.sbin/apmd/apmd.8 Modified: head/usr.sbin/apmd/apmd.8 == --- head/usr.sbin/apmd/apmd.8 Sun Nov 7 06:46:52 2010(r214906) +++ head/usr.sbin/apmd/apmd.8 Sun Nov 7 07:16:35 2010(r214907) @@ -1,6 +1,6 @@ .\" Copyright (c) 1999 Mitsuru IWASAKI .\" Copyright (c) 1999 KOIE Hidetaka -.\" Copyright (c) 1999 Yoshihiko SARUMARU Aq +.\" Copyright (c) 1999 Yoshihiko SARUMARU .\" Copyright (c) 1999 Norihiro Kumagai .\" All rights reserved. .\" ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r215132 - head/sys/dev/nfe
On 11-11-2010 18:08, Pyun YongHyeon wrote: > Author: yongari > Date: Thu Nov 11 18:08:50 2010 > New Revision: 215132 > URL: http://svn.freebsd.org/changeset/base/215132 > > Log: > Add basic WOL support for MCP ethernet controllers. It seems the > controller does not perform automatic switching from 1000Mbps link > to 10/100Mbps link when WOL is activated. Implement establishing > 10/100Mps link with auto-negotiation in driver. Link status change > handler was modified to remove taskqueue based approach since driver > now needs synchronous handling for link establishment. Somewhat unrelated but this commit reminds me of something: why do we still keep the nve driver? I thought nfe was written as a replacement years ago? -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r215247 - head/sbin/mdconfig
Author: joel (doc committer) Date: Sat Nov 13 15:28:44 2010 New Revision: 215247 URL: http://svn.freebsd.org/changeset/base/215247 Log: Use "cylinder" instead of "cyl" for consistency. Reviewed by: phk Modified: head/sbin/mdconfig/mdconfig.8 head/sbin/mdconfig/mdconfig.c Modified: head/sbin/mdconfig/mdconfig.8 == --- head/sbin/mdconfig/mdconfig.8 Sat Nov 13 15:24:56 2010 (r215246) +++ head/sbin/mdconfig/mdconfig.8 Sat Nov 13 15:28:44 2010 (r215247) @@ -58,7 +58,7 @@ .Op Fl S Ar sectorsize .Op Fl u Ar unit .Op Fl x Ar sectors/track -.Op Fl y Ar heads/cyl +.Op Fl y Ar heads/cylinder .Nm .Fl d .Fl u Ar unit Modified: head/sbin/mdconfig/mdconfig.c == --- head/sbin/mdconfig/mdconfig.c Sat Nov 13 15:24:56 2010 (r215246) +++ head/sbin/mdconfig/mdconfig.c Sat Nov 13 15:28:44 2010 (r215247) @@ -57,7 +57,7 @@ usage(void) fprintf(stderr, "usage: mdconfig -a -t type [-n] [-o [no]option] ... [-f file]\n" "[-s size] [-S sectorsize] [-u unit]\n" -"[-x sectors/track] [-y heads/cyl]\n" +"[-x sectors/track] [-y heads/cylinder]\n" " mdconfig -d -u unit [-o [no]force]\n" " mdconfig -l [-v] [-n] [-u unit]\n"); fprintf(stderr, "\t\ttype = {malloc, preload, vnode, swap}\n"); ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r215293 - head
Author: joel (doc committer) Date: Sun Nov 14 11:32:56 2010 New Revision: 215293 URL: http://svn.freebsd.org/changeset/base/215293 Log: Add the cddl/ directory. Modified: head/README Modified: head/README == --- head/README Sun Nov 14 11:09:16 2010(r215292) +++ head/README Sun Nov 14 11:32:56 2010(r215293) @@ -43,6 +43,9 @@ Source Roadmap: --- binSystem/user commands. +cddl Various commands and libraries under the Common Development + and Distribution License. + contribPackages contributed by 3rd parties. crypto Cryptography stuff (see crypto/README). ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r216372 - in head/usr.sbin: config gpioctl iostat lpr/common_source lpr/filters lpr/lpc lpr/lpd lpr/lpq lpr/lpr lpr/lprm lpr/lptest lpr/pac timed/timed timed/timedc traceroute6
Author: joel (doc committer) Date: Sat Dec 11 09:38:12 2010 New Revision: 216372 URL: http://svn.freebsd.org/changeset/base/216372 Log: Remove the advertising clause from UCB copyrighted files in usr.sbin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Modified: head/usr.sbin/config/config.y head/usr.sbin/gpioctl/gpioctl.8 head/usr.sbin/iostat/iostat.8 head/usr.sbin/iostat/iostat.c head/usr.sbin/lpr/common_source/displayq.c head/usr.sbin/lpr/common_source/lp.h head/usr.sbin/lpr/common_source/lp.local.h head/usr.sbin/lpr/common_source/pathnames.h head/usr.sbin/lpr/common_source/rmjob.c head/usr.sbin/lpr/common_source/startdaemon.c head/usr.sbin/lpr/filters/lpf.c head/usr.sbin/lpr/lpc/cmds.c head/usr.sbin/lpr/lpc/cmdtab.c head/usr.sbin/lpr/lpc/extern.h head/usr.sbin/lpr/lpc/lpc.8 head/usr.sbin/lpr/lpc/lpc.c head/usr.sbin/lpr/lpc/lpc.h head/usr.sbin/lpr/lpd/extern.h head/usr.sbin/lpr/lpd/lpd.8 head/usr.sbin/lpr/lpd/lpd.c head/usr.sbin/lpr/lpd/lpdchar.c head/usr.sbin/lpr/lpd/modes.c head/usr.sbin/lpr/lpd/printjob.c head/usr.sbin/lpr/lpd/recvjob.c head/usr.sbin/lpr/lpq/lpq.1 head/usr.sbin/lpr/lpq/lpq.c head/usr.sbin/lpr/lpr/lpr.1 head/usr.sbin/lpr/lpr/printcap.5 head/usr.sbin/lpr/lprm/lprm.1 head/usr.sbin/lpr/lprm/lprm.c head/usr.sbin/lpr/lptest/lptest.1 head/usr.sbin/lpr/lptest/lptest.c head/usr.sbin/lpr/pac/pac.8 head/usr.sbin/lpr/pac/pac.c head/usr.sbin/timed/timed/acksend.c head/usr.sbin/timed/timed/byteorder.c head/usr.sbin/timed/timed/candidate.c head/usr.sbin/timed/timed/cksum.c head/usr.sbin/timed/timed/correct.c head/usr.sbin/timed/timed/extern.h head/usr.sbin/timed/timed/globals.h head/usr.sbin/timed/timed/master.c head/usr.sbin/timed/timed/measure.c head/usr.sbin/timed/timed/networkdelta.c head/usr.sbin/timed/timed/pathnames.h head/usr.sbin/timed/timed/readmsg.c head/usr.sbin/timed/timed/slave.c head/usr.sbin/timed/timed/timed.8 head/usr.sbin/timed/timed/timed.c head/usr.sbin/timed/timedc/cmds.c head/usr.sbin/timed/timedc/cmdtab.c head/usr.sbin/timed/timedc/extern.h head/usr.sbin/timed/timedc/timedc.8 head/usr.sbin/timed/timedc/timedc.c head/usr.sbin/timed/timedc/timedc.h head/usr.sbin/traceroute6/traceroute6.c Modified: head/usr.sbin/config/config.y == --- head/usr.sbin/config/config.y Sat Dec 11 08:44:10 2010 (r216371) +++ head/usr.sbin/config/config.y Sat Dec 11 09:38:12 2010 (r216372) @@ -48,10 +48,6 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - *must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *may be used to endorse or promote products derived from this software *without specific prior written permission. Modified: head/usr.sbin/gpioctl/gpioctl.8 == --- head/usr.sbin/gpioctl/gpioctl.8 Sat Dec 11 08:44:10 2010 (r216371) +++ head/usr.sbin/gpioctl/gpioctl.8 Sat Dec 11 09:38:12 2010 (r216372) @@ -9,10 +9,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\"notice, this list of conditions and the following disclaimer in the .\"documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\"must display the following acknowledgement: -.\"This product includes software developed by the University of -.\"California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\"may be used to endorse or promote products derived from this software .\"without specific prior written permission. Modified: head/usr.sbin/iostat/iostat.8 == --- head/usr.sbin/iostat/iostat.8 Sat Dec 11 08:44:10 2010 (r216371) +++ head/usr.sbin/iostat/iostat.8 Sat Dec 11 09:38:12 2010 (r216372) @@ -38,10 +38,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\"notice, this list of conditions and the following disclaimer in the .\"documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\"must display the following acknowledgement: -.\"This product
svn commit: r216399 - in head/sbin: ifconfig mount ping6 savecore
Author: joel (doc committer) Date: Sun Dec 12 21:26:12 2010 New Revision: 216399 URL: http://svn.freebsd.org/changeset/base/216399 Log: Remove the advertising clause from UCB copyrighted files in sbin. This is in accordance with the information at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Modified: head/sbin/ifconfig/ifmedia.c head/sbin/mount/mount_fs.c head/sbin/ping6/ping6.c head/sbin/savecore/savecore.c Modified: head/sbin/ifconfig/ifmedia.c == --- head/sbin/ifconfig/ifmedia.cSun Dec 12 21:18:16 2010 (r216398) +++ head/sbin/ifconfig/ifmedia.cSun Dec 12 21:26:12 2010 (r216399) @@ -45,10 +45,6 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - *must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *may be used to endorse or promote products derived from this software *without specific prior written permission. Modified: head/sbin/mount/mount_fs.c == --- head/sbin/mount/mount_fs.c Sun Dec 12 21:18:16 2010(r216398) +++ head/sbin/mount/mount_fs.c Sun Dec 12 21:26:12 2010(r216399) @@ -13,10 +13,6 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - *must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *may be used to endorse or promote products derived from this software *without specific prior written permission. Modified: head/sbin/ping6/ping6.c == --- head/sbin/ping6/ping6.c Sun Dec 12 21:18:16 2010(r216398) +++ head/sbin/ping6/ping6.c Sun Dec 12 21:26:12 2010(r216399) @@ -46,10 +46,6 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - *must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *may be used to endorse or promote products derived from this software *without specific prior written permission. Modified: head/sbin/savecore/savecore.c == --- head/sbin/savecore/savecore.c Sun Dec 12 21:18:16 2010 (r216398) +++ head/sbin/savecore/savecore.c Sun Dec 12 21:26:12 2010 (r216399) @@ -43,10 +43,6 @@ * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - *must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *may be used to endorse or promote products derived from this software *without specific prior written permission. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r216333 - head/sys/i386/i386
On 09-12-2010 20:16, Alan Cox wrote: > Author: alc > Date: Thu Dec 9 20:16:00 2010 > New Revision: 216333 > URL: http://svn.freebsd.org/changeset/base/216333 > > Log: > When r207410 eliminated the acquisition and release of the page queues > lock from pmap_extract_and_hold(), it didn't take into account that > pmap_pte_quick() sometimes requires the page queues lock to be held. > This change reimplements pmap_extract_and_hold() such that it no > longer uses pmap_pte_quick(), and thus never requires the page queues > lock. > > For consistency, adopt the same idiom as used by the new > implementation of pmap_extract_and_hold() in pmap_extract() and > pmap_mincore(). It also happens to make these functions shorter. Hi Alan, This commit makes my laptop hang everytime I quit X. I just get a black screen and the machine won't respond to any keys. Everything works if I go back to r216330. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r216333 - head/sys/i386/i386
On 18-12-2010 3:17, Alan Cox wrote: > Joel Dahl wrote: > > On 09-12-2010 20:16, Alan Cox wrote: > > > >> Author: alc > >> Date: Thu Dec 9 20:16:00 2010 > >> New Revision: 216333 > >> URL: http://svn.freebsd.org/changeset/base/216333 > >> > >> Log: > >> When r207410 eliminated the acquisition and release of the page queues > >> lock from pmap_extract_and_hold(), it didn't take into account that > >> pmap_pte_quick() sometimes requires the page queues lock to be held. > >> This change reimplements pmap_extract_and_hold() such that it no > >> longer uses pmap_pte_quick(), and thus never requires the page queues > >> lock. > >> > >> For consistency, adopt the same idiom as used by the new > >> implementation of pmap_extract_and_hold() in pmap_extract() and > >> pmap_mincore(). It also happens to make these functions shorter. > >> > > > > Hi Alan, > > > > This commit makes my laptop hang everytime I quit X. I just get a black > > screen and the machine won't respond to any keys. Everything works if I > > go back to r216330. > > > > > > Can you please try the following change? I'm afraid the patch didn't make any difference. It still hangs. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r197404 - head/sys/dev/sound/pci
Author: joel (doc committer) Date: Tue Sep 22 13:23:59 2009 New Revision: 197404 URL: http://svn.freebsd.org/changeset/base/197404 Log: Move es137x.c and es137x.h to a 2-clause BSD license. Also move a few comments. Submitted by: Joachim Kuebart Approved by: core, Russell Cattelan Modified: head/sys/dev/sound/pci/es137x.c head/sys/dev/sound/pci/es137x.h Modified: head/sys/dev/sound/pci/es137x.c == --- head/sys/dev/sound/pci/es137x.c Tue Sep 22 12:36:51 2009 (r197403) +++ head/sys/dev/sound/pci/es137x.c Tue Sep 22 13:23:59 2009 (r197404) @@ -1,10 +1,33 @@ /*- - * Support the ENSONIQ AudioPCI board and Creative Labs SoundBlaster PCI - * boards based on the ES1370, ES1371 and ES1373 chips. - * * Copyright (c) 1999 Russell Cattelan + * Copyright (c) 1998 Joachim Kuebart + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + *notice, this list of conditions and the following disclaimer in the + *documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/*- * Copyright (c) 1999 Cameron Grant - * Copyright (c) 1998 by Joachim Kuebart. All rights reserved. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,12 +63,14 @@ */ /* + * Support the ENSONIQ AudioPCI board and Creative Labs SoundBlaster PCI + * boards based on the ES1370, ES1371 and ES1373 chips. + * * Part of this code was heavily inspired by the linux driver from * Thomas Sailer (sai...@ife.ee.ethz.ch) * Just about everything has been touched and reworked in some way but * the all the underlying sequences/timing/register values are from * Thomas' code. - * */ #ifdef HAVE_KERNEL_OPTION_HEADERS Modified: head/sys/dev/sound/pci/es137x.h == --- head/sys/dev/sound/pci/es137x.h Tue Sep 22 12:36:51 2009 (r197403) +++ head/sys/dev/sound/pci/es137x.h Tue Sep 22 13:23:59 2009 (r197404) @@ -1,26 +1,21 @@ /*- - * This supports the ENSONIQ AudioPCI board based on the ES1370. - * - * Copyright (c) 1998 Joachim Kuebart + * Copyright (c) 1998 Joachim Kuebart * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - *notice immediately at the beginning of the file, without modification, - *this list of conditions, and the following disclaimer. + *notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. - * 3. Absolutely no warranty of function or purpose is made by the author - *Joachim Kuebart. - * 4. Modifications may be freely made to this file if the above conditions - *are met. * * $FreeBSD$ */ +/* This supports the ENSONIQ AudioPCI board based on the ES1370. */ + #ifndef _ES1370_REG_H #define _ES1370_REG_H ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r197404 - head/sys/dev/sound/pci
Joel Dahl skrev: Author: joel (doc committer) Date: Tue Sep 22 13:23:59 2009 New Revision: 197404 URL: http://svn.freebsd.org/changeset/base/197404 Log: Move es137x.c and es137x.h to a 2-clause BSD license. Also move a few comments. There is still a 4-clause BSD license in es137x.c. Not sure if we can do anything about it, since Cameron passed away a few years ago. Joachim originally wrote this driver and later on Russel added support for ES1371. Cameron introduced the driver for the newpcm world, which is also when he added his name to the already existing 4-clause copyright text (Cameron always used our standard 2-clause BSD license for everything else in the sound/ area, with this file being the only exception, I think). -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r197619 - head/etc/defaults
Doug Barton skrev: Author: dougb Date: Tue Sep 29 16:49:10 2009 New Revision: 197619 URL: http://svn.freebsd.org/changeset/base/197619 Log: By popular acclaim, enable "Starting foo:" messages by default Thank you. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r226657 - head/etc/rc.d
23 okt 2011 kl. 12:17 skrev Martin Matuska: > Author: mm > Date: Sun Oct 23 10:17:42 2011 > New Revision: 226657 > URL: http://svn.freebsd.org/changeset/base/226657 > > Log: > Correctly reassign copyright of etc/rc.d/static_ndp back to delphij@ > as the project itself is no legal entity Thanks, -- Joel j...@freebsd.org ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r222980 - in head/sys: amd64/conf i386/conf
Author: joel (doc committer) Date: Sat Jun 11 09:08:46 2011 New Revision: 222980 URL: http://svn.freebsd.org/changeset/base/222980 Log: Enable sound support by default on i386 and amd64. The generic sound driver has been added, along with enough device-specific drivers to support the most common audio chipsets. We've discussed enabling it from time to time over the years and we've received numerous requests from users, so we decided that shipping 9.0 with working audio by default would be the best thing to do. Bug reports should be sent to the multimedia@ mailing list, as usual. Approved by:mav No objection: re Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified: head/sys/amd64/conf/GENERIC == --- head/sys/amd64/conf/GENERIC Sat Jun 11 08:03:44 2011(r222979) +++ head/sys/amd64/conf/GENERIC Sat Jun 11 09:08:46 2011(r222980) @@ -337,3 +337,11 @@ device fwe # Ethernet over FireWire (n device fwip# IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons + +# Sound support +device sound # Generic sound driver (required) +device snd_es137x # Ensoniq AudioPCI ES137x +device snd_hda # Intel High Definition Audio +device snd_ich # Intel, NVidia and other ICH AC'97 Audio +device snd_uaudio # USB Audio +device snd_via8233 # VIA VT8233x Audio Modified: head/sys/i386/conf/GENERIC == --- head/sys/i386/conf/GENERIC Sat Jun 11 08:03:44 2011(r222979) +++ head/sys/i386/conf/GENERIC Sat Jun 11 09:08:46 2011(r222980) @@ -350,3 +350,11 @@ device fwe # Ethernet over FireWire (n device fwip# IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons + +# Sound support +device sound # Generic sound driver (required) +device snd_es137x # Ensoniq AudioPCI ES137x +device snd_hda # Intel High Definition Audio +device snd_ich # Intel, NVidia and other ICH AC'97 Audio +device snd_uaudio # USB Audio +device snd_via8233 # VIA VT8233x Audio ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r223118 - head/sys/dev/sound/pci/hda
Author: joel (doc committer) Date: Wed Jun 15 19:53:08 2011 New Revision: 223118 URL: http://svn.freebsd.org/changeset/base/223118 Log: Hide driver revision behind bootverbose. Approved by: mav Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c == --- head/sys/dev/sound/pci/hda/hdac.c Wed Jun 15 19:33:02 2011 (r223117) +++ head/sys/dev/sound/pci/hda/hdac.c Wed Jun 15 19:53:08 2011 (r223118) @@ -4146,7 +4146,10 @@ hdac_attach(device_t dev) uint16_t vendor; uint8_t v; - device_printf(dev, "HDA Driver Revision: %s\n", HDA_DRV_TEST_REV); + HDA_BOOTVERBOSE( + device_printf(dev, "HDA Driver Revision: %s\n", + HDA_DRV_TEST_REV); + ); model = (uint32_t)pci_get_device(dev) << 16; model |= (uint32_t)pci_get_vendor(dev) & 0x; ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r223545 - head/usr.bin/calendar/calendars
Author: joel (doc committer) Date: Sat Jun 25 19:21:54 2011 New Revision: 223545 URL: http://svn.freebsd.org/changeset/base/223545 Log: More accurate birthplace. Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd == --- head/usr.bin/calendar/calendars/calendar.freebsdSat Jun 25 17:58:35 2011(r223544) +++ head/usr.bin/calendar/calendars/calendar.freebsdSat Jun 25 19:21:54 2011(r223545) @@ -289,7 +289,7 @@ 10/18 Sheldon Hearn born in Cape Town, Western Cape, South Africa, 1974 10/19 Nicholas Souchu born in Suresnes, Hauts-de-Seine, France, 1972 10/19 Nick Barkas born in Longview, Washington, United States, 1981 -10/20 Joel Dahl born in Lidkoping, Sweden, 1983 +10/20 Joel Dahl born in Bitterna, Skaraborg, Sweden, 1983 10/20 Dmitry Marakasov born in Moscow, Russian Federation, 1984 10/21 Ben Smithurst born in Sheffield, South Yorkshire, United Kingdom, 1981 10/22 Jean-Sebastien Pedron born in Redon, Ille-et-Vilaine, France, 1980 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r224068 - head/sys/conf
Author: joel (doc committer) Date: Fri Jul 15 19:02:44 2011 New Revision: 224068 URL: http://svn.freebsd.org/changeset/base/224068 Log: Sort snd_* entries alphabetically. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == --- head/sys/conf/NOTES Fri Jul 15 18:33:12 2011(r224067) +++ head/sys/conf/NOTES Fri Jul 15 19:02:44 2011(r224068) @@ -2253,14 +2253,14 @@ device sound # conjunction with snd_sbc. # snd_sbc: Creative SoundBlaster ISA PnP/non-PnP. # Supports ESS and Avance ISA chips as well. -# snd_spicds: SPI codec driver, needed by Envy24/Envy24HT drivers. # snd_solo:ESS Solo-1x PCI. +# snd_spicds: SPI codec driver, needed by Envy24/Envy24HT drivers. # snd_t4dwave: Trident 4DWave DX/NX PCI, Sis 7018 PCI and Acer Labs # M5451 PCI. +# snd_uaudio: USB audio. # snd_via8233: VIA VT8233x PCI. # snd_via82c686: VIA VT82C686A PCI. # snd_vibes: S3 Sonicvibes PCI. -# snd_uaudio: USB audio. device snd_ad1816 device snd_als4000 @@ -2290,10 +2290,10 @@ device snd_sbc device snd_solo device snd_spicds device snd_t4dwave +device snd_uaudio device snd_via8233 device snd_via82c686 device snd_vibes -device snd_uaudio # For non-PnP sound cards: hint.pcm.0.at="isa" ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r224533 - head/share/man/man4
Author: joel (doc committer) Date: Sat Jul 30 23:09:52 2011 New Revision: 224533 URL: http://svn.freebsd.org/changeset/base/224533 Log: Add a better description, a few examples and a couple of minor fixes. Reviewed by: brueffer Approved by: re (kib) Modified: head/share/man/man4/pcm.4 Modified: head/share/man/man4/pcm.4 == --- head/share/man/man4/pcm.4 Sat Jul 30 22:57:38 2011(r224532) +++ head/share/man/man4/pcm.4 Sat Jul 30 23:09:52 2011(r224533) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 13, 2009 +.Dd July 31, 2011 .Dt SOUND 4 .Os .Sh NAME @@ -41,7 +41,121 @@ kernel configuration file: .Bd -ragged -offset indent .Cd "device sound" .Ed +.Sh DESCRIPTION +The +.Nm +driver is the main component of the +.Fx sound system. +It works in conjunction with a bridge device driver on supported devices +and provides PCM audio record and playback once it attaches. +Each bridge device driver supports a specific set of audio chipsets and +needs to be enabled together with the +.Nm +driver. +PCI and ISA PnP audio devices identify themselves so users are usually not +required to add anything to +.Pa /boot/device.hints . +.Pp +Some of the main features of the +.Nm +driver are: multichannel audio, per-application +volume control, dynamic mixing through virtual sound channels, true full +duplex operation, bit perfect audio, rate conversion and low latency +modes. +.Pp +The +.Nm +driver is enabled by default, along with several bridge device drivers. +Those not enabled by default can be loaded during runtime with +.Xr kldload 8 +or during boot via +.Xr loader.conf 5 . +The following bridge device drivers are available: .Pp +.Bl -bullet -compact +.It +.Xr snd_ad1816 4 +.It +.Xr snd_ai2s 4 (enabled by default on powerpc) +.It +.Xr snd_als4000 4 +.It +.Xr snd_atiixp 4 +.It +.Xr snd_audiocs 4 (enabled by default on sparc64) +.It +.Xr snd_cmi 4 +.It +.Xr snd_cs4281 4 +.It +.Xr snd_csa 4 +.It +.Xr snd_davbus 4 (enabled by default on powerpc) +.It +.Xr snd_ds1 4 +.It +.Xr snd_emu10k1 4 +.It +.Xr snd_emu10kx 4 +.It +.Xr snd_envy24 4 +.It +.Xr snd_envy24ht 4 +.It +.Xr snd_es137x 4 (enabled by default on amd64, i386, sparc64) +.It +.Xr snd_ess 4 +.It +.Xr snd_fm801 4 +.It +.Xr snd_gusc 4 +.It +.Xr snd_hda 4 (enabled by default on amd64, i386) +.It +.Xr snd_ich 4 (enabled by default on amd64, i386) +.It +.Xr snd_maestro 4 +.It +.Xr snd_maestro3 4 +.It +.Xr snd_mss 4 +.It +.Xr snd_neomagic 4 +.It +snd_sb16 +.It +snd_sb8 +.It +.Xr snd_sbc 4 +.It +.Xr snd_solo 4 +.It +.Xr snd_spicds 4 +.It +.Xr snd_t4dwave 4 (enabled by default on sparc64) +.It +.Xr snd_uaudio 4 (enabled by default on amd64, i386, powerpc, sparc64) +.It +.Xr snd_via8233 4 (enabled by default on amd64, i386) +.It +.Xr snd_via82c686 4 +.It +.Xr snd_vibes 4 +.El +.Pp +Refer to the manual page for each bridge device driver for driver specific +settings and information. +.Ss Legacy Hardware +For old legacy +.Tn ISA +cards, the driver looks for +.Tn MSS +cards at addresses +.Dv 0x530 +and +.Dv 0x604 . +These values can be overridden in +.Pa /boot/device.hints . Non-PnP sound cards require the following lines in .Xr device.hints 5 : .Bd -literal -offset indent @@ -50,33 +164,6 @@ hint.pcm.0.irq="5" hint.pcm.0.drq="1" hint.pcm.0.flags="0x0" .Ed -.Sh DESCRIPTION -The -.Nm -driver provides support for -.Tn PCM -audio play and capture. -This driver also supports various -.Tn PCI , -.Tn ISA , -.Tn WSS/MSS -compatible -sound cards, AC97 mixer and High Definition Audio. -Once the -.Nm -driver attaches, supported devices provide audio record and -playback channels. -The -.Fx -sound system provides dynamic mixing -.Dq VCHAN -and rate conversion -.Dq soft formats . -True full duplex operation is available on most sound cards. -.Pp -If the sound card is supported by a bridge driver, the -.Nm -driver works in conjunction with the bridge driver. .Pp Apart from the usual parameters, the flags field is used to specify the secondary @@ -85,24 +172,6 @@ channel (generally used for capture in f Flags are set to 0 for cards not using a secondary .Tn DMA channel, or to 0x10 + C to specify channel C. -.Pp -The driver does its best to recognize the installed hardware and drive -it correctly so the user is not required to add several lines in -.Pa /boot/device.hints . -For -.Tn PCI -and -.Tn ISA -.Tn PnP -cards this is actually easy -since they identify themselves. -For legacy -.Tn ISA -cards, the driver looks for -.Tn MSS -cards at addresses 0x530 and 0x604 (unless overridden -in -.Pa /boot/device.hints ) . .Ss Boot Variables In general, the module .Pa snd_foo @@ -119,17 +188,18 @@ utility. Options which can be specified in .Pa /boot/loader.conf include: -.Bl -tag -width ".Va snd_emu10k1_load" -offset indent +.Bl -tag -width ".Va snd_driver_load" -offset indent .It Va snd_driver_load .Pq Dq Li NO If set to .Dq Li YES , this option loads all available d
svn commit: r224580 - head/share/man/man4
Author: joel (doc committer) Date: Mon Aug 1 15:56:40 2011 New Revision: 224580 URL: http://svn.freebsd.org/changeset/base/224580 Log: I've rewritten most of this file so assign the copyright to me. Approved by: re (kib) Modified: head/share/man/man4/pcm.4 Modified: head/share/man/man4/pcm.4 == --- head/share/man/man4/pcm.4 Mon Aug 1 14:50:31 2011(r224579) +++ head/share/man/man4/pcm.4 Mon Aug 1 15:56:40 2011(r224580) @@ -1,5 +1,5 @@ .\" -.\" Copyright (c) 1998, Luigi Rizzo +.\" Copyright (c) 2009-2011 Joel Dahl .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r224533 - head/share/man/man4
On 01-08-2011 12:12, Hiroki Sato wrote: > Hi Joel, > > Joel Dahl wrote > in <201107302309.p6un9rhj019...@svn.freebsd.org>: > > jo> Author: joel (doc committer) > jo> Date: Sat Jul 30 23:09:52 2011 > jo> New Revision: 224533 > jo> URL: http://svn.freebsd.org/changeset/base/224533 > jo> > jo> Log: > jo> Add a better description, a few examples and a couple of minor fixes. > jo> > jo> Reviewed by:brueffer > jo> Approved by:re (kib) > jo> > jo> Modified: > jo> head/share/man/man4/pcm.4 > jo> > jo> Modified: head/share/man/man4/pcm.4 > jo> > == > > (snip) > > jo> @@ -173,7 +244,7 @@ controls (bass and treble). > jo> Commonly used for ear-candy or frequency compensation due to the vast > jo> difference in hardware quality. > jo> EQ is disabled by default, but can be enabled with the > jo> -.Va hint.pcm. Ns Ao Ar X Ac Ns Va .eq > jo> +.Va hint.pcm.%d.eq > > : > > jo> -.It Va hint.pcm. Ns Ao Ar X Ac Ns Va .eq > jo> +.It Va hint.pcm.%d.eq > > : > > jo> -.It Va hint.pcm. Ns Ao Ar X Ac Ns Va .vpc > jo> +.It Va hint.pcm.%d.vpc > > I know several manual pages are also using this expression (%d) for > replaceables, but I am wondering if this is friendly for average > users. Is ".Ar N" for an integer problematic, for example? I would > like comments since other documents in DocBook have used such a > notation for a long time and I feel we need consistency with them. I changed it to be consistent with the rest of the manual page, but I'm also not a big fan of using %d as it might be a bit confusing for some users... -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r251801 - head/share/misc
Author: joel (doc committer) Date: Sun Jun 16 07:16:44 2013 New Revision: 251801 URL: http://svnweb.freebsd.org/changeset/base/251801 Log: cvsweb -> svnweb Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree == --- head/share/misc/bsd-family-tree Sun Jun 16 06:56:17 2013 (r251800) +++ head/share/misc/bsd-family-tree Sun Jun 16 07:16:44 2013 (r251801) @@ -638,6 +638,6 @@ Steven M. Schultz for providing 2.8BSD, -- Copyright (c) 1997-2012 Wolfram Schneider -URL: http://cvsweb.freebsd.org/src/share/misc/bsd-family-tree +URL: http://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree $FreeBSD$ ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r252379 - in head: sbin/mdconfig share/man/man5 share/man/man9
Author: joel (doc committer) Date: Sat Jun 29 16:05:44 2013 New Revision: 252379 URL: http://svnweb.freebsd.org/changeset/base/252379 Log: mdoc: remove EOL whitespace. Modified: head/sbin/mdconfig/mdconfig.8 head/share/man/man5/fstab.5 head/share/man/man9/locking.9 Modified: head/sbin/mdconfig/mdconfig.8 == --- head/sbin/mdconfig/mdconfig.8 Sat Jun 29 15:58:03 2013 (r252378) +++ head/sbin/mdconfig/mdconfig.8 Sat Jun 29 16:05:44 2013 (r252379) @@ -144,7 +144,7 @@ If both of and .Fl f options are specified, -display devices which match the two conditions. +display devices which match the two conditions. If the .Fl v option is specified, show all details. Modified: head/share/man/man5/fstab.5 == --- head/share/man/man5/fstab.5 Sat Jun 29 15:58:03 2013(r252378) +++ head/share/man/man5/fstab.5 Sat Jun 29 16:05:44 2013(r252379) @@ -231,7 +231,7 @@ is an .Xr md 4 device file .Pq Do md Dc or Do md[0-9]* Dc -and +and .Dq file is specified in .Fa fs_mntopts , Modified: head/share/man/man9/locking.9 == --- head/share/man/man9/locking.9 Sat Jun 29 15:58:03 2013 (r252378) +++ head/share/man/man9/locking.9 Sat Jun 29 16:05:44 2013 (r252379) @@ -129,7 +129,7 @@ for details. Lockmanager locks are sleepable shared/exclusive locks used mostly in .Xr VFS 9 .Po -as a +as a .Xr vnode 9 lock .Pc ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r253026 - head/share/man/man9
Author: joel (doc committer) Date: Mon Jul 8 05:58:09 2013 New Revision: 253026 URL: http://svnweb.freebsd.org/changeset/base/253026 Log: mdoc: remove superfluous paragraph macros. Modified: head/share/man/man9/SDT.9 Modified: head/share/man/man9/SDT.9 == --- head/share/man/man9/SDT.9 Mon Jul 8 05:06:32 2013(r253025) +++ head/share/man/man9/SDT.9 Mon Jul 8 05:58:09 2013(r253026) @@ -54,7 +54,6 @@ .Fn SDT_PROBE6 prov mod func name arg0 arg1 arg2 arg3 arg4 arg5 .Fn SDT_PROBE7 prov mod func name arg0 arg1 arg2 arg3 arg4 arg5 arg6 .Sh DESCRIPTION -.Pp The .Nm macros allow programmers to define static trace points in kernel code. @@ -158,7 +157,6 @@ trace points. They are meant to be added to executable code and can be used to instrument the code in which they are called. .Sh EXAMPLES -.Pp The following probe definition will create a DTrace probe called .Ql icmp::unreach:pkt-receive , which would hypothetically be triggered when the kernel receives an ICMP packet @@ -216,7 +214,6 @@ framework were originally ported to Free This manual page was written by .An Mark Johnston Aq ma...@freebsd.org . .Sh BUGS -.Pp The .Nm macros allow the module name of a probe to be specified as part of a probe ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r253093 - head/share/man/man4
Author: joel (doc committer) Date: Tue Jul 9 12:25:44 2013 New Revision: 253093 URL: http://svnweb.freebsd.org/changeset/base/253093 Log: Make mandoc lint happy. Modified: head/share/man/man4/bridge.4 Modified: head/share/man/man4/bridge.4 == --- head/share/man/man4/bridge.4Tue Jul 9 11:00:10 2013 (r253092) +++ head/share/man/man4/bridge.4Tue Jul 9 12:25:44 2013 (r253093) @@ -151,7 +151,7 @@ The following .Xr rc.conf 5 variable configures an IPv6 link-local address on .Li bridge0 -interface: +interface: .Bd -literal -offset indent ifconfig_bridge0_ipv6="up" .Ed @@ -186,7 +186,7 @@ and applications use both of them. To prevent this situation, .Nm checks whether an link-local scoped IPv6 address is configured on -a member interface to be added and the +a member interface to be added and the .Nm interface. When the @@ -214,7 +214,6 @@ and/or .Va net.inet6.ip6.auto_linklocal is set to .Li 1 . -.Ed .Sh SPANNING TREE The .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r253445 - head/sbin/mount
Author: joel (doc committer) Date: Thu Jul 18 05:46:33 2013 New Revision: 253445 URL: http://svnweb.freebsd.org/changeset/base/253445 Log: Minor mdoc fixes. Modified: head/sbin/mount/mount.conf.8 Modified: head/sbin/mount/mount.conf.8 == --- head/sbin/mount/mount.conf.8Thu Jul 18 02:58:24 2013 (r253444) +++ head/sbin/mount/mount.conf.8Thu Jul 18 05:46:33 2013 (r253445) @@ -43,7 +43,7 @@ using the logic in the function in .Pa src/sys/kern/vfs_mountroot.c . The root mount logic can be described as follows: -.Bl -enum +.Bl -enum .It The kernel will synthesize in memory a config file with default directives for mounting @@ -58,7 +58,7 @@ as the root file system. Next, the kernel will parse the in-memory config file created in step 1 and try to mount the actual root file system. See -.Sx FILE FORMAT +.Sx FILE FORMAT for the format of the config file. .It When the actual root file system is mounted, @@ -67,7 +67,7 @@ will be re-mounted on the .Pa /dev directory. .It -If a +If a .Pa /.mount.conf file does not exist in the root file system which was just mounted, the root mount logic stops here. @@ -110,7 +110,7 @@ mount -t {FS} -o {OPTIONS} {MOUNTPOINT} .Ed .Pp If this is successfully mounted, -further lines in +further lines in .Pa .mount.conf are ignored. If all lines in @@ -164,7 +164,7 @@ can manually enter the root file system Finally if that does not work, the kernel will panic. .Bd -literal -offset indent .Li .onfail panic -.LI .timeout 3 +.Li .timeout 3 cd9660:/dev/cd0 ro .Li .timeout 0 cd9660:/dev/acd0 ro @@ -211,7 +211,7 @@ The following example will direct the kernel to do a unionfs mount on a directory .Pa /jail/freebsd-8-stable -which has a +which has a .Xr chroot 2 environment. .Bd -literal -offset indent @@ -228,13 +228,13 @@ exist so that the root mount logic can p If this directory does not exist, the system may hang during the bootup process. .Sh SEE ALSO -.Xr boot 8 , +.Xr nmount 2 , +.Xr md 4 , .Xr boot.config 5 , .Xr fstab 5 , +.Xr boot 8 , .Xr loader 8 , -.Xr mount 8 , -.Xr md 4 , -.Xr nmount 2 +.Xr mount 8 .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r248097 - in head: . lib/libncp lib/libprocstat share/examples/nwclient sys/fs/nwfs sys/modules/ncp sys/modules/nwfs sys/netncp usr.bin/ncplist usr.bin/ncplogin usr.sbin/mount_nwfs
On Sat, Mar 09, 2013 at 04:17:56PM +0100, Attilio Rao wrote: > On Sat, Mar 9, 2013 at 4:02 PM, Robert Watson wrote: > > Hi Attilio: > > > > It's really great to see the continued progress towards the goal > > entirely-MPSAFE VFS in 10.x -- we owe you a huge vote of thanks for pursuing > > this! > > Thanks for the kind words. > > The VFS can be considered completely MPSAFE by date, the only > remaining thing to do is sweeping out smbfs/netsmb. > However a known FreeBSD shops has patches to make smbfs MPSAFE and I'd > rather give them more time to commit them and re-add smbfs as a MPSAFE > filesystem rather than get into their way and remove the support. Have they given you any ETA for this? 10.0 is approaching ... :-) -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248257 - head/share/man/man4
Author: joel (doc committer) Date: Wed Mar 13 22:27:01 2013 New Revision: 248257 URL: http://svnweb.freebsd.org/changeset/base/248257 Log: vinum isn't a new product. Modified: head/share/man/man4/vinum.4 Modified: head/share/man/man4/vinum.4 == --- head/share/man/man4/vinum.4 Wed Mar 13 22:01:31 2013(r248256) +++ head/share/man/man4/vinum.4 Wed Mar 13 22:27:01 2013(r248257) @@ -36,7 +36,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 16, 2002 +.Dd March 13, 2013 .Dt VINUM 4 .Os .Sh NAME @@ -856,9 +856,6 @@ for its NetMAX product. .Sh AUTHORS .An Greg Lehey Aq g...@lemis.com . .Sh BUGS -.Nm -is a new product. -Bugs can be expected. The configuration mechanism is not yet fully functional. If you have difficulties, please look at the section @@ -876,8 +873,6 @@ kernel and test with the KLD module. Detection of differences between the version of the kernel and the KLD is not yet implemented. .Pp -The RAID-5 functionality is new in -.Fx 3.3 . Some problems have been reported with .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r248257 - head/share/man/man4
On Thu, Mar 14, 2013 at 02:09:45PM +0400, Gleb Smirnoff wrote: > On Wed, Mar 13, 2013 at 10:27:01PM +0000, Joel Dahl wrote: > J> Author: joel (doc committer) > J> Date: Wed Mar 13 22:27:01 2013 > J> New Revision: 248257 > J> URL: http://svnweb.freebsd.org/changeset/base/248257 > J> > J> Log: > J> vinum isn't a new product. > > vinum is actually not present in modern FreeBSD, gvinum is. > > Well, the gvinum.4 page isn't written, but I strongly > doubt that vinum.4 page has at least 20% of content that > would precisely apply to geom_vinum module. > > IMO, it would be better to remove the vinum.4 page. No objection from me. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248273 - head/share/man/man4
Author: joel (doc committer) Date: Thu Mar 14 18:46:11 2013 New Revision: 248273 URL: http://svnweb.freebsd.org/changeset/base/248273 Log: Add GEOM_* kernel options to the SYNOPSIS. Modified: head/share/man/man4/geom.4 Modified: head/share/man/man4/geom.4 == --- head/share/man/man4/geom.4 Thu Mar 14 17:48:07 2013(r248272) +++ head/share/man/man4/geom.4 Thu Mar 14 18:46:11 2013(r248273) @@ -34,12 +34,47 @@ .\" .\" $FreeBSD$ .\" -.Dd May 25, 2006 +.Dd March 14, 2013 .Dt GEOM 4 .Os .Sh NAME .Nm GEOM .Nd "modular disk I/O request transformation framework" +.Sh SYNOPSIS +.Cd options GEOM_AES +.Cd options GEOM_BDE +.Cd options GEOM_BSD +.Cd options GEOM_CACHE +.Cd options GEOM_CONCAT +.Cd options GEOM_ELI +.Cd options GEOM_FOX +.Cd options GEOM_GATE +.Cd options GEOM_JOURNAL +.Cd options GEOM_LABEL +.Cd options GEOM_LINUX_LVM +.Cd options GEOM_MBR +.Cd options GEOM_MIRROR +.Cd options GEOM_MULTIPATH +.Cd options GEOM_NOP +.Cd options GEOM_PART_APM +.Cd options GEOM_PART_BSD +.Cd options GEOM_PART_EBR +.Cd options GEOM_PART_EBR_COMPAT +.Cd options GEOM_PART_GPT +.Cd options GEOM_PART_LDM +.Cd options GEOM_PART_MBR +.Cd options GEOM_PART_PC98 +.Cd options GEOM_PART_VTOC8 +.Cd options GEOM_PC98 +.Cd options GEOM_RAID +.Cd options GEOM_RAID3 +.Cd options GEOM_SHSEC +.Cd options GEOM_STRIPE +.Cd options GEOM_SUNLABEL +.Cd options GEOM_UZIP +.Cd options GEOM_VIRSTOR +.Cd options GEOM_VOL +.Cd options GEOM_ZERO .Sh DESCRIPTION The .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248274 - head/sbin/gvinum
Author: joel (doc committer) Date: Thu Mar 14 18:55:41 2013 New Revision: 248274 URL: http://svnweb.freebsd.org/changeset/base/248274 Log: Minor mdoc fixes. Modified: head/sbin/gvinum/gvinum.8 Modified: head/sbin/gvinum/gvinum.8 == --- head/sbin/gvinum/gvinum.8 Thu Mar 14 18:46:11 2013(r248273) +++ head/sbin/gvinum/gvinum.8 Thu Mar 14 18:55:41 2013(r248274) @@ -388,7 +388,10 @@ documentation were added by .An "Chris Jones" through the 2005 Google Summer of Code program. -.Ic a partial rewrite of gvinum was done by "Lukas Ertl" and "Ulf Lilleengen" +A partial rewrite of gvinum was done by +.An "Lukas Ertl" +and +.An "Ulf Lilleengen" through the 2007 Google Summer of Code program. The documentation have been updated to reflect the new functionality. .Sh AUTHORS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248275 - head/sys/conf
Author: joel (doc committer) Date: Thu Mar 14 19:36:20 2013 New Revision: 248275 URL: http://svnweb.freebsd.org/changeset/base/248275 Log: Fix minor spelling error in a comment. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == --- head/sys/conf/NOTES Thu Mar 14 18:55:41 2013(r248274) +++ head/sys/conf/NOTES Thu Mar 14 19:36:20 2013(r248275) @@ -986,7 +986,7 @@ options DUMMYNET # See zero_copy(9) for more details. # XXX: The COW based send mechanism is not safe and may result in # kernel crashes. -# XXX: None of the current NIC drivers support disposeable pages. +# XXX: None of the current NIC drivers support disposable pages. optionsSOCKET_SEND_COW optionsSOCKET_RECV_PFLIP ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248278 - head/share/man/man4
Author: joel (doc committer) Date: Thu Mar 14 19:56:21 2013 New Revision: 248278 URL: http://svnweb.freebsd.org/changeset/base/248278 Log: Sort sections. Modified: head/share/man/man4/udp.4 Modified: head/share/man/man4/udp.4 == --- head/share/man/man4/udp.4 Thu Mar 14 19:50:09 2013(r248277) +++ head/share/man/man4/udp.4 Thu Mar 14 19:56:21 2013(r248278) @@ -103,29 +103,6 @@ transport level may be used with .Tn UDP ; see .Xr ip 4 . -.Sh ERRORS -A socket operation may fail with one of the following errors returned: -.Bl -tag -width Er -.It Bq Er EISCONN -when trying to establish a connection on a socket which -already has one, or when trying to send a datagram with the destination -address specified and the socket is already connected; -.It Bq Er ENOTCONN -when trying to send a datagram, but -no destination address is specified, and the socket has not been -connected; -.It Bq Er ENOBUFS -when the system runs out of memory for -an internal data structure; -.It Bq Er EADDRINUSE -when an attempt -is made to create a socket with a port which has already been -allocated; -.It Bq Er EADDRNOTAVAIL -when an attempt is made to create a -socket with a network address for which no network interface -exists. -.El .Sh MIB VARIABLES The .Nm @@ -154,6 +131,29 @@ listening, do not return an ICMP port un See .Xr blackhole 4 . ) .El +.Sh ERRORS +A socket operation may fail with one of the following errors returned: +.Bl -tag -width Er +.It Bq Er EISCONN +when trying to establish a connection on a socket which +already has one, or when trying to send a datagram with the destination +address specified and the socket is already connected; +.It Bq Er ENOTCONN +when trying to send a datagram, but +no destination address is specified, and the socket has not been +connected; +.It Bq Er ENOBUFS +when the system runs out of memory for +an internal data structure; +.It Bq Er EADDRINUSE +when an attempt +is made to create a socket with a port which has already been +allocated; +.It Bq Er EADDRNOTAVAIL +when an attempt is made to create a +socket with a network address for which no network interface +exists. +.El .Sh SEE ALSO .Xr getsockopt 2 , .Xr recv 2 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248285 - head/share/misc
Author: joel (doc committer) Date: Thu Mar 14 21:20:46 2013 New Revision: 248285 URL: http://svnweb.freebsd.org/changeset/base/248285 Log: Add FreeBSD 9.1. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree == --- head/share/misc/bsd-family-tree Thu Mar 14 21:18:19 2013 (r248284) +++ head/share/misc/bsd-family-tree Thu Mar 14 21:20:46 2013 (r248285) @@ -252,12 +252,14 @@ FreeBSD 5.2 | | | | | | OpenBSD 5.0 | *--FreeBSD| | | | | |9.0 | | | | DragonFly 3.0.1 - | vFreeBSD | | | | - |8.3 | | OpenBSD 5.1 | - | Mac OS X | | | - | 10.8| | | - || NetBSD 6.0 | | - || | OpenBSD 5.2 DragonFly 3.2.1 + | |FreeBSD | | | | + | | 8.3 | | OpenBSD 5.1 | + | | Mac OS X | | | + | | 10.8| | | + | | | NetBSD 6.0 | | + | | | | OpenBSD 5.2 DragonFly 3.2.1 + | FreeBSD | | | | + |9.1 | | | | || | | | FreeBSD 10 -current | NetBSD -current OpenBSD -current | || | | | @@ -555,6 +557,7 @@ Mac OS X 10.8 2012-07-25 [APL] NetBSD 6.0 2012-10-17 [NBD] OpenBSD 5.22012-11-01 [OBD] DragonFly 3.2.12012-11-02 [DFB] +FreeBSD 9.12012-12-30 [FBD] Bibliography ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248342 - in head/bin: cp ls mkdir mv ps rm rmdir
Author: joel (doc committer) Date: Fri Mar 15 20:12:54 2013 New Revision: 248342 URL: http://svnweb.freebsd.org/changeset/base/248342 Log: Add a few examples. Obtained from:OpenBSD Modified: head/bin/cp/cp.1 head/bin/ls/ls.1 head/bin/mkdir/mkdir.1 head/bin/mv/mv.1 head/bin/ps/ps.1 head/bin/rm/rm.1 head/bin/rmdir/rmdir.1 Modified: head/bin/cp/cp.1 == --- head/bin/cp/cp.1Fri Mar 15 20:00:08 2013(r248341) +++ head/bin/cp/cp.1Fri Mar 15 20:12:54 2013(r248342) @@ -32,7 +32,7 @@ .\"@(#)cp.18.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd September 4, 2012 +.Dd March 15, 2013 .Dt CP 1 .Os .Sh NAME @@ -251,6 +251,27 @@ signal, the current input and output fil will be written to the standard output. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +Make a copy of file +.Pa foo +named +.Pa bar : +.Pp +.Dl $ cp foo bar +.Pp +Copy a group of files to the +.Pa /tmp +directory: +.Pp +.Dl $ cp *.txt /tmp +.Pp +Copy the directory +.Pa junk +and all of its contents (including any subdirectories) to the +.Pa /tmp +directory: +.Pp +.Dl $ cp -R junk /tmp .Sh COMPATIBILITY Historic versions of the .Nm Modified: head/bin/ls/ls.1 == --- head/bin/ls/ls.1Fri Mar 15 20:00:08 2013(r248341) +++ head/bin/ls/ls.1Fri Mar 15 20:12:54 2013(r248342) @@ -32,7 +32,7 @@ .\" @(#)ls.1 8.7 (Berkeley) 7/29/94 .\" $FreeBSD$ .\" -.Dd November 8, 2012 +.Dd March 15, 2013 .Dt LS 1 .Os .Sh NAME @@ -718,6 +718,24 @@ for more information. .El .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +List the contents of the current working directory in long format: +.Pp +.Dl $ ls -l +.Pp +In addition to listing the contents of the current working directory in +long format, show inode numbers, file flags (see +.Xr chflags 1 ) , +and suffix each filename with a symbol representing its file type: +.Pp +.Dl $ ls -lioF +.Pp +List the files in +.Pa /var/log , +sorting the output such that the mostly recently modified entries are +printed first: +.Pp +.Dl $ ls -lt /var/log .Sh COMPATIBILITY The group field is now automatically included in the long listing for files in order to be compatible with the Modified: head/bin/mkdir/mkdir.1 == --- head/bin/mkdir/mkdir.1 Fri Mar 15 20:00:08 2013(r248341) +++ head/bin/mkdir/mkdir.1 Fri Mar 15 20:12:54 2013(r248342) @@ -32,7 +32,7 @@ .\"@(#)mkdir.1 8.2 (Berkeley) 1/25/94 .\" $FreeBSD$ .\" -.Dd January 25, 1994 +.Dd March 15, 2013 .Dt MKDIR 1 .Os .Sh NAME @@ -87,6 +87,23 @@ Be verbose when creating directories, li The user must have write permission in the parent directory. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +Create a directory named +.Pa foobar : +.Pp +.Dl $ mkdir foobar +.Pp +Create a directory named +.Pa foobar +and set its file mode to 700: +.Pp +.Dl $ mkdir -m 700 foobar +.Pp +Create a directory named +.Pa cow/horse/monkey , +creating any non-existent intermediate directories as necessary: +.Pp +.Dl $ mkdir -p cow/horse/monkey .Sh COMPATIBILITY The .Fl v Modified: head/bin/mv/mv.1 == --- head/bin/mv/mv.1Fri Mar 15 20:00:08 2013(r248341) +++ head/bin/mv/mv.1Fri Mar 15 20:12:54 2013(r248342) @@ -32,7 +32,7 @@ .\"@(#)mv.18.1 (Berkeley) 5/31/93 .\" $FreeBSD$ .\" -.Dd August 28, 2012 +.Dd March 15, 2013 .Dt MV 1 .Os .Sh NAME @@ -155,6 +155,16 @@ rm -rf source_file .Ed .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +Rename file +.Pa foo +to +.Pa bar , +overwriting +.Pa bar +if it already exists: +.Pp +.Dl $ mv -f foo bar .Sh COMPATIBILITY The .Fl h , Modified: head/bin/ps/ps.1 == --- head/bin/ps/ps.1Fri Mar 15 20:00:08 2013(r248341) +++ head/bin/ps/ps.1Fri Mar 15 20:12:54 2013(r248342) @@ -29,7 +29,7 @@ .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd February 7, 2013 +.Dd March 15, 2013 .Dt PS 1 .Os .Sh NAME @@ -689,6 +689,10 @@ attempts to automatically determine the .It Pa /boot/kernel/kernel default system namelist .El +.Sh EXAMPLES +Display information on all system processes: +.Pp +.Dl $ ps -auxw .Sh SEE ALSO .Xr kill 1 , .Xr pgrep 1 , Modified: head/bin/rm/rm.1 == --- head/bin/rm/rm.1Fri Mar 15 20:00:08 2013(r248341) +++ head/bin/rm/rm.1Fri Mar 15 20:12:54 2013(r248342) @@ -32,7 +32,7 @@ .\"@(#)rm.18.5 (Berkeley) 12/5/94 .\" $FreeBSD$ .\" -.Dd October 31, 2010 +.Dd March 15, 2013 .Dt RM 1 .Os .Sh NAME @@ -193,6 +193,19 @@ When is specified with .Fl f the file will be overwritten and
svn commit: r248381 - head/sys/dev/sound/pcm
Author: joel (doc committer) Date: Sat Mar 16 17:57:00 2013 New Revision: 248381 URL: http://svnweb.freebsd.org/changeset/base/248381 Log: Hide version string under verbose. Approved by: mav Modified: head/sys/dev/sound/pcm/sndstat.c Modified: head/sys/dev/sound/pcm/sndstat.c == --- head/sys/dev/sound/pcm/sndstat.cSat Mar 16 17:38:59 2013 (r248380) +++ head/sys/dev/sound/pcm/sndstat.cSat Mar 16 17:57:00 2013 (r248381) @@ -345,8 +345,12 @@ sndstat_prepare(struct sbuf *s) struct snddev_info *d; int i, j; - sbuf_printf(s, "FreeBSD Audio Driver (newpcm: %ubit %d/%s)\n", - (u_int)sizeof(intpcm32_t) << 3, SND_DRV_VERSION, MACHINE_ARCH); + if (snd_verbose > 0) { + sbuf_printf(s, "FreeBSD Audio Driver (%ubit %d/%s)\n", + (u_int)sizeof(intpcm32_t) << 3, SND_DRV_VERSION, + MACHINE_ARCH); + } + if (SLIST_EMPTY(&sndstat_devlist)) { sbuf_printf(s, "No devices installed.\n"); sbuf_finish(s); ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248384 - head/sbin/gvinum
Author: joel (doc committer) Date: Sat Mar 16 21:50:06 2013 New Revision: 248384 URL: http://svnweb.freebsd.org/changeset/base/248384 Log: Remove reference to vinum(4). The manual page was removed in r248370. Modified: head/sbin/gvinum/gvinum.8 Modified: head/sbin/gvinum/gvinum.8 == --- head/sbin/gvinum/gvinum.8 Sat Mar 16 21:02:42 2013(r248383) +++ head/sbin/gvinum/gvinum.8 Sat Mar 16 21:50:06 2013(r248384) @@ -422,9 +422,9 @@ This may leave data unprotected and is p Currently, .Nm does not yet fully implement all of the functions found in -.Xr vinum 4 . +.Nm vinum . Specifically, the following commands from -.Xr vinum 4 +.Nm vinum are not supported: .Bl -tag -width indent .It Ic debug ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248385 - in head: sbin/ccdconfig sbin/ffsinfo sbin/geom/class/concat sbin/geom/class/mirror sbin/geom/class/raid sbin/geom/class/stripe share/man/man4
Author: joel (doc committer) Date: Sat Mar 16 22:02:47 2013 New Revision: 248385 URL: http://svnweb.freebsd.org/changeset/base/248385 Log: Cross-reference gvinum(8) instead of vinum(8). Modified: head/sbin/ccdconfig/ccdconfig.8 head/sbin/ffsinfo/ffsinfo.8 head/sbin/geom/class/concat/gconcat.8 head/sbin/geom/class/mirror/gmirror.8 head/sbin/geom/class/raid/graid.8 head/sbin/geom/class/stripe/gstripe.8 head/share/man/man4/ccd.4 Modified: head/sbin/ccdconfig/ccdconfig.8 == --- head/sbin/ccdconfig/ccdconfig.8 Sat Mar 16 21:50:06 2013 (r248384) +++ head/sbin/ccdconfig/ccdconfig.8 Sat Mar 16 22:02:47 2013 (r248385) @@ -234,14 +234,14 @@ RAID controllers (see GENERIC), or software RAID systems such as .Xr geom 8 and -.Xr vinum 8 . +.Xr gvinum 8 . .Sh SEE ALSO .Xr dd 1 , .Xr ccd 4 , .Xr disklabel 8 , .Xr fdisk 8 , -.Xr rc 8 , -.Xr vinum 8 +.Xr gvinum 8 , +.Xr rc 8 .Sh HISTORY The .Nm Modified: head/sbin/ffsinfo/ffsinfo.8 == --- head/sbin/ffsinfo/ffsinfo.8 Sat Mar 16 21:50:06 2013(r248384) +++ head/sbin/ffsinfo/ffsinfo.8 Sat Mar 16 22:02:47 2013(r248385) @@ -125,9 +125,9 @@ with all available information. .Xr dumpfs 8 , .Xr fsck 8 , .Xr growfs 8 , +.Xr gvinum 8 , .Xr newfs 8 , -.Xr tunefs 8 , -.Xr vinum 8 +.Xr tunefs 8 .Sh HISTORY The .Nm Modified: head/sbin/geom/class/concat/gconcat.8 == --- head/sbin/geom/class/concat/gconcat.8 Sat Mar 16 21:50:06 2013 (r248384) +++ head/sbin/geom/class/concat/gconcat.8 Sat Mar 16 22:02:47 2013 (r248385) @@ -183,11 +183,11 @@ growfs /dev/concat/data .Xr loader.conf 5 , .Xr geom 8 , .Xr growfs 8 , +.Xr gvinum 8 , .Xr mount 8 , .Xr newfs 8 , .Xr sysctl 8 , -.Xr umount 8 , -.Xr vinum 8 +.Xr umount 8 .Sh HISTORY The .Nm Modified: head/sbin/geom/class/mirror/gmirror.8 == --- head/sbin/geom/class/mirror/gmirror.8 Sat Mar 16 21:50:06 2013 (r248384) +++ head/sbin/geom/class/mirror/gmirror.8 Sat Mar 16 22:02:47 2013 (r248385) @@ -340,11 +340,11 @@ there. .Xr geom 4 , .Xr dumpon 8 , .Xr geom 8 , +.Xr gvinum 8 , .Xr mount 8 , .Xr newfs 8 , .Xr savecore 8 , -.Xr umount 8 , -.Xr vinum 8 +.Xr umount 8 .Sh HISTORY The .Nm Modified: head/sbin/geom/class/raid/graid.8 == --- head/sbin/geom/class/raid/graid.8 Sat Mar 16 21:50:06 2013 (r248384) +++ head/sbin/geom/class/raid/graid.8 Sat Mar 16 22:02:47 2013 (r248385) @@ -314,7 +314,7 @@ Exit status is 0 on success, and non-zer .Sh SEE ALSO .Xr geom 4 , .Xr geom 8 , -.Xr vinum 8 +.Xr gvinum 8 .Sh HISTORY The .Nm Modified: head/sbin/geom/class/stripe/gstripe.8 == --- head/sbin/geom/class/stripe/gstripe.8 Sat Mar 16 21:50:06 2013 (r248384) +++ head/sbin/geom/class/stripe/gstripe.8 Sat Mar 16 22:02:47 2013 (r248385) @@ -232,11 +232,11 @@ for .Xr atacontrol 8 , .Xr ccdconfig 8 , .Xr geom 8 , +.Xr gvinum 8 , .Xr mount 8 , .Xr newfs 8 , .Xr sysctl 8 , -.Xr umount 8 , -.Xr vinum 8 +.Xr umount 8 .Sh HISTORY The .Nm Modified: head/share/man/man4/ccd.4 == --- head/share/man/man4/ccd.4 Sat Mar 16 21:50:06 2013(r248384) +++ head/share/man/man4/ccd.4 Sat Mar 16 22:02:47 2013(r248385) @@ -279,9 +279,9 @@ device special files .Xr config 8 , .Xr disklabel 8 , .Xr fsck 8 , +.Xr gvinum 8 , .Xr mount 8 , -.Xr newfs 8 , -.Xr vinum 8 +.Xr newfs 8 .Sh HISTORY The concatenated disk driver was originally written at the University of Utah. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248393 - in head/usr.bin: head tail
Author: joel (doc committer) Date: Sat Mar 16 22:53:38 2013 New Revision: 248393 URL: http://svnweb.freebsd.org/changeset/base/248393 Log: Add a couple of examples. Obtained from:OpenBSD Modified: head/usr.bin/head/head.1 head/usr.bin/tail/tail.1 Modified: head/usr.bin/head/head.1 == --- head/usr.bin/head/head.1Sat Mar 16 22:53:05 2013(r248392) +++ head/usr.bin/head/head.1Sat Mar 16 22:53:38 2013(r248393) @@ -28,7 +28,7 @@ .\"@(#)head.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd June 6, 1993 +.Dd March 16, 2013 .Dt HEAD 1 .Os .Sh NAME @@ -57,6 +57,19 @@ where is the name of the file. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +To display the first 500 lines of the file +.Ar foo : +.Pp +.Dl $ head -n 500 foo +.Pp +.Nm +can be used in conjunction with +.Xr tail 1 +in the following way to, for example, display only line 500 from the file +.Ar foo : +.Pp +.Dl $ head -n 500 foo | tail -n 1 .Sh SEE ALSO .Xr tail 1 .Sh HISTORY Modified: head/usr.bin/tail/tail.1 == --- head/usr.bin/tail/tail.1Sat Mar 16 22:53:05 2013(r248392) +++ head/usr.bin/tail/tail.1Sat Mar 16 22:53:38 2013(r248393) @@ -31,7 +31,7 @@ .\"@(#)tail.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd June 5, 2009 +.Dd March 16, 2013 .Dt TAIL 1 .Os .Sh NAME @@ -147,6 +147,17 @@ is the name of the file unless flag is specified. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +To display the last 500 lines of the file +.Ar foo : +.Pp +.Dl $ tail -n 500 foo +.Pp +Keep +.Pa /var/log/messages +open, displaying to the standard output anything appended to the file: +.Pp +.Dl $ tail -f /var/log/messages .Sh SEE ALSO .Xr cat 1 , .Xr head 1 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248412 - head/usr.bin/renice
Author: joel (doc committer) Date: Sun Mar 17 06:36:04 2013 New Revision: 248412 URL: http://svnweb.freebsd.org/changeset/base/248412 Log: Move example to EXAMPLES. Modified: head/usr.bin/renice/renice.8 Modified: head/usr.bin/renice/renice.8 == --- head/usr.bin/renice/renice.8Sun Mar 17 06:33:49 2013 (r248411) +++ head/usr.bin/renice/renice.8Sun Mar 17 06:36:04 2013 (r248412) @@ -85,13 +85,6 @@ Reset the interpretation to be (the default) process ID's. .El .Pp -For example, -.Pp -.Dl "renice +1 987 -u daemon root -p 32" -.Pp -would change the priority of process ID's 987 and 32, and -all processes owned by users daemon and root. -.Pp Users other than the super-user may only alter the priority of processes they own, and can only monotonically increase their ``nice value'' @@ -116,6 +109,11 @@ anything negative (to make things go ver .It Pa /etc/passwd to map user names to user ID's .El +.Sh EXAMPLES +Change the priority of process ID's 987 and 32, and +all processes owned by users daemon and root. +.Pp +.Dl "renice +1 987 -u daemon root -p 32" .Sh SEE ALSO .Xr nice 1 , .Xr rtprio 1 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248413 - head/usr.sbin/ac
Author: joel (doc committer) Date: Sun Mar 17 06:54:04 2013 New Revision: 248413 URL: http://svnweb.freebsd.org/changeset/base/248413 Log: Move example to EXAMPLES. Modified: head/usr.sbin/ac/ac.8 Modified: head/usr.sbin/ac/ac.8 == --- head/usr.sbin/ac/ac.8 Sun Mar 17 06:36:04 2013(r248412) +++ head/usr.sbin/ac/ac.8 Sun Mar 17 06:54:04 2013(r248413) @@ -105,17 +105,6 @@ hand. No login or connect time accounting is performed if .Pa /var/log/utx.log does not exist. -.Pp -For example, -.Bd -literal -offset indent -ac -p -t "ttyd*" > modems -ac -p -t "!ttyd*" > other -.Ed -.Pp -allows times recorded in -.Pa modems -to be charged out at a different rate than -.Pa other . .Sh FILES .Bl -tag -width /var/log/utx.log -compact .It Pa /var/log/utx.log @@ -123,6 +112,15 @@ connect time accounting file .El .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +Allow times recorded in +.Pa modems +to be charged out at a different rate than +.Pa other : +.Bd -literal -offset indent +ac -p -t "ttyd*" > modems +ac -p -t "!ttyd*" > other +.Ed .Sh SEE ALSO .Xr login 1 , .Xr getutxent 3 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248414 - in head/usr.bin: head tail
Author: joel (doc committer) Date: Sun Mar 17 06:57:25 2013 New Revision: 248414 URL: http://svnweb.freebsd.org/changeset/base/248414 Log: Remove EOL whitespace accidentally introduced in r248393. Modified: head/usr.bin/head/head.1 head/usr.bin/tail/tail.1 Modified: head/usr.bin/head/head.1 == --- head/usr.bin/head/head.1Sun Mar 17 06:54:04 2013(r248413) +++ head/usr.bin/head/head.1Sun Mar 17 06:57:25 2013(r248414) @@ -28,7 +28,7 @@ .\"@(#)head.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd March 16, 2013 +.Dd March 16, 2013 .Dt HEAD 1 .Os .Sh NAME Modified: head/usr.bin/tail/tail.1 == --- head/usr.bin/tail/tail.1Sun Mar 17 06:54:04 2013(r248413) +++ head/usr.bin/tail/tail.1Sun Mar 17 06:57:25 2013(r248414) @@ -31,7 +31,7 @@ .\"@(#)tail.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd March 16, 2013 +.Dd March 16, 2013 .Dt TAIL 1 .Os .Sh NAME ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248492 - head/usr.sbin/bhyveload
Author: joel (doc committer) Date: Tue Mar 19 07:25:58 2013 New Revision: 248492 URL: http://svnweb.freebsd.org/changeset/base/248492 Log: mdoc: remove superfluous paragraph macro. Modified: head/usr.sbin/bhyveload/bhyveload.8 Modified: head/usr.sbin/bhyveload/bhyveload.8 == --- head/usr.sbin/bhyveload/bhyveload.8 Tue Mar 19 06:04:17 2013 (r248491) +++ head/usr.sbin/bhyveload/bhyveload.8 Tue Mar 19 07:25:58 2013 (r248492) @@ -84,7 +84,6 @@ that boots off the ISO image and has 1GB memory allocated to it: .Pp .Dl "bhyveload -m 1024 -d /freebsd/release.iso freebsd-vm" -.Pp .Sh SEE ALSO .Xr bhyve 4 , .Xr bhyve 8 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248496 - head/sbin/ldconfig
Author: joel (doc committer) Date: Tue Mar 19 12:35:33 2013 New Revision: 248496 URL: http://svnweb.freebsd.org/changeset/base/248496 Log: Remove obsolete objformat information. Submitted by: db Modified: head/sbin/ldconfig/ldconfig.8 Modified: head/sbin/ldconfig/ldconfig.8 == --- head/sbin/ldconfig/ldconfig.8 Tue Mar 19 11:09:15 2013 (r248495) +++ head/sbin/ldconfig/ldconfig.8 Tue Mar 19 12:35:33 2013 (r248496) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 11, 2005 +.Dd March 19, 2013 .Dt LDCONFIG 8 .Os .Sh NAME @@ -162,21 +162,6 @@ In addition to building a set of hints for quick lookup, it also serves to specify the trusted collection of directories from which shared objects can be safely loaded. -.Sh ENVIRONMENT -.Bl -tag -width OBJFORMATxxx -compact -.It Ev OBJFORMAT -Overrides -.Pa /etc/objformat -(see below) to determine whether -.Fl aout -or -.Fl elf -is the default. -If set, its value should be either -.Ql aout -or -.Ql elf . -.El .Sh FILES .Bl -tag -width /var/run/ld-elf.so.hintsxxx -compact .It Pa /var/run/ld.so.hints @@ -196,17 +181,6 @@ invocations with Conventional configuration files containing directory names for invocations with .Fl 32 . -.It Pa /etc/objformat -Determines whether -.Fl aout -or -.Fl elf -is the default. -If present, it must consist of a single line -containing either -.Ql OBJFORMAT=aout -or -.Ql OBJFORMAT=elf . .El .Sh SEE ALSO .Xr ld 1 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248535 - head/sbin/shutdown
Author: joel (doc committer) Date: Tue Mar 19 21:40:14 2013 New Revision: 248535 URL: http://svnweb.freebsd.org/changeset/base/248535 Log: Add simple example. Modified: head/sbin/shutdown/shutdown.8 Modified: head/sbin/shutdown/shutdown.8 == --- head/sbin/shutdown/shutdown.8 Tue Mar 19 20:58:17 2013 (r248534) +++ head/sbin/shutdown/shutdown.8 Tue Mar 19 21:40:14 2013 (r248535) @@ -28,7 +28,7 @@ .\" @(#)shutdown.8 8.2 (Berkeley) 4/27/95 .\" $FreeBSD$ .\" -.Dd July 13, 2011 +.Dd March 19, 2013 .Dt SHUTDOWN 8 .Os .Sh NAME @@ -189,6 +189,11 @@ tells .Xr login 1 not to let anyone log in .El +.Sh EXAMPLES +Reboot the system in 30 minutes and display a warning message on the terminals +of all users currently logged in: +.Pp +.Dl # shutdown -r +30 \&"System will reboot\&" .Sh COMPATIBILITY The hours and minutes in the second time format may be separated by a colon (``:'') for backward compatibility. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248578 - head/sbin/ipfw
Author: joel (doc committer) Date: Thu Mar 21 11:22:13 2013 New Revision: 248578 URL: http://svnweb.freebsd.org/changeset/base/248578 Log: Remove EOL whitespace. Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8 == --- head/sbin/ipfw/ipfw.8 Thu Mar 21 11:02:08 2013(r248577) +++ head/sbin/ipfw/ipfw.8 Thu Mar 21 11:22:13 2013(r248578) @@ -1515,7 +1515,7 @@ Matches IPv4/IPv6 packets whose field value is contained in .Ar spec mask. -Multiple values can be specified via +Multiple values can be specified via the comma separated list. Value can be one of keywords used in .Cm setdscp ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248870 - head/bin/sh
Author: joel (doc committer) Date: Fri Mar 29 08:12:09 2013 New Revision: 248870 URL: http://svnweb.freebsd.org/changeset/base/248870 Log: Minor mdoc fix. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 == --- head/bin/sh/sh.1Fri Mar 29 07:58:22 2013(r248869) +++ head/bin/sh/sh.1Fri Mar 29 08:12:09 2013(r248870) @@ -1628,7 +1628,7 @@ form begins with a subshell, the .Li $( and -.Li ( +.Li (\& must be separated by whitespace to avoid ambiguity with arithmetic expansion. .Ss Arithmetic Expansion ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r248871 - head/lib/libpmc
Author: joel (doc committer) Date: Fri Mar 29 08:32:49 2013 New Revision: 248871 URL: http://svnweb.freebsd.org/changeset/base/248871 Log: Remove EOL whitespace. Modified: head/lib/libpmc/pmc.haswell.3 head/lib/libpmc/pmc.haswelluc.3 Modified: head/lib/libpmc/pmc.haswell.3 == --- head/lib/libpmc/pmc.haswell.3 Fri Mar 29 08:12:09 2013 (r248870) +++ head/lib/libpmc/pmc.haswell.3 Fri Mar 29 08:32:49 2013 (r248871) @@ -201,60 +201,60 @@ Haswell programmable PMCs support the fo .Bl -tag -width indent .It Li LD_BLOCKS.STORE_FORWARD .Pq Event 03H , Umask 02H -Loads blocked by overlapping with store buffer that -cannot be forwarded. +Loads blocked by overlapping with store buffer that +cannot be forwarded. .It Li MISALIGN_MEM_REF.LOADS .Pq Event 05H , Umask 01H -Speculative cache-line split load uops dispatched to -L1D. +Speculative cache-line split load uops dispatched to +L1D. .It Li MISALIGN_MEM_REF.STORES .Pq Event 05H , Umask 02H -Speculative cache-line split Store-address uops -dispatched to L1D. +Speculative cache-line split Store-address uops +dispatched to L1D. .It Li LD_BLOCKS_PARTIAL.ADDRESS_ALIAS .Pq Event 07H , Umask 01H -False dependencies in MOB due to partial compare -on address. +False dependencies in MOB due to partial compare +on address. .It Li DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK .Pq Event 08H , Umask 01H -Misses in all TLB levels that cause a page walk of any -page size. +Misses in all TLB levels that cause a page walk of any +page size. .It Li DTLB_LOAD_MISSES.WALK_COMPLETED_4K .Pq Event 08H , Umask 02H -Completed page walks due to demand load misses -that caused 4K page walks in any TLB levels. +Completed page walks due to demand load misses +that caused 4K page walks in any TLB levels. .It Li DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4K .Pq Event 08H , Umask 02H -Completed page walks due to demand load misses -that caused 2M/4M page walks in any TLB levels. +Completed page walks due to demand load misses +that caused 2M/4M page walks in any TLB levels. .It Li DTLB_LOAD_MISSES.WALK_COMPLETED .Pq Event 08H , Umask 0EH -Completed page walks in any TLB of any page size -due to demand load misses +Completed page walks in any TLB of any page size +due to demand load misses .It Li DTLB_LOAD_MISSES.WALK_DURATION .Pq Event 08H , Umask 10H -Cycle PMH is busy with a walk. +Cycle PMH is busy with a walk. .It Li DTLB_LOAD_MISSES.STLB_HIT_4K .Pq Event 08H , Umask 20H -Load misses that missed DTLB but hit STLB (4K). +Load misses that missed DTLB but hit STLB (4K). .It Li DTLB_LOAD_MISSES.STLB_HIT_2M .Pq Event 08H , Umask 40H -Load misses that missed DTLB but hit STLB (2M). +Load misses that missed DTLB but hit STLB (2M). .It Li DTLB_LOAD_MISSES.STLB_HIT .Pq Event 08H , Umask 60H Number of cache load STLB hits. No page walk. .It Li DTLB_LOAD_MISSES.PDE_CACHE_MISS .Pq Event 08H , Umask 80H -DTLB demand load misses with low part of linear-to- -physical address translation missed +DTLB demand load misses with low part of linear-to- +physical address translation missed .It Li INT_MISC.RECOVERY_CYCLES .Pq Event 0DH , Umask 03H -Cycles waiting to recover after Machine Clears -except JEClear. Set Cmask= 1. +Cycles waiting to recover after Machine Clears +except JEClear. Set Cmask= 1. .It Li UOPS_ISSUED.ANY .Pq Event 0EH , Umask 01H -ncrements each cycle the # of Uops issued by the -RAT to RS. +ncrements each cycle the # of Uops issued by the +RAT to RS. Set Cmask = 1, Inv = 1, Any= 1to count stalled cycles of this core. .It Li UOPS_ISSUED.FLAGS_MERGE @@ -278,7 +278,7 @@ rejects. .Pq Event 24H , Umask 41H Demand Data Read requests that hit L2 cache. .It Li L2_RQSTS.ALL_DEMAND_DATA_RD -.Pq Event 24H , Umask E1H +.Pq Event 24H , Umask E1H Counts any demand and L1 HW prefetch data load requests to L2. .It Li L2_RQSTS.RFO_HIT @@ -348,9 +348,9 @@ Increments at the frequency of XCLK (100 when not halted. .It Li L1D_PEND_MISS.PENDING .Pq Event 48H , Umask 01H -Increments the number of outstanding L1D misses -every cycle. Set Cmaks = 1 and Edge =1 to count -occurrences. +Increments the number of outstanding L1D misses +every cycle. Set Cmaks = 1 and Edge =1 to count +occurrences. .It Li DTLB_STORE_MISSES.MISS_CAUSES_A_WALK .Pq Event 49H , Umask 01H Miss in all TLB levels causes an page walk of any @@ -422,15 +422,15 @@ Unhalted core cycles when the thread is Cycles the RS is empty for the thread. .It Li OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD .Pq Event 60H , Umask 01H -Offcore outstanding Demand Data Read transactions +Offcore outstanding Demand Data Read transactions in SQ to uncore. Set Cmask=1 to count cycles. .It Li OFFCORE_REQUESTS_OUTSTANDING.DEMAND_CORE_RD .Pq Event 60H , Umask 02H -Offcore outstanding Demand code Read transactions +Offcore outstanding Demand code Read transactions in SQ to uncore. Set Cmask=1 to coun
svn commit: r249086 - head/share/man/man5
Author: joel (doc committer) Date: Thu Apr 4 08:30:04 2013 New Revision: 249086 URL: http://svnweb.freebsd.org/changeset/base/249086 Log: Remove atapicam(4) reference. Modified: head/share/man/man5/devfs.conf.5 Modified: head/share/man/man5/devfs.conf.5 == --- head/share/man/man5/devfs.conf.5Thu Apr 4 08:21:56 2013 (r249085) +++ head/share/man/man5/devfs.conf.5Thu Apr 4 08:30:04 2013 (r249086) @@ -100,8 +100,6 @@ To create a .Pa /dev/cdrom link that points to the first .Xr SCSI 4 -or -.Xr atapicam 4 CD-ROM, the following may be added to .Nm : ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249087 - in head: sbin/geom/class/raid sbin/geom/class/stripe share/man/man5
Author: joel (doc committer) Date: Thu Apr 4 08:45:37 2013 New Revision: 249087 URL: http://svnweb.freebsd.org/changeset/base/249087 Log: Remove references to ataraid(4) and atacontrol(8). Modified: head/sbin/geom/class/raid/graid.8 head/sbin/geom/class/stripe/gstripe.8 head/share/man/man5/periodic.conf.5 Modified: head/sbin/geom/class/raid/graid.8 == --- head/sbin/geom/class/raid/graid.8 Thu Apr 4 08:30:04 2013 (r249086) +++ head/sbin/geom/class/raid/graid.8 Thu Apr 4 08:45:37 2013 (r249087) @@ -242,8 +242,7 @@ RAID5 (3+ disks), RAID10 (4+ disks), SIN Configurations not supported by NVIDIA MediaShield RAID BIOS, but enforceable on your own risk: RAID1 (3+ disks). .It Promise -The format used by Promise and AMD/ATI RAID BIOSes and FreeBSD ataraid(4) -driver. +The format used by Promise and AMD/ATI RAID BIOSes. Supports multiple volumes per array. Each disk can be split to be used by up to two arbitrary volumes. Supports configurations: RAID0 (2+ disks), RAID1 (2 disks), Modified: head/sbin/geom/class/stripe/gstripe.8 == --- head/sbin/geom/class/stripe/gstripe.8 Thu Apr 4 08:30:04 2013 (r249086) +++ head/sbin/geom/class/stripe/gstripe.8 Thu Apr 4 08:45:37 2013 (r249087) @@ -213,8 +213,6 @@ The interleave is in number of bytes, unlike .Xr ccdconfig 8 -and -.Xr atacontrol 8 which use the number of sectors. A .Xr ccdconfig 8 @@ -229,7 +227,6 @@ for .Sh SEE ALSO .Xr geom 4 , .Xr loader.conf 5 , -.Xr atacontrol 8 , .Xr ccdconfig 8 , .Xr geom 8 , .Xr gvinum 8 , Modified: head/share/man/man5/periodic.conf.5 == --- head/share/man/man5/periodic.conf.5 Thu Apr 4 08:30:04 2013 (r249086) +++ head/share/man/man5/periodic.conf.5 Thu Apr 4 08:45:37 2013 (r249087) @@ -357,15 +357,6 @@ Requires .Va daily_status_zfs_enable to be set to .Li YES . -.It Va daily_status_ata_raid_enable -.Pq Vt bool -Set to -.Dq Li YES -if you want to run -.Nm atacontrol Cm status -on your -.Xr ataraid 4 -arrays. .It Va daily_status_gmirror_enable .Pq Vt bool Set to ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249092 - head/sbin/geom/class/raid
Author: joel (doc committer) Date: Thu Apr 4 10:26:09 2013 New Revision: 249092 URL: http://svnweb.freebsd.org/changeset/base/249092 Log: Minor rewording. Discussed with: mav Modified: head/sbin/geom/class/raid/graid.8 Modified: head/sbin/geom/class/raid/graid.8 == --- head/sbin/geom/class/raid/graid.8 Thu Apr 4 10:19:05 2013 (r249091) +++ head/sbin/geom/class/raid/graid.8 Thu Apr 4 10:26:09 2013 (r249092) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 16, 2013 +.Dd April 4, 2013 .Dt GRAID 8 .Os .Sh NAME @@ -305,7 +305,7 @@ Time to wait for missing array component .It Va kern.geom.raid. Ns Ar X Ns Va .enable : No 1 Enable taste for specific metadata or transformation module. .It Va kern.geom.raid.legacy_aliases : No 0 -Enable geom raid emulation of /dev/ar%d devices from ataraid(4) +Enable geom raid emulation of legacy /dev/ar%d devices. This should aid the upgrade of systems from legacy to modern releases. .El .Sh EXIT STATUS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249153 - head/sbin/camcontrol
Author: joel (doc committer) Date: Fri Apr 5 11:42:28 2013 New Revision: 249153 URL: http://svnweb.freebsd.org/changeset/base/249153 Log: mdoc: remove superfluous paragraph macro. Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Fri Apr 5 11:41:56 2013 (r249152) +++ head/sbin/camcontrol/camcontrol.8 Fri Apr 5 11:42:28 2013 (r249153) @@ -1372,19 +1372,16 @@ camcontrol smpcmd ses0 -v -r 4 "40 0 00 Send the SMP REPORT GENERAL command to ses0, and display the number of PHYs it contains. Display SMP errors if the command fails. -.Pp .Bd -literal -offset indent camcontrol security ada0 .Ed .Pp Report security support and settings for ada0 -.Pp .Bd -literal -offset indent camcontrol security ada0 -u user -s MyPass .Ed .Pp Enable security on device ada0 with the password MyPass -.Pp .Bd -literal -offset indent camcontrol security ada0 -u user -e MyPass .Ed ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249215 - head/sbin/camcontrol
Author: joel (doc committer) Date: Sat Apr 6 19:40:04 2013 New Revision: 249215 URL: http://svnweb.freebsd.org/changeset/base/249215 Log: mdoc: new sentence should be on a new line. Also remove EOL whitespace while here. Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Sat Apr 6 19:33:24 2013 (r249214) +++ head/sbin/camcontrol/camcontrol.8 Sat Apr 6 19:40:04 2013 (r249215) @@ -1118,14 +1118,15 @@ usually takes just a few seconds. Freeze the security configuration of the specified device. .Pp After command completion any other commands that update the device lock mode -shall be command aborted. Frozen mode is disabled by power-off or hardware reset. +shall be command aborted. +Frozen mode is disabled by power-off or hardware reset. .It Fl h Ar pwd .Pp Enhanced erase the device using the given password for the selected user. .Pp .Em WARNING! WARNING! WARNING! .Pp -Issuing an enhanced secure erase will +Issuing an enhanced secure erase will .Em ERASE ALL user data on the device and may take several hours to complete. .Pp @@ -1378,7 +1379,7 @@ camcontrol security ada0 .Pp Report security support and settings for ada0 .Bd -literal -offset indent -camcontrol security ada0 -u user -s MyPass +camcontrol security ada0 -u user -s MyPass .Ed .Pp Enable security on device ada0 with the password MyPass ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249253 - head/share/man/man4
Author: joel (doc committer) Date: Mon Apr 8 10:53:22 2013 New Revision: 249253 URL: http://svnweb.freebsd.org/changeset/base/249253 Log: mdoc: sort cross references. Modified: head/share/man/man4/mld.4 Modified: head/share/man/man4/mld.4 == --- head/share/man/man4/mld.4 Mon Apr 8 10:14:50 2013(r249252) +++ head/share/man/man4/mld.4 Mon Apr 8 10:53:22 2013(r249253) @@ -89,12 +89,12 @@ This sysctl is normally enabled by defau .\" .El .Sh SEE ALSO +.Xr netstat 1 , +.Xr sourcefilter 3 , .Xr icmp6 4 , -.Xr ifmcstat 8 , .Xr inet 4 , .Xr multicast 4 , -.Xr netstat 1 , -.Xr sourcefilter 3 +.Xr ifmcstat 8 .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249361 - in head: lib/libkvm share/man/man4
Author: joel (doc committer) Date: Thu Apr 11 13:05:38 2013 New Revision: 249361 URL: http://svnweb.freebsd.org/changeset/base/249361 Log: Remove EOL whitespace. Modified: head/lib/libkvm/kvm_getpcpu.3 head/share/man/man4/ciss.4 Modified: head/lib/libkvm/kvm_getpcpu.3 == --- head/lib/libkvm/kvm_getpcpu.3 Thu Apr 11 12:49:42 2013 (r249360) +++ head/lib/libkvm/kvm_getpcpu.3 Thu Apr 11 13:05:38 2013 (r249361) @@ -94,7 +94,7 @@ function is used to obtain private per-C .Xr zone 9 . It takes .Fa base -argument as base address of an allocation and copyies +argument as base address of an allocation and copyies .Fa size bytes into .Fa buf Modified: head/share/man/man4/ciss.4 == --- head/share/man/man4/ciss.4 Thu Apr 11 12:49:42 2013(r249360) +++ head/share/man/man4/ciss.4 Thu Apr 11 13:05:38 2013(r249361) @@ -80,7 +80,7 @@ drives) are only exposed as .Xr pass 4 devices. Hot-insertion and removal of devices is supported and notification messages -will be reported to the console and logs. +will be reported to the console and logs. .Pp The problem which adapter freezes with the message .Dq ADAPTER HEARTBEAT FAILED ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249371 - head/sbin/geom/class/part
Author: joel (doc committer) Date: Thu Apr 11 18:02:42 2013 New Revision: 249371 URL: http://svnweb.freebsd.org/changeset/base/249371 Log: Remove kernel options from the SYNOPSIS. They are already documented in the geom(4) manual page SYNOPSIS. Modified: head/sbin/geom/class/part/gpart.8 Modified: head/sbin/geom/class/part/gpart.8 == --- head/sbin/geom/class/part/gpart.8 Thu Apr 11 17:50:50 2013 (r249370) +++ head/sbin/geom/class/part/gpart.8 Thu Apr 11 18:02:42 2013 (r249371) @@ -31,33 +31,6 @@ .Nm gpart .Nd "control utility for the disk partitioning GEOM class" .Sh SYNOPSIS -To add support for the disk partitioning GEOM class, -place one or more of the following -lines in the kernel configuration file: -.Bd -ragged -offset indent -.Cd "options GEOM_PART_APM" -.Cd "options GEOM_PART_BSD" -.Cd "options GEOM_PART_GPT" -.Cd "options GEOM_PART_LDM" -.Cd "options GEOM_PART_MBR" -.Cd "options GEOM_PART_EBR" -.Cd "options GEOM_PART_EBR_COMPAT" -.Cd "options GEOM_PART_PC98" -.Cd "options GEOM_PART_VTOC8" -.Ed -.Pp -These options provide support for the various types of partitioning -schemes supported by the -.Ns Nm -utility. -See -.Sx "PARTITIONING SCHEMES" -below for more details. -.Pp -Usage of the -.Ns Nm -utility: -.Pp .\" ADD .Nm .Cm add ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249373 - in head: sbin/camcontrol sbin/kldload sbin/newfs share/man/man3 share/man/man4 share/man/man9 usr.bin/patch usr.sbin/bluetooth/l2ping usr.sbin/ctladm usr.sbin/makefs usr.sbin/...
Author: joel (doc committer) Date: Thu Apr 11 18:46:41 2013 New Revision: 249373 URL: http://svnweb.freebsd.org/changeset/base/249373 Log: Remove contractions. Modified: head/sbin/camcontrol/camcontrol.8 head/sbin/kldload/kldload.8 head/sbin/newfs/newfs.8 head/share/man/man3/fpgetround.3 head/share/man/man4/ng_tag.4 head/share/man/man4/sdhci.4 head/share/man/man9/locking.9 head/share/man/man9/zone.9 head/usr.bin/patch/patch.1 head/usr.sbin/bluetooth/l2ping/l2ping.8 head/usr.sbin/ctladm/ctladm.8 head/usr.sbin/makefs/makefs.8 head/usr.sbin/mptutil/mptutil.8 head/usr.sbin/services_mkdb/services_mkdb.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Thu Apr 11 18:23:56 2013 (r249372) +++ head/sbin/camcontrol/camcontrol.8 Thu Apr 11 18:46:41 2013 (r249373) @@ -376,7 +376,7 @@ There are a couple of options to modify .It Fl c Just print out a count of LUNs, not the actual LUN numbers. .It Fl l -Just print out the LUNs, and don't print out the count. +Just print out the LUNs, and do not print out the count. .It Fl r Ar reporttype Specify the type of report to request from the target: .Bl -tag -width 012345678 Modified: head/sbin/kldload/kldload.8 == --- head/sbin/kldload/kldload.8 Thu Apr 11 18:23:56 2013(r249372) +++ head/sbin/kldload/kldload.8 Thu Apr 11 18:46:41 2013(r249373) @@ -63,7 +63,7 @@ in the current directory. The following options are available: .Bl -tag -width indent .It Fl n -Don't try to load module if already loaded. +Do not try to load module if already loaded. .It Fl v Be more verbose. .It Fl q Modified: head/sbin/newfs/newfs.8 == --- head/sbin/newfs/newfs.8 Thu Apr 11 18:23:56 2013(r249372) +++ head/sbin/newfs/newfs.8 Thu Apr 11 18:46:41 2013(r249373) @@ -226,7 +226,7 @@ See for more details on how to set this option. .It Fl p Ar partition The partition name (a..h) you want to use in case the underlying image -is a file, so you don't have access to individual partitions through the +is a file, so you do not have access to individual partitions through the filesystem. Can also be used with a device, e.g. .Nm Modified: head/share/man/man3/fpgetround.3 == --- head/share/man/man3/fpgetround.3Thu Apr 11 18:23:56 2013 (r249372) +++ head/share/man/man3/fpgetround.3Thu Apr 11 18:46:41 2013 (r249373) @@ -164,7 +164,7 @@ and .Fn fpsetprec functions provide functionality unavailable on many platforms. At present, they are implemented only on the i386 and amd64 platforms. -Changing precision isn't a supported feature: +Changing precision is not a supported feature: it may be ineffective when code is compiled to take advantage of SSE, and many library functions and compiler optimizations depend upon the default precision for correct behavior. Modified: head/share/man/man4/ng_tag.4 == --- head/share/man/man4/ng_tag.4Thu Apr 11 18:23:56 2013 (r249372) +++ head/share/man/man4/ng_tag.4Thu Apr 11 18:46:41 2013 (r249373) @@ -284,7 +284,7 @@ ngctl msg ngdc: sethookout { thisHook=\e tag_id=412 } .Ed .Pp -Don't forget to program +Do not forget to program .Xr ng_bpf 4 .Dq Li ipfw hook with the above expression (see Modified: head/share/man/man4/sdhci.4 == --- head/share/man/man4/sdhci.4 Thu Apr 11 18:23:56 2013(r249372) +++ head/share/man/man4/sdhci.4 Thu Apr 11 18:46:41 2013(r249373) @@ -85,4 +85,4 @@ TI PCIXX21/XX11 Many of existing SD controller chips have some nonstandard requirements, proprietary registers and hardware bugs, requiring additional handling. ENE chips are handled to work fine, while some revisions of RICOH and TI -controllers still don't see cards without some additional initialization. +controllers still do not see cards without some additional initialization. Modified: head/share/man/man9/locking.9 == --- head/share/man/man9/locking.9 Thu Apr 11 18:23:56 2013 (r249372) +++ head/share/man/man9/locking.9 Thu Apr 11 18:46:41 2013 (r249373) @@ -128,7 +128,7 @@ between them is that shared/exclusive lo (and may thus perform an unbounded sleep). They are inherently less efficient than mutexes, reader/writer locks and read-mostly locks. -They don't support priority propagation. +They do not support priority propagation. They should be considered to be closely related to .Xr sleep 9 . They could in some cases b
svn commit: r249375 - in head: sbin/ipfw usr.bin/rctl usr.sbin/bsnmpd/tools/bsnmptools usr.sbin/pmcannotate
Author: joel (doc committer) Date: Thu Apr 11 19:05:24 2013 New Revision: 249375 URL: http://svnweb.freebsd.org/changeset/base/249375 Log: Minor spelling and grammar fixes. Modified: head/sbin/ipfw/ipfw.8 head/usr.bin/rctl/rctl.8 head/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.1 head/usr.sbin/pmcannotate/pmcannotate.8 Modified: head/sbin/ipfw/ipfw.8 == --- head/sbin/ipfw/ipfw.8 Thu Apr 11 18:47:16 2013(r249374) +++ head/sbin/ipfw/ipfw.8 Thu Apr 11 19:05:24 2013(r249375) @@ -854,7 +854,7 @@ So, to prevent endless loops in case of and .Cm return actions don't do any jumps and simply go to the next rule if memory -can't be allocated or stack overflowed/undeflowed. +cannot be allocated or stack overflowed/underflowed. .Pp Internally stack for rule numbers is implemented using .Xr mbuf_tags 9 Modified: head/usr.bin/rctl/rctl.8 == --- head/usr.bin/rctl/rctl.8Thu Apr 11 18:47:16 2013(r249374) +++ head/usr.bin/rctl/rctl.8Thu Apr 11 19:05:24 2013(r249375) @@ -162,7 +162,7 @@ See for a list of supported signals. .Pp Not all actions are supported for all resources. -Attempt to add rule with action not supported by a given resouce will result +Attempt to add rule with action not supported by a given resource will result in error. .Pp Note that limiting RSS may kill the machine due to thrashing. Modified: head/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.1 == --- head/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.1Thu Apr 11 18:47:16 2013(r249374) +++ head/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.1Thu Apr 11 19:05:24 2013(r249375) @@ -108,7 +108,7 @@ Depending on the options .Nm bsnmpget constructs either a SMNP GetRequest, GetNextRequest or a GetBulkRequest packet, fills in the object identifiers (OIDs) of the -objects whose values will be retrived, waits for a response and prints it if +objects whose values will be retrieved, waits for a response and prints it if received successfully. .Pp .Nm Bsnmpwalk @@ -259,7 +259,7 @@ for and getnext for .Nm bsnmpwalk . Getbulk allows executing the so called SNMP "bulkwalks" allowing the values of -multiple columns to be retrived in a single PDU by +multiple columns to be retrieved in a single PDU by .Nm bsnmpwalk . .It Fl r Ar retries Number of resends of request packets before giving up if the agent does @@ -332,7 +332,7 @@ will use version 2. Note that GetBulkRequest-PDUs were introduced in SNMPv2 thus setting the version to 1 is incompatiable with sending a GetBulk PDU. .It OID -The object identifier whose value to retrive. +The object identifier whose value to retrieve. At least one OID should be provided for .Nm bsnmpget to be able to send a request. @@ -340,7 +340,7 @@ to be able to send a request. For .Nm bsnmpwalk this is the root object identifier of the subtree whose values are to be -retrived. +retrieved. If no OID is provided .Nm bsnmpwalk will walk the mib2 subtree rooted Modified: head/usr.sbin/pmcannotate/pmcannotate.8 == --- head/usr.sbin/pmcannotate/pmcannotate.8 Thu Apr 11 18:47:16 2013 (r249374) +++ head/usr.sbin/pmcannotate/pmcannotate.8 Thu Apr 11 19:05:24 2013 (r249375) @@ -45,7 +45,7 @@ The .Nm utility can produce both C sources or assembly sources of a program with a line-by-line based profiling. -The profiling informations are retrieved through a +The profiling information is retrieved through a .Xr pmcstat 8 raw output while the program operations are retrieved through the .Xr objdump 1 @@ -71,9 +71,9 @@ The following options are available: .Bl -tag -width indent .It Fl a Shows the program profiling inlined in the assembly code only. -No C informations involving C sources are provided. +No C information involving C sources is provided. .It Fl h -Prints out informations about the usage of the tool. +Prints out information about the usage of the tool. .It Fl l Ar level Changes the lower bound (expressed in percentage) for traced functions that will be printed out in the report. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249462 - head/usr.bin/calendar/calendars
Author: joel (doc committer) Date: Sun Apr 14 08:40:24 2013 New Revision: 249462 URL: http://svnweb.freebsd.org/changeset/base/249462 Log: Correct spelling is "Christiaan Huygens". Submitted by: James J. Lippard Obtained from:OpenBSD Modified: head/usr.bin/calendar/calendars/calendar.birthday Modified: head/usr.bin/calendar/calendars/calendar.birthday == --- head/usr.bin/calendar/calendars/calendar.birthday Sun Apr 14 02:42:40 2013(r249461) +++ head/usr.bin/calendar/calendars/calendar.birthday Sun Apr 14 08:40:24 2013(r249462) @@ -120,7 +120,7 @@ 04/10 William Booth born, 1829, founder of the Salvation Army 04/13 Thomas Jefferson, 3rd President of the United States, born Shadwell Plantation, Albemarle County, Virginia, 1743 -04/14 Christian Huygen born, 1629, physicist & astronomer; +04/14 Christiaan Huygen born, 1629, physicist & astronomer; discovered Saturn's rings 04/15 Leonardo da Vinci born, 1452 04/16 Charles (Charlie) Chaplin (Sir) born in London, 1889 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249463 - head/usr.bin/calendar/calendars
Author: joel (doc committer) Date: Sun Apr 14 08:47:01 2013 New Revision: 249463 URL: http://svnweb.freebsd.org/changeset/base/249463 Log: LSD first synthesised 16/11/38, not 7/4/43. Submitted by: James J. Lippard Obtained from:OpenBSD Modified: head/usr.bin/calendar/calendars/calendar.history Modified: head/usr.bin/calendar/calendars/calendar.history == --- head/usr.bin/calendar/calendars/calendar.historySun Apr 14 08:40:24 2013(r249462) +++ head/usr.bin/calendar/calendars/calendar.historySun Apr 14 08:47:01 2013(r249463) @@ -99,7 +99,6 @@ 04/04 Martin Luther King assassinated in Memphis, Tennessee, 1968 04/04 NATO Established, 1949 04/06 Joseph Smith founds Mormon Church, 1830 -04/07 Albert Hofmann synthesizes LSD in Switzerland, 1943 04/07 Alewives run, Cape Cod 04/08 Matthew Flinders and Nicolas Baudin meet in Encounter Bay, 1802 04/09 Lee surrenders to Grant at Appomattox Courthouse, 1865 @@ -420,6 +419,7 @@ from McDonald's), 1971 11/15 Niagara Falls power plant startup, 1896 11/16 Opening of the Suez Canal, 1869 +11/16 Albert Hofmann synthesizes LSD in Switzerland, 1938 11/17 46,000 meteoroids fall over AZ in 20 minutes, 1966 11/17 Richard Nixon says "I am not a crook.", 1973 11/18 First hydrogen bomb blasts Enewetok, 1952 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249464 - head/usr.bin/calendar/calendars
Author: joel (doc committer) Date: Sun Apr 14 08:49:35 2013 New Revision: 249464 URL: http://svnweb.freebsd.org/changeset/base/249464 Log: Fix typo from previous commit. Submitted by: Ronald Klop Modified: head/usr.bin/calendar/calendars/calendar.birthday Modified: head/usr.bin/calendar/calendars/calendar.birthday == --- head/usr.bin/calendar/calendars/calendar.birthday Sun Apr 14 08:47:01 2013(r249463) +++ head/usr.bin/calendar/calendars/calendar.birthday Sun Apr 14 08:49:35 2013(r249464) @@ -120,7 +120,7 @@ 04/10 William Booth born, 1829, founder of the Salvation Army 04/13 Thomas Jefferson, 3rd President of the United States, born Shadwell Plantation, Albemarle County, Virginia, 1743 -04/14 Christiaan Huygen born, 1629, physicist & astronomer; +04/14 Christiaan Huygens born, 1629, physicist & astronomer; discovered Saturn's rings 04/15 Leonardo da Vinci born, 1452 04/16 Charles (Charlie) Chaplin (Sir) born in London, 1889 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249567 - head/lib/libc/gen
Author: joel (doc committer) Date: Tue Apr 16 20:31:15 2013 New Revision: 249567 URL: http://svnweb.freebsd.org/changeset/base/249567 Log: mdoc: remove superfluous paragraph macro. Modified: head/lib/libc/gen/sem_wait.3 Modified: head/lib/libc/gen/sem_wait.3 == --- head/lib/libc/gen/sem_wait.3Tue Apr 16 20:26:31 2013 (r249566) +++ head/lib/libc/gen/sem_wait.3Tue Apr 16 20:31:15 2013 (r249567) @@ -78,7 +78,6 @@ Additionally, .Fn sem_wait will fail if: .Bl -tag -width Er -.Pp .It Bq Er EINTR A signal interrupted this function. .El ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249616 - head/share/man/man5
Author: joel (doc committer) Date: Thu Apr 18 10:08:27 2013 New Revision: 249616 URL: http://svnweb.freebsd.org/changeset/base/249616 Log: Remove EOL whitespace. Modified: head/share/man/man5/rc.conf.5 Modified: head/share/man/man5/rc.conf.5 == --- head/share/man/man5/rc.conf.5 Thu Apr 18 10:06:52 2013 (r249615) +++ head/share/man/man5/rc.conf.5 Thu Apr 18 10:08:27 2013 (r249616) @@ -3987,7 +3987,7 @@ Set to the fully qualified domain name ( Unset by default. Set extra parameters for jail .Va jname , -such as +such as .Dq Li allow.chflags or .Dq Li children.max . @@ -4001,7 +4001,7 @@ script out of their corresponding variables: .Bl -tag -width "host.hostname" -offset indent .It Li path -set from +set from .Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir .It Li host.hostname set from ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249711 - head/lib/libprocstat
Author: joel (doc committer) Date: Sat Apr 20 22:16:49 2013 New Revision: 249711 URL: http://svnweb.freebsd.org/changeset/base/249711 Log: mdoc: end function context properly. Modified: head/lib/libprocstat/libprocstat.3 Modified: head/lib/libprocstat/libprocstat.3 == --- head/lib/libprocstat/libprocstat.3 Sat Apr 20 19:13:56 2013 (r249710) +++ head/lib/libprocstat/libprocstat.3 Sat Apr 20 22:16:49 2013 (r249711) @@ -65,7 +65,6 @@ .In libprocstat.h .Ft void .Fn procstat_close "struct procstat *procstat" -.Fc .Ft void .Fo procstat_freeargv .Fa "struct procstat *procstat" @@ -167,6 +166,7 @@ .Fa "struct procstat *procstat" .Fa "struct kinfo_proc *kp" .Fa "unsigned int *count" +.Fc .Ft int .Fo procstat_getosrel .Fa "struct procstat *procstat" ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249712 - head/share/man/man4
Author: joel (doc committer) Date: Sat Apr 20 22:26:33 2013 New Revision: 249712 URL: http://svnweb.freebsd.org/changeset/base/249712 Log: Add missing Pp. Also remove some minor whitespace. PR: 177995 Submitted by: olgeni Modified: head/share/man/man4/syscons.4 Modified: head/share/man/man4/syscons.4 == --- head/share/man/man4/syscons.4 Sat Apr 20 22:16:49 2013 (r249711) +++ head/share/man/man4/syscons.4 Sat Apr 20 22:26:33 2013 (r249712) @@ -471,9 +471,9 @@ device atkbdc device atkbd device vga device sc - device splash .Ed +.Pp You also need the following lines in .Pa /boot/device.hints for these drivers. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249716 - in head: lib/libc/sys share/man/man3
Author: joel (doc committer) Date: Sun Apr 21 06:46:41 2013 New Revision: 249716 URL: http://svnweb.freebsd.org/changeset/base/249716 Log: Remove cross-references to nonexistent CPU_SET(3) manpage. Also fix cpu_getaffinity(2) document title. PR: 176317 Submitted by: brucec Modified: head/lib/libc/sys/cpuset.2 head/lib/libc/sys/cpuset_getaffinity.2 head/share/man/man3/pthread_affinity_np.3 head/share/man/man3/pthread_attr_affinity_np.3 Modified: head/lib/libc/sys/cpuset.2 == --- head/lib/libc/sys/cpuset.2 Sun Apr 21 00:41:15 2013(r249715) +++ head/lib/libc/sys/cpuset.2 Sun Apr 21 06:46:41 2013(r249716) @@ -216,7 +216,6 @@ for allocation. .Xr cpuset 1 , .Xr cpuset_getaffinity 2 , .Xr cpuset_setaffinity 2 , -.Xr CPU_SET 3 , .Xr pthread_affinity_np 3 , .Xr pthread_attr_affinity_np 3 .Sh HISTORY Modified: head/lib/libc/sys/cpuset_getaffinity.2 == --- head/lib/libc/sys/cpuset_getaffinity.2 Sun Apr 21 00:41:15 2013 (r249715) +++ head/lib/libc/sys/cpuset_getaffinity.2 Sun Apr 21 06:46:41 2013 (r249716) @@ -26,7 +26,7 @@ .\" $FreeBSD$ .\" .Dd September 10, 2010 -.Dt CPUSET 2 +.Dt CPUSET_GETAFFINITY 2 .Os .Sh NAME .Nm cpuset_getaffinity , @@ -69,7 +69,7 @@ All resources, however, have a mask whic Masks of type .Ft cpuset_t are composed using the -.Xr CPU_SET 2 +.Dv CPU_SET macros. The kernel tolerates large sets as long as all CPUs specified in the set exist. @@ -152,7 +152,6 @@ operation. .Xr cpuset 2 , .Xr cpuset_getid 2 , .Xr cpuset_setid 2 , -.Xr CPU_SET 3 , .Xr pthread_affinity_np 3 , .Xr pthread_attr_affinity_np 3 .Sh HISTORY Modified: head/share/man/man3/pthread_affinity_np.3 == --- head/share/man/man3/pthread_affinity_np.3 Sun Apr 21 00:41:15 2013 (r249715) +++ head/share/man/man3/pthread_affinity_np.3 Sun Apr 21 06:46:41 2013 (r249716) @@ -49,7 +49,7 @@ allow the manipulation of sets of CPUs a Masks of type .Ft cpuset_t are composed using the -.Xr CPU_SET 3 +.Dv CPU_SET macros. The kernel tolerates large sets as long as all CPUs specified in the set exist. @@ -123,7 +123,6 @@ operation. .Xr cpuset 2 , .Xr cpuset_getid 2 , .Xr cpuset_setid 2 , -.Xr CPU_SET 3 , .Xr pthread 3 , .Xr pthread_attr_getaffinity_np 3 , .Xr pthread_attr_setaffinity_np 3 Modified: head/share/man/man3/pthread_attr_affinity_np.3 == --- head/share/man/man3/pthread_attr_affinity_np.3 Sun Apr 21 00:41:15 2013(r249715) +++ head/share/man/man3/pthread_attr_affinity_np.3 Sun Apr 21 06:46:41 2013(r249716) @@ -50,7 +50,7 @@ functions allow the manipulation of sets Masks of type .Ft cpuset_t are composed using the -.Xr CPU_SET 3 +.Dv CPU_SET macros. The kernel tolerates large sets as long as all CPUs specified in the set exist. @@ -132,7 +132,6 @@ Insufficient memory exists to store the .Xr cpuset 2 , .Xr cpuset_getid 2 , .Xr cpuset_setid 2 , -.Xr CPU_SET 3 , .Xr pthread_get_affinity_np 3 , .Xr pthread_set_affinity_np 3 .Sh STANDARDS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249720 - head/sbin/devfs
Author: joel (doc committer) Date: Sun Apr 21 10:08:33 2013 New Revision: 249720 URL: http://svnweb.freebsd.org/changeset/base/249720 Log: Move EXAMPLES descriptions to before the actual command. PR: 177870 Submitted by: Bjorn Heidotting Modified: head/sbin/devfs/devfs.8 Modified: head/sbin/devfs/devfs.8 == --- head/sbin/devfs/devfs.8 Sun Apr 21 09:10:35 2013(r249719) +++ head/sbin/devfs/devfs.8 Sun Apr 21 10:08:33 2013(r249720) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 21, 2010 +.Dd April 21, 2013 .Dt DEVFS 8 .Os .Sh NAME @@ -269,13 +269,11 @@ the operations are performed on .Pa /dev (this only matters for things that might change the properties of nodes). .Pp -.Dl "devfs ruleset 10" -.Pp Specify that ruleset 10 should be the current ruleset for .Pa /dev -(if it does not already exist, it is created). +(if it does not already exist, it is created): .Pp -.Dl "devfs rule add path speaker mode 666" +.Dl "devfs ruleset 10" .Pp Add a rule that causes all nodes that have a path that matches .Dq Li speaker @@ -291,22 +289,19 @@ be changed if the node is created the rule is added (e.g., the .Pa atspeaker -module is loaded after the above rule is added). +module is loaded after the above rule is added): .Pp -.Dl "devfs rule applyset" +.Dl "devfs rule add path speaker mode 666" .Pp Apply all the rules in the current ruleset to all the existing nodes. -E.g., if the above rule was added after +E.g., if the below rule was added after .Pa /dev/speaker was created, this command will cause its file mode to be changed to 666 -as prescribed by the rule. +as prescribed by the rule: .Pp -.Dl devfs rule add path "snp*" mode 660 group snoopers +.Dl "devfs rule applyset" .Pp -(Quoting the argument to -.Cm path -is often necessary to disable the shell's globbing features.) For all devices with a path that matches .Dq Li snp* , set the file mode to 660 and the GID to @@ -315,53 +310,57 @@ This permits users in the .Dq Li snoopers group to use the .Xr snp 4 -devices. +devices +(quoting the argument to +.Cm path +is often necessary to disable the shell's globbing features): .Pp -.Dl "devfs rule -s 20 add type disk group wheel" +.Dl devfs rule add path "snp*" mode 660 group snoopers .Pp Add a rule to ruleset number 20. Since this ruleset is not the current ruleset for any mount-points, this rule is never applied automatically (unless ruleset 20 becomes -a current ruleset for some mount-point at a later time). -However, it can be applied explicitly, as such: +a current ruleset for some mount-point at a later time): .Pp -.Dl "devfs -m /my/jail/dev rule -s 20 applyset" +.Dl "devfs rule -s 20 add type disk group wheel" .Pp -This will apply all rules in ruleset number 20 to the DEVFS mount on +Explicitly apply all rules in ruleset number 20 to the DEVFS mount on .Pa /my/jail/dev . It does not matter that ruleset 20 is not the current ruleset for that -mount-point; the rules are still applied. +mount-point; the rules are still applied: .Pp -.Dl "devfs rule apply hide" +.Dl "devfs -m /my/jail/dev rule -s 20 applyset" .Pp -Since this rule has no conditions, the action +Since the following rule has no conditions, the action .Pq Cm hide -will be applied to all nodes. -Since hiding all nodes is not very useful, we can undo it: +will be applied to all nodes: .Pp -.Dl "devfs rule apply unhide" +.Dl "devfs rule apply hide" .Pp -which applies +Since hiding all nodes is not very useful, we can undo it. +The following applies .Cm unhide to all the nodes, -causing them to reappear. +causing them to reappear: .Pp -.Dl "devfs rule -s 10 add - < my_rules" +.Dl "devfs rule apply unhide" .Pp Add all the rules from the file .Pa my_rules -to ruleset 10. +to ruleset 10: .Pp -.Dl "devfs rule -s 20 show | devfs rule -s 10 add -" +.Dl "devfs rule -s 10 add - < my_rules" .Pp -Since -.Cm show -outputs valid rules, -this feature can be used to copy rulesets. -The above copies all the rules from ruleset 20 into ruleset 10. +The below copies all the rules from ruleset 20 into ruleset 10. The rule numbers are preserved, but ruleset 10 may already have rules with non-conflicting numbers (these will be preserved). +Since +.Cm show +outputs valid rules, +this feature can be used to copy rulesets: +.Pp +.Dl "devfs rule -s 20 show | devfs rule -s 10 add -" .Sh SEE ALSO .Xr chmod 1 , .Xr jail 2 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249721 - head/lib/libc/stdlib
Author: joel (doc committer) Date: Sun Apr 21 10:30:19 2013 New Revision: 249721 URL: http://svnweb.freebsd.org/changeset/base/249721 Log: Add example. PR: 177025 Submitted by: Fernando Reviewed by: theraven Modified: head/lib/libc/stdlib/lsearch.3 Modified: head/lib/libc/stdlib/lsearch.3 == --- head/lib/libc/stdlib/lsearch.3 Sun Apr 21 10:08:33 2013 (r249720) +++ head/lib/libc/stdlib/lsearch.3 Sun Apr 21 10:30:19 2013 (r249721) @@ -8,7 +8,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 11, 2002 +.Dd April 21, 2013 .Dt LSEARCH 3 .Os .Sh NAME @@ -81,6 +81,47 @@ returns Both functions return .Dv NULL if an error occurs. +.Sh EXAMPLES +.Bd -literal +#include +#include +#include + +static int +element_compare(const void *p1, const void *p2) +{ + int left = *(const int *)p1; + int right = *(const int *)p2; + + return (left - right); +} + +int +main(int argc, char **argv) +{ + const int array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; + size_t element_size = sizeof(array[0]); + size_t array_size = sizeof(array) / element_size; + int key; + void *element; + + printf("Enter a number: "); + if (scanf("%d", &key) != 1) { + printf("Bad input\n"); + return (EXIT_FAILURE); + } + + element = lfind(&key, array, &array_size, element_size, + element_compare); + + if (element != NULL) + printf("Element found: %d\n", *(int *)element); + else + printf("Element not found\n"); + + return (EXIT_SUCCESS); +} +.Ed .Sh SEE ALSO .Xr bsearch 3 , .Xr hsearch 3 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249740 - head/bin/sh
Author: joel (doc committer) Date: Sun Apr 21 19:55:38 2013 New Revision: 249740 URL: http://svnweb.freebsd.org/changeset/base/249740 Log: Document a few expansions for the $PS1 and $PS2 environmental variables. PR: 173410 Submitted by: Derek Wood Reviewed by: jilles Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 == --- head/bin/sh/sh.1Sun Apr 21 19:42:04 2013(r249739) +++ head/bin/sh/sh.1Sun Apr 21 19:55:38 2013(r249740) @@ -32,7 +32,7 @@ .\"from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" $FreeBSD$ .\" -.Dd March 24, 2013 +.Dd April 21, 2013 .Dt SH 1 .Os .Sh NAME @@ -1340,9 +1340,33 @@ The primary prompt string, which default .Dq Li "$ " , unless you are the superuser, in which case it defaults to .Dq Li "# " . +.Va PS1 +may include any of the following formatting sequences, +which are replaced by the given information: +.Bl -tag -width indent +.It Li \eH +The local hostname. +.It Li \eh +The fully-qualified hostname. +.It Li \eW +The final component of the current working directory. +.It Li \ew +The entire path of the current working directory. +.It Li \e$ +Superuser status. +.Dq Li "$ " +for normal users and +.Dq Li "# " +for superusers. +.It Li \e\e +A literal backslash. +.El .It Va PS2 The secondary prompt string, which defaults to .Dq Li "> " . +.Va PS2 +may include any of the formatting sequences from +.Va PS1 . .It Va PS4 The prefix for the trace output (if .Fl x ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249768 - head/sbin/geom/class/label
Author: joel (doc committer) Date: Mon Apr 22 17:38:26 2013 New Revision: 249768 URL: http://svnweb.freebsd.org/changeset/base/249768 Log: Minor clarificiation. PR: 177455 Modified: head/sbin/geom/class/label/glabel.8 Modified: head/sbin/geom/class/label/glabel.8 == --- head/sbin/geom/class/label/glabel.8 Mon Apr 22 15:51:06 2013 (r249767) +++ head/sbin/geom/class/label/glabel.8 Mon Apr 22 17:38:26 2013 (r249768) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 13, 2009 +.Dd April 22, 2013 .Dt GLABEL 8 .Os .Sh NAME @@ -81,7 +81,7 @@ The method uses on-disk metadata to store the label and detect it automatically in the future. .Pp -This class also provides volume label detection for file systems. +This GEOM class also provides volume label detection for file systems. Those labels cannot be set with .Nm , but must be set with the appropriate file system utility, e.g.\& for UFS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249769 - head/bin/domainname
Author: joel (doc committer) Date: Mon Apr 22 17:55:12 2013 New Revision: 249769 URL: http://svnweb.freebsd.org/changeset/base/249769 Log: Point users towards nisdomainname and rc.conf. PR: 144630 Submitted by: Stefan Krueger , Fel Modified: head/bin/domainname/domainname.1 Modified: head/bin/domainname/domainname.1 == --- head/bin/domainname/domainname.1Mon Apr 22 17:38:26 2013 (r249768) +++ head/bin/domainname/domainname.1Mon Apr 22 17:55:12 2013 (r249769) @@ -29,7 +29,7 @@ .\"From: @(#)hostname.18.1 (Berkeley) 5/31/93 .\" $FreeBSD$ .\" -.Dd September 18, 1994 +.Dd April 22, 2013 .Dt DOMAINNAME 1 .Os .Sh NAME @@ -43,10 +43,11 @@ The .Nm utility prints the name of the current YP/NIS domain. The super-user can -set the domain name by supplying an argument; this is usually done in the -network initialization script -.Pa /etc/rc.network , -normally run at boot +set the domain name by supplying an argument; this is usually done with the +.Va nisdomainname +variable in the +.Pa /etc/rc.conf +file, normally run at boot time. .Sh NOTES The YP/NIS (formerly ``Yellow Pages'' but renamed for legal reasons) @@ -54,7 +55,8 @@ domain name does not necessarily have an Name System domain name, although they are often set equal for administrative convenience. .Sh SEE ALSO -.Xr getdomainname 3 +.Xr getdomainname 3 , +.Xr rc.conf 5 .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249771 - head/usr.sbin/timed/timed
Author: joel (doc committer) Date: Mon Apr 22 18:31:39 2013 New Revision: 249771 URL: http://svnweb.freebsd.org/changeset/base/249771 Log: Minor update about rc.conf. Modified: head/usr.sbin/timed/timed/timed.8 Modified: head/usr.sbin/timed/timed/timed.8 == --- head/usr.sbin/timed/timed/timed.8 Mon Apr 22 18:11:29 2013 (r249770) +++ head/usr.sbin/timed/timed/timed.8 Mon Apr 22 18:31:39 2013 (r249771) @@ -44,7 +44,7 @@ The .Nm utility is a time server daemon which is normally invoked at boot time from the -.Xr rc.network 8 +.Xr rc.conf 5 file. It synchronizes the host's time with the time of other machines, which are also running ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249778 - head/share/man/man5
Author: joel (doc committer) Date: Mon Apr 22 20:14:57 2013 New Revision: 249778 URL: http://svnweb.freebsd.org/changeset/base/249778 Log: Update description of process status output. PR: 143850 Submitted by: Slaven Rezic Modified: head/share/man/man5/procfs.5 Modified: head/share/man/man5/procfs.5 == --- head/share/man/man5/procfs.5Mon Apr 22 19:38:56 2013 (r249777) +++ head/share/man/man5/procfs.5Mon Apr 22 20:14:57 2013 (r249778) @@ -2,7 +2,7 @@ .\" Written by Garrett Wollman .\" This file is in the public domain. .\" -.Dd September 22, 2009 +.Dd April 22, 2013 .Dt PROCFS 5 .Os .Sh NAME @@ -155,9 +155,10 @@ process group id .It session id .It -.Ar major , Ns Ar minor +device name of the controlling terminal, or -.Dv -1,-1 +a minus sign +.Pq Dq - if there is no controlling terminal. .It a list of process flags: ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r249904 - head/sbin/camcontrol
Author: joel (doc committer) Date: Thu Apr 25 20:23:22 2013 New Revision: 249904 URL: http://svnweb.freebsd.org/changeset/base/249904 Log: mdoc: remove superfluous paragraph macro. Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Thu Apr 25 17:38:04 2013 (r249903) +++ head/sbin/camcontrol/camcontrol.8 Thu Apr 25 20:23:22 2013 (r249904) @@ -1476,14 +1476,12 @@ data from the device, so backup your dat .Pp This command can be used used against an SSD drive to restoring it to factory default write performance. -.Pp .Bd -literal -offset indent camcontrol hpa ada0 .Ed .Pp Report HPA support and settings for ada0 (also reported via identify). -.Pp .Bd -literal -offset indent camcontrol hpa ada0 -s 10240 .Ed ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r263110 - head/share/man/man4
14 mar 2014 kl. 10:13 skrev Christian Brueffer : > On 3/14/14 2:54 AM, John-Mark Gurney wrote: >> John Nielsen wrote this message on Thu, Mar 13, 2014 at 16:28 -0600: >>> On Mar 13, 2014, at 10:19 AM, John-Mark Gurney wrote: >>> Author: jmg Date: Thu Mar 13 16:19:36 2014 New Revision: 263110 URL: http://svnweb.freebsd.org/changeset/base/263110 Log: remove link to the missing AMD Geode LX SB man page... we can add it back once someone cares enough to write one.. >>> >>> You mean like this one? >>> http://svnweb.freebsd.org/base/head/share/man/man4/man4.i386/glxsb.4 >> >> The problems of checking on an amd64 box... :( >> >> Actually, how are we suppose to handle links to arch dependant man >> pages in arch independant man pages? I did this check on an amd64 box, >> so the page glxsb didn't get installed... Should we just always >> install these man pages on all arches then? Or are we fine w/ >> references to non-existant pages (on some arches)? >> >> Or should glxsb.4 be moved to an arch independant dir? >> > > I wonder if it makes sense to keep arch-dependent man directories at > all. I.e., if I prepare an ARM disk image on my amd64 laptop, I really > want to have the arm manpages available on that amd64 box. > > Does anyone see a reason not to move man4/man4.${ARCH}/*.4 to man4? > We're talking about 60 manpages here, so space is not really an issue. Sounds good to me. — Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r253735 - head/usr.sbin/watchdogd
Author: joel (doc committer) Date: Sun Jul 28 06:15:25 2013 New Revision: 253735 URL: http://svnweb.freebsd.org/changeset/base/253735 Log: mdoc and language improvements. Modified: head/usr.sbin/watchdogd/watchdogd.8 Modified: head/usr.sbin/watchdogd/watchdogd.8 == --- head/usr.sbin/watchdogd/watchdogd.8 Sun Jul 28 06:02:40 2013 (r253734) +++ head/usr.sbin/watchdogd/watchdogd.8 Sun Jul 28 06:15:25 2013 (r253735) @@ -115,7 +115,7 @@ will terminate. The .Nm utility recognizes the following runtime options: -.Bl -tag -width ".Fl -softtimeout-action Ar action " +.Bl -tag -width 30m .It Fl I Ar file Write the process ID of the .Nm @@ -204,16 +204,23 @@ and the kernel .Xr log 4 device for .Xr syslog 8 . +.Sh FILES +.Bl -tag -width ".Pa /var/run/watchdogd.pid" -compact +.It Pa /var/run/watchdogd.pid +.El .Sh EXAMPLES .Ss Debugging watchdogd and/or your watchdog script. +This is a useful recipe for debugging +.Nm +and your watchdog script. .Pp -This is a useful recipe for debugging watchdogd and your watchdog -script. -.Pp -(Note that ^C works oddly because watchdogd calls system(3) so the +(Note that ^C works oddly because +.Nm +calls +.Xr system 3 +so the first ^C will terminate the "sleep" command.) .Pp -.Pp Explanation of options used: .Bl -enum -offset indent -compact .It @@ -224,17 +231,29 @@ Set the watchdog to trip at 30 seconds. Use of a softtimeout: .Bl -enum -offset indent -compact -nested .It -Use a softtimeout (don't arm the hardware watchdog) (--softtimeout) +Use a softtimeout (do not arm the hardware watchdog). +(--softtimeout) .It -Set the softtimeout action to do both kernel printf(9) and log(9) when it trips. (--softtimeout-action log,printf) +Set the softtimeout action to do both kernel +.Xr printf 9 +and +.Xr log 9 +when it trips. +(--softtimeout-action log,printf) .El .It Use of a pre-timeout: .Bl -enum -offset indent -compact -nested .It -Set a pre-timeout of 15 seconds (this will later trigger a panic/dump) (--pretimeout 15) +Set a pre-timeout of 15 seconds (this will later trigger a panic/dump). +(--pretimeout 15) .It -Set the action to also kernel printf(9) and log(9) when it trips. (--pretimeout-action log,printf) +Set the action to also kernel +.Xr printf 9 +and +.Xr log 9 +when it trips. +(--pretimeout-action log,printf) .El .It Use of a script: @@ -279,10 +298,6 @@ watchdogd -t 120 \\ --pretimeout 60 --pretimeout-action log,printf,panic \\ -e '/path/to/your/script 60' -w -T 15 .Ed -.Sh FILES -.Bl -tag -width ".Pa /var/run/watchdogd.pid" -compact -.It Pa /var/run/watchdogd.pid -.El .Sh SEE ALSO .Xr watchdog 4 , .Xr watchdog 8 , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r253736 - head/usr.bin/fetch
Author: joel (doc committer) Date: Sun Jul 28 06:16:12 2013 New Revision: 253736 URL: http://svnweb.freebsd.org/changeset/base/253736 Log: Remove EOL whitespace. Modified: head/usr.bin/fetch/fetch.1 Modified: head/usr.bin/fetch/fetch.1 == --- head/usr.bin/fetch/fetch.1 Sun Jul 28 06:15:25 2013(r253735) +++ head/usr.bin/fetch/fetch.1 Sun Jul 28 06:16:12 2013(r253736) @@ -135,7 +135,7 @@ This option is deprecated and is provide only. .It Fl -ca-cert= Ns Ar file [SSL] -Path to certificate bundle containing trusted CA certificates. +Path to certificate bundle containing trusted CA certificates. If not specified, .Pa /etc/ssl/cert.pem is used. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254174 - head/share/man/man9
Author: joel (doc committer) Date: Sat Aug 10 06:37:53 2013 New Revision: 254174 URL: http://svnweb.freebsd.org/changeset/base/254174 Log: mdoc: document title should be all caps. Modified: head/share/man/man9/vm_page_busy.9 Modified: head/share/man/man9/vm_page_busy.9 == --- head/share/man/man9/vm_page_busy.9 Sat Aug 10 01:48:15 2013 (r254173) +++ head/share/man/man9/vm_page_busy.9 Sat Aug 10 06:37:53 2013 (r254174) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .Dd August 07, 2013 -.Dt vm_page_busy 9 +.Dt VM_PAGE_BUSY 9 .Os .Sh NAME .Nm vm_page_busied , ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254175 - head/share/man/man9
Author: joel (doc committer) Date: Sat Aug 10 06:39:42 2013 New Revision: 254175 URL: http://svnweb.freebsd.org/changeset/base/254175 Log: Minor mdoc nits. Modified: head/share/man/man9/mutex.9 Modified: head/share/man/man9/mutex.9 == --- head/share/man/man9/mutex.9 Sat Aug 10 06:37:53 2013(r254174) +++ head/share/man/man9/mutex.9 Sat Aug 10 06:39:42 2013(r254175) @@ -226,7 +226,7 @@ lock, respectively, and also accept a .Fa flags argument. In both cases, the only flags presently available for lock acquires are -.Dv MTX_QUIET +.Dv MTX_QUIET and .Dv MTX_RECURSE . If the @@ -243,7 +243,6 @@ bit is turned on in the .Fa flags argument, then the mutex can be acquired recursively. .Pp -.Pp The .Fn mtx_trylock attempts to acquire the ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254176 - head/share/man/man4
Author: joel (doc committer) Date: Sat Aug 10 06:48:20 2013 New Revision: 254176 URL: http://svnweb.freebsd.org/changeset/base/254176 Log: mdoc: remove commented out macro, sort SEE ALSO and add missing .El. Modified: head/share/man/man4/rsu.4 Modified: head/share/man/man4/rsu.4 == --- head/share/man/man4/rsu.4 Sat Aug 10 06:39:42 2013(r254175) +++ head/share/man/man4/rsu.4 Sat Aug 10 06:48:20 2013(r254176) @@ -22,7 +22,6 @@ .Nm rsu .Nd Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network device .Sh SYNOPSIS -.\.Cd "rsu* at uhub? port ?" To compile this driver into the kernel, place the following lines in your kernel configuration file: .Bd -ragged -offset indent @@ -120,6 +119,7 @@ The following adapters should work: .It Sweex LW154 .It TRENDnet TEW-648UB .It TRENDnet TEW-649UB +.El .Sh EXAMPLES Join an existing BSS network (i.e., connect to an access point): .Bd -literal -offset indent @@ -149,14 +149,14 @@ The driver will reset the hardware. This should not happen. .El .Sh SEE ALSO -.Xr arp 8 , +.Xr hostname 1 , .Xr intro 1 , -.Xr netintro 4 , .Xr usb 3 , -.Xr hostname 1 , -.Xr ifconfig 8, +.Xr netintro 4 , +.Xr rsufw 4 , .Xr wlan 4 , -.Xr rsufw 4 +.Xr arp 8 , +.Xr ifconfig 8 .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk
On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > On Aug 13, 2013, at 09:15, Peter Wemm wrote: > > Author: peter > > Date: Tue Aug 13 07:15:01 2013 > > New Revision: 254273 > > URL: http://svnweb.freebsd.org/changeset/base/254273 > > > > Log: > > The iconv in libc did two things - implement the standard APIs, the GNU > > extensions and also tried to be link time compatible with ports libiconv. > > This splits that functionality and enables the parts that shouldn't > > interfere with the port by default. > > > > WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. > > WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, > > linker > > symbols and even a stub libiconv.so.3 that are good enough to be able > > to 'pkg delete -f libiconv' on a running system and reasonably expect it > > to work. > > > > I have tortured many machines over the last few days to try and reduce > > the possibilities of foot-shooting as much as I can. I've successfully > > recompiled to enable and disable the libiconv_compat modes, ports that use > > libiconv alongside system iconv etc. If you don't enable the > > WITH_LIBICONV_COMPAT switch, they don't share symbol space. > > > > This is an extension of behavior on other system. iconv(3) is a standard > > libc interface and libiconv port expects to be able to run alongside it on > > systems that have it. > > Unfortunately I expect this will break many ports, when the libiconv > port is installed. A simple example is the following: It also breaks installworld when /usr/src and /usr/obj are NFS exported read-only. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk
On Sun, Aug 18, 2013 at 03:51:25PM -0700, Peter Wemm wrote: > On 8/18/13 3:42 PM, Jilles Tjoelker wrote: > > On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: > >> On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > >>> On Aug 13, 2013, at 09:15, Peter Wemm wrote: > >>>> Author: peter > >>>> Date: Tue Aug 13 07:15:01 2013 > >>>> New Revision: 254273 > >>>> URL: http://svnweb.freebsd.org/changeset/base/254273 > > > >>>> Log: > >>>> The iconv in libc did two things - implement the standard APIs, the GNU > >>>> extensions and also tried to be link time compatible with ports > >>>> libiconv. > >>>> This splits that functionality and enables the parts that shouldn't > >>>> interfere with the port by default. > > > >>>> WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. > >>>> WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, > >>>> linker > >>>> symbols and even a stub libiconv.so.3 that are good enough to be able > >>>> to 'pkg delete -f libiconv' on a running system and reasonably expect it > >>>> to work. > > > >>>> I have tortured many machines over the last few days to try and reduce > >>>> the possibilities of foot-shooting as much as I can. I've successfully > >>>> recompiled to enable and disable the libiconv_compat modes, ports that > >>>> use > >>>> libiconv alongside system iconv etc. If you don't enable the > >>>> WITH_LIBICONV_COMPAT switch, they don't share symbol space. > > > >>>> This is an extension of behavior on other system. iconv(3) is a > >>>> standard > >>>> libc interface and libiconv port expects to be able to run alongside it > >>>> on > >>>> systems that have it. > > > >>> Unfortunately I expect this will break many ports, when the libiconv > >>> port is installed. A simple example is the following: > >> > > > >> It also breaks installworld when /usr/src and /usr/obj are NFS exported > >> read-only. > > > > I think it has to do with share/i18n/csmapper and share/i18n/esdb using > > directories as make targets. This apparently causes these files to be > > rebuilt at 'make installworld' time, which is always bad but is only > > detected when /usr/obj is read-only. > > > > A hack that works is to enclose the four targets depending on ${SUBDIR} > > in .if !make(install) . > > > > Unfortunately, the Makefiles were written to depend on the directories > > as make targets fairly deeply, so a real fix is harder. > > I was looking at this yesterday, but was tied up with other things. I'll > take a look at it today after getting a few other things done. It should be > easy enough to replicate by changing /usr/obj to readonly on test systems. FWIW, this is still broken. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254658 - head/share/man/man9
Author: joel (doc committer) Date: Thu Aug 22 16:00:09 2013 New Revision: 254658 URL: http://svnweb.freebsd.org/changeset/base/254658 Log: Minor mdoc nit. Modified: head/share/man/man9/atomic.9 Modified: head/share/man/man9/atomic.9 == --- head/share/man/man9/atomic.9Thu Aug 22 14:02:34 2013 (r254657) +++ head/share/man/man9/atomic.9Thu Aug 22 16:00:09 2013 (r254658) @@ -266,7 +266,6 @@ and do not have any variants with memory The .Fn atomic_store functions are only provided with release memory barriers. -.Pp .Bl -hang .It Fn atomic_swap p v .Bd -literal -compact ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254659 - head/usr.bin/dtc
Author: joel (doc committer) Date: Thu Aug 22 16:01:20 2013 New Revision: 254659 URL: http://svnweb.freebsd.org/changeset/base/254659 Log: Remove EOL whitespace. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1 == --- head/usr.bin/dtc/dtc.1 Thu Aug 22 16:00:09 2013(r254658) +++ head/usr.bin/dtc/dtc.1 Thu Aug 22 16:01:20 2013(r254659) @@ -141,11 +141,11 @@ or to be used for device tree source files that contain conditional components. This tool supports two extensions to the standard to support conditional compilation of device trees. -The first is an +The first is an .Ar /include/if [property]/ "file.dts" directive that is allowed at the start of a file and which will only include the specified file if it the specified property is passed with this flag. -The second is the +The second is the .Ar $NAME format for property values. These allow property value to be specified on the command line. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254660 - head/lib/libc/sys
Author: joel (doc committer) Date: Thu Aug 22 16:02:20 2013 New Revision: 254660 URL: http://svnweb.freebsd.org/changeset/base/254660 Log: Remove EOL whitespace. Modified: head/lib/libc/sys/chflags.2 Modified: head/lib/libc/sys/chflags.2 == --- head/lib/libc/sys/chflags.2 Thu Aug 22 16:01:20 2013(r254659) +++ head/lib/libc/sys/chflags.2 Thu Aug 22 16:02:20 2013(r254660) @@ -198,7 +198,7 @@ the system is in single-user mode. for details.) .Pp The implementation of all flags is filesystem-dependent. -See the description of the +See the description of the .Dv UF_ARCHIVE flag above for one example of the differences in behavior. Care should be exercised when writing applications to account for ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254825 - head/share/man/man9
Author: joel (doc committer) Date: Sun Aug 25 06:58:51 2013 New Revision: 254825 URL: http://svnweb.freebsd.org/changeset/base/254825 Log: mdoc fixes. Modified: head/share/man/man9/pfil.9 Modified: head/share/man/man9/pfil.9 == --- head/share/man/man9/pfil.9 Sun Aug 25 02:07:28 2013(r254824) +++ head/share/man/man9/pfil.9 Sun Aug 25 06:58:51 2013(r254825) @@ -71,6 +71,7 @@ typedef int (*pfil_func_t)(void *arg, st .Fn pfil_wlock "struct pfil_head *" .Ft void .Fn pfil_wunlock "struct pfil_head *" +.Ed .Sh DESCRIPTION The .Nm @@ -241,7 +242,7 @@ Fine-grained locking was added in lock export was added in .Fx 10.0 . .Sh BUGS -.Pp When a +When a .Vt pfil_head is being modified, no traffic is diverted (to avoid deadlock). ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254826 - head/share/man/man9
Author: joel (doc committer) Date: Sun Aug 25 06:59:30 2013 New Revision: 254826 URL: http://svnweb.freebsd.org/changeset/base/254826 Log: Remove EOL whitespace. Modified: head/share/man/man9/timeout.9 Modified: head/share/man/man9/timeout.9 == --- head/share/man/man9/timeout.9 Sun Aug 25 06:58:51 2013 (r254825) +++ head/share/man/man9/timeout.9 Sun Aug 25 06:59:30 2013 (r254826) @@ -256,7 +256,7 @@ after the callout function returns. .Pp The .Fn callout_init_rw -and the +and the .Fn callout_init_rm fuctions serve the need of using rwlocks and rmlocks in conjunction with callouts. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r254984 - head/share/man/man5
Author: joel (doc committer) Date: Wed Aug 28 05:12:29 2013 New Revision: 254984 URL: http://svnweb.freebsd.org/changeset/base/254984 Log: mdoc fix Modified: head/share/man/man5/periodic.conf.5 Modified: head/share/man/man5/periodic.conf.5 == --- head/share/man/man5/periodic.conf.5 Wed Aug 28 01:10:51 2013 (r254983) +++ head/share/man/man5/periodic.conf.5 Wed Aug 28 05:12:29 2013 (r254984) @@ -1,4 +1,4 @@ -\"- +.\"- .\" Copyright (c) 2000 Brian Somers .\" All rights reserved. .\" ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r255082 - head/share/man/man4
Author: joel (doc committer) Date: Fri Aug 30 20:20:06 2013 New Revision: 255082 URL: http://svnweb.freebsd.org/changeset/base/255082 Log: mdoc: add missing El. Modified: head/share/man/man4/vmx.4 Modified: head/share/man/man4/vmx.4 == --- head/share/man/man4/vmx.4 Fri Aug 30 20:13:33 2013(r255081) +++ head/share/man/man4/vmx.4 Fri Aug 30 20:20:06 2013(r255082) @@ -100,6 +100,7 @@ Number of receive descriptors per ring a The default value is 256. The value must be a multiple of 32, and the maximum is 2048. There are two rings so the actual usage is doubled. +.El .Sh EXAMPLES The following entry must be added to the VMware configuration file to provide the ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk
On Thu, Aug 22, 2013 at 05:58:35PM +0200, Joel Dahl wrote: > On Sun, Aug 18, 2013 at 03:51:25PM -0700, Peter Wemm wrote: > > On 8/18/13 3:42 PM, Jilles Tjoelker wrote: > > > On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: > > >> On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > > >>> On Aug 13, 2013, at 09:15, Peter Wemm wrote: > > >>>> Author: peter > > >>>> Date: Tue Aug 13 07:15:01 2013 > > >>>> New Revision: 254273 > > >>>> URL: http://svnweb.freebsd.org/changeset/base/254273 > > > > > >>>> Log: > > >>>> The iconv in libc did two things - implement the standard APIs, the > > >>>> GNU > > >>>> extensions and also tried to be link time compatible with ports > > >>>> libiconv. > > >>>> This splits that functionality and enables the parts that shouldn't > > >>>> interfere with the port by default. > > > > > >>>> WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. > > >>>> WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, > > >>>> linker > > >>>> symbols and even a stub libiconv.so.3 that are good enough to be able > > >>>> to 'pkg delete -f libiconv' on a running system and reasonably expect > > >>>> it > > >>>> to work. > > > > > >>>> I have tortured many machines over the last few days to try and reduce > > >>>> the possibilities of foot-shooting as much as I can. I've > > >>>> successfully > > >>>> recompiled to enable and disable the libiconv_compat modes, ports > > >>>> that use > > >>>> libiconv alongside system iconv etc. If you don't enable the > > >>>> WITH_LIBICONV_COMPAT switch, they don't share symbol space. > > > > > >>>> This is an extension of behavior on other system. iconv(3) is a > > >>>> standard > > >>>> libc interface and libiconv port expects to be able to run alongside > > >>>> it on > > >>>> systems that have it. > > > > > >>> Unfortunately I expect this will break many ports, when the libiconv > > >>> port is installed. A simple example is the following: > > >> > > > > > >> It also breaks installworld when /usr/src and /usr/obj are NFS exported > > >> read-only. > > > > > > I think it has to do with share/i18n/csmapper and share/i18n/esdb using > > > directories as make targets. This apparently causes these files to be > > > rebuilt at 'make installworld' time, which is always bad but is only > > > detected when /usr/obj is read-only. > > > > > > A hack that works is to enclose the four targets depending on ${SUBDIR} > > > in .if !make(install) . > > > > > > Unfortunately, the Makefiles were written to depend on the directories > > > as make targets fairly deeply, so a real fix is harder. > > > > I was looking at this yesterday, but was tied up with other things. I'll > > take a look at it today after getting a few other things done. It should be > > easy enough to replicate by changing /usr/obj to readonly on test systems. > > FWIW, this is still broken. Again, this is still broken. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk
On Thu, Sep 05, 2013 at 10:13:34AM -0400, John Baldwin wrote: > On Tuesday, September 03, 2013 3:52:41 pm Joel Dahl wrote: > > On Thu, Aug 22, 2013 at 05:58:35PM +0200, Joel Dahl wrote: > > > On Sun, Aug 18, 2013 at 03:51:25PM -0700, Peter Wemm wrote: > > > > On 8/18/13 3:42 PM, Jilles Tjoelker wrote: > > > > > On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: > > > > >> On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > > > > >>> On Aug 13, 2013, at 09:15, Peter Wemm wrote: > > > > >>>> Author: peter > > > > >>>> Date: Tue Aug 13 07:15:01 2013 > > > > >>>> New Revision: 254273 > > > > >>>> URL: http://svnweb.freebsd.org/changeset/base/254273 > > > > > > > > > >>>> Log: > > > > >>>> The iconv in libc did two things - implement the standard APIs, > > > > >>>> the GNU > > > > >>>> extensions and also tried to be link time compatible with ports > > > > >>>> libiconv. > > > > >>>> This splits that functionality and enables the parts that > > > > >>>> shouldn't > > > > >>>> interfere with the port by default. > > > > > > > > > >>>> WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. > > > > >>>> WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc > > > > >>>> API, linker > > > > >>>> symbols and even a stub libiconv.so.3 that are good enough to be > > > > >>>> able > > > > >>>> to 'pkg delete -f libiconv' on a running system and reasonably > > > > >>>> expect it > > > > >>>> to work. > > > > > > > > > >>>> I have tortured many machines over the last few days to try and > > > > >>>> reduce > > > > >>>> the possibilities of foot-shooting as much as I can. I've > > > > >>>> successfully > > > > >>>> recompiled to enable and disable the libiconv_compat modes, ports > > > > >>>> that use > > > > >>>> libiconv alongside system iconv etc. If you don't enable the > > > > >>>> WITH_LIBICONV_COMPAT switch, they don't share symbol space. > > > > > > > > > >>>> This is an extension of behavior on other system. iconv(3) is a > > > > >>>> standard > > > > >>>> libc interface and libiconv port expects to be able to run > > > > >>>> alongside it on > > > > >>>> systems that have it. > > > > > > > > > >>> Unfortunately I expect this will break many ports, when the libiconv > > > > >>> port is installed. A simple example is the following: > > > > >> > > > > > > > > > >> It also breaks installworld when /usr/src and /usr/obj are NFS > > > > >> exported > > > > >> read-only. > > > > > > > > > > I think it has to do with share/i18n/csmapper and share/i18n/esdb > > > > > using > > > > > directories as make targets. This apparently causes these files to be > > > > > rebuilt at 'make installworld' time, which is always bad but is only > > > > > detected when /usr/obj is read-only. > > > > > > > > > > A hack that works is to enclose the four targets depending on > > > > > ${SUBDIR} > > > > > in .if !make(install) . > > > > > > > > > > Unfortunately, the Makefiles were written to depend on the directories > > > > > as make targets fairly deeply, so a real fix is harder. > > > > > > > > I was looking at this yesterday, but was tied up with other things. > > > > I'll > > > > take a look at it today after getting a few other things done. It > > > > should be > > > > easy enough to replicate by changing /usr/obj to readonly on test > > > > systems. > > > > > > FWIW, this is still broken. > > > > Again, this is still broken. > > Yeah, my laptop failed to build cups (required by ghostscript which is > required > by emacs) because of this: Well, that's a different problem. Installworld is still broken on systems with readonly /usr/obj. -- Joel ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r255344 - head/sbin/camcontrol
Author: joel (doc committer) Date: Sat Sep 7 05:44:53 2013 New Revision: 255344 URL: http://svnweb.freebsd.org/changeset/base/255344 Log: - Begin sentence on a new line. - Minor language fixes. Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 == --- head/sbin/camcontrol/camcontrol.8 Sat Sep 7 05:30:34 2013 (r255343) +++ head/sbin/camcontrol/camcontrol.8 Sat Sep 7 05:44:53 2013 (r255344) @@ -662,7 +662,8 @@ request and not expect CRC bytes to be r .Bl -tag -width 17n .It Fl r Ar len Ar fmt Op args This specifies the size of the SMP request, without the CRC bytes, and the -SMP request format. If the format is +SMP request format. +If the format is .Sq - , .Ar len bytes of data will be read from standard input and written as the SMP @@ -1152,7 +1153,8 @@ argument. The number of passes when performing an .Sq overwrite operation. -Valid values are between 1 and 31. The default is 1. +Valid values are between 1 and 31. +The default is 1. .It Fl I When performing an .Sq overwrite @@ -1212,15 +1214,20 @@ will not be asked about the timeout if a command line. .El .It Ic idle -Put ATA device into IDLE state. Optional parameter +Put ATA device into IDLE state. +Optional parameter .Pq Fl t -specifies automatic standby timer value in seconds. Value 0 disables timer. +specifies automatic standby timer value in seconds. +Value 0 disables timer. .It Ic standby -Put ATA device into STANDBY state. Optional parameter +Put ATA device into STANDBY state. +Optional parameter .Pq Fl t -specifies automatic standby timer value in seconds. Value 0 disables timer. +specifies automatic standby timer value in seconds. +Value 0 disables timer. .It Ic sleep -Put ATA device into SLEEP state. Note that the only way get device out of +Put ATA device into SLEEP state. +Note that the only way get device out of this state may be reset. .It Ic security Update or report security settings, using an ATA identify command (0xec). @@ -1246,7 +1253,8 @@ Issuing a secure erase will user data on the device and may take several hours to complete. .Pp When this command is used against an SSD drive all its cells will be marked as -empty, restoring it to factory default write performance. For SSD's this action +empty, restoring it to factory default write performance. +For SSD's this action usually takes just a few seconds. .It Fl f .Pp @@ -1276,8 +1284,10 @@ the devices configured security level. .Pp Specifies which security level to set when issuing a .Fl s Ar pwd -command. The security level determines device behavior when the master -password is used to unlock the device. When the security level is set to high +command. +The security level determines device behavior when the master +password is used to unlock the device. +When the security level is set to high the device requires the unlock command and the master password to unlock. When the security level is set to maximum the device requires a secure erase with the master password to unlock. @@ -1296,7 +1306,8 @@ argument, below. .It Fl s Ar pwd .Pp Password the device (enable security) using the given password for the selected -user. This option can be combined with other options such as +user. +This option can be combined with other options such as .Fl e Em pwd .Pp A master password may be set in a addition to the user password. The purpose of @@ -1335,7 +1346,7 @@ Confirm yes to dangerous options such as without prompting for confirmation. .Pp .El -If the password specified for any action commands doesn't match the configured +If the password specified for any action commands does not match the configured password for the specified user the command will fail. .Pp The password in all cases is limited to 32 characters, longer passwords will @@ -1392,7 +1403,7 @@ call can be made without a power-on rese .It Fl U Ar pwd .Pp Unlock the HPA configuration of the specified device using the given password. -If the password specified doesn't match the password configured via +If the password specified does not match the password configured via .Fl p Ar pwd the command will fail. .Pp @@ -1599,7 +1610,7 @@ This will .Em ERASE ALL data from the device, so backup your data before using! .Pp -This command can be used used against an SSD drive to restoring it to +This command can be used against an SSD drive to restoring it to factory default write performance. .Bd -literal -offset indent camcontrol hpa ada0 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r255526 - head/usr.sbin/daemon
Author: joel (doc committer) Date: Fri Sep 13 19:19:21 2013 New Revision: 255526 URL: http://svnweb.freebsd.org/changeset/base/255526 Log: mdoc: remove EOL whitespace. Approved by: re (blanket) Modified: head/usr.sbin/daemon/daemon.8 Modified: head/usr.sbin/daemon/daemon.8 == --- head/usr.sbin/daemon/daemon.8 Fri Sep 13 19:08:10 2013 (r255525) +++ head/usr.sbin/daemon/daemon.8 Fri Sep 13 19:19:21 2013 (r255526) @@ -73,7 +73,7 @@ regardless of whether the .Fl u option is used or not. .It Fl P Ar supervisor_pidfile -Write the ID of the +Write the ID of the .Nm process into the .Ar supervisor_pidfile @@ -120,7 +120,7 @@ The .Fl P option is useful combined with the .Fl r -option as +option as .Ar supervisor_pidfile contains the ID of the supervisor not the child. This is especially important if you use @@ -128,7 +128,7 @@ not the child. This is especially import in an rc script as the .Fl p option will give you the child's ID to signal when you attempt to -stop the service, causing +stop the service, causing .Nm to restart the child. .Sh EXIT STATUS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r255525 - head/share/man/man9
Author: joel (doc committer) Date: Fri Sep 13 19:08:10 2013 New Revision: 255525 URL: http://svnweb.freebsd.org/changeset/base/255525 Log: mdoc: fix list width. Approved by: re (blanket) Modified: head/share/man/man9/vm_map_find.9 Modified: head/share/man/man9/vm_map_find.9 == --- head/share/man/man9/vm_map_find.9 Fri Sep 13 18:47:58 2013 (r255524) +++ head/share/man/man9/vm_map_find.9 Fri Sep 13 19:08:10 2013 (r255525) @@ -91,7 +91,7 @@ is called to locate a free region of the address at or above .Fa *addr . The following strategies are supported: -.Bl -tag -width Dv VMFS_ALIGNED_SPACE Ns Pq Fa n +.Bl -tag -width "Dv VMFS_ALIGNED_SPACE Ns" .It Dv VMFS_NO_SPACE The mapping will only succeed if there is a free region of the requested length at the given address ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"