Index: stable/11/lib/lib80211/lib80211.3 =================================================================== --- stable/11/lib/lib80211/lib80211.3 (revision 319617) +++ stable/11/lib/lib80211/lib80211.3 (revision 319618) @@ -1,119 +1,119 @@ .\" Copyright (c) 2015 Adrian Chadd. .\" 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. .\" .\" $FreeBSD$ .\" .Dd December 15, 2015 .Dt 80211 3 .Os .Sh NAME .Nm lib80211_alloc_regdata , .Nm lib80211_free_regdata , .Nm lib80211_regdomain_readconfig , .Nm lib80211_regdomain_cleanup , .Nm lib80211_regdomain_findbysku , .Nm lib80211_regdomain_findbyname , .Nm lib80211_country_findbycc , .Nm lib80211_country_findbyname -.Nd manage net80211 configuration and regulatory database. +.Nd manage net80211 configuration and regulatory database .Sh LIBRARY .Lb lib80211 .Sh SYNOPSIS .In lib80211/lib80211_regdomain.h .In lib80211/lib80211_ioctl.h .Ft struct regdata * .Fn lib80211_alloc_regdata void .Ft void .Fn lib80211_free_regdata "struct regdata *reg" .Ft int .Fn lib80211_regdomain_readconfig "struct regdata *reg" "const void *config" "size_t size" .Ft void .Fn lib80211_regdomain_cleanup "struct regdata *reg" .Ft const struct regdomain * .Fn lib80211_regdomain_findbysku "const struct regdata *reg" "enumRegDomainCode" .Ft const struct regdomain * .Fn lib80211_regdomain_findbyname "const struct regdata *reg" "const char *sku" .Ft const struct country * .Fn lib80211_country_findbycc "const struct regdata *reg" "enum ISOCountryCode" .Ft const struct country * .Fn lib80211_country_findbyname "const struct regdata *reg" "const char *cc" .Sh DESCRIPTION The .Nm lib80211 library is an interface to the .Xr net80211 4 infrastructure. It implements wrappers around the .Xr net80211 4 ioctl command, as well as providing a convenient API to access the regulatory database. .Pp The .Fn lib80211_alloc_regdata and .Fn lib80211_free_regdata function allocates / frees a regdata structure to store regulatory domain information in. .Pp The .Fn lib80211_regdomain_readconfig and .Fn lib80211_regdomain_cleanup functions read in the regulatory database XML configuration and free it when finished. .Pp The .Fn lib80211_regdomain_findbysku and .Fn lib80211_regdomain_findbyname functions look up a regulatory domain entry by SKU enum and SKU name respectively. .Pp The .Fn lib80211_country_findbycc and .Fn lib80211_country_findbyname functions look up a country information entry by ISO country enum and ISO country code string respectively. .Sh RETURN VALUES The .Fn lib80211_alloc_regdata , .Fn lib80211_regdomain_readconfig , .Fn lib80211_regdomain_findbysku , .Fn lib80211_regdomain_findbyname , .Fn lib80211_country_findbycc , .Fn lib80211_country_findbyname return .Dv NULL upon error. .Sh SEE ALSO .Xr net80211 4 , .Xr ifconfig 8 .Sh HISTORY The .Nm lib80211 library first appeared in .Fx 11.0 . .Sh AUTHORS .An Adrian Chadd Index: stable/11/lib/libc/net/sctp_bindx.3 =================================================================== --- stable/11/lib/libc/net/sctp_bindx.3 (revision 319617) +++ stable/11/lib/libc/net/sctp_bindx.3 (revision 319618) @@ -1,110 +1,110 @@ .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. 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. .\" 3. 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. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. .\" .\" From: @(#)send.2 8.2 (Berkeley) 2/21/94 .\" $FreeBSD$ .\" .Dd June 14, 2015 .Dt SCTP_BINDX 3 .Os .Sh NAME .Nm sctp_bindx -.Nd bind or unbind an SCTP socket to a list of addresses. +.Nd bind or unbind an SCTP socket to a list of addresses .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In sys/types.h .In sys/socket.h .In netinet/sctp.h .Ft int .Fn sctp_bindx "int s" "struct sockaddr *addrs" "int num" "int type" .Sh DESCRIPTION The .Fn sctp_bindx call binds or unbinds a address or a list of addresses to an SCTP endpoint. This allows a user to bind a subset of addresses. The .Fn sctp_bindx call operates similarly to .Fn bind but allows a list of addresses and also allows a bind or an unbind. The argument .Fa s must be a valid SCTP socket descriptor. The argument .Fa addrs is a list of addresses (where the list may be only 1 in length) that the user wishes to bind or unbind to the socket. The argument .Fa type must be one of the following values. .Pp .Dv SCTP_BINDX_ADD_ADDR This value indicates that the listed address(es) need to be added to the endpoint. .Pp .Dv SCTP_BINDX_REM_ADDR This value indicates that the listed address(es) need to be removed from the endpoint. .Pp Note that when a user adds or deletes an address to an association if the dynamic address flag .Va net.inet.sctp.auto_asconf is enabled any associations in the endpoint will attempt to have the address(es) added dynamically to the existing association. .Sh RETURN VALUES The call returns 0 on success and -1 upon failure. .Sh ERRORS The .Fn sctp_bindx function can return the following errors: .Bl -tag -width Er .It Bq Er EINVAL This value is returned if the .Fa type field is not one of the allowed values (see above). .It Bq Er ENOMEM This value is returned if the number of addresses being added causes a memory allocation failure in the call. .It Bq Er EBADF The argument .Fa s is not a valid descriptor. .It Bq Er ENOTSOCK The argument .Fa s is not a socket. .El .Sh SEE ALSO .Xr bind 2 , .Xr sctp 4 Index: stable/11/lib/libc/net/sctp_getassocid.3 =================================================================== --- stable/11/lib/libc/net/sctp_getassocid.3 (revision 319617) +++ stable/11/lib/libc/net/sctp_getassocid.3 (revision 319618) @@ -1,70 +1,70 @@ .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. 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. .\" 3. 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. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. .\" .\" $FreeBSD$ .\" .Dd December 15, 2006 .Dt SCTP_GETASSOCID 3 .Os .Sh NAME .Nm sctp_getassocid -.Nd return an association id for a specified socket address. +.Nd return an association id for a specified socket address .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In sys/types.h .In sys/socket.h .In netinet/sctp.h .Ft sctp_assoc_t .Fn sctp_getassocid "int s" "struct sockaddr *addr" .Sh DESCRIPTION The .Fn sctp_getassocid call attempts to look up the specified socket address .Fa addr and find the respective association identification. .Sh RETURN VALUES The call returns the association id upon success and 0 is returned upon failure. .Sh ERRORS The .Fn sctp_getassocid function can return the following errors: .Bl -tag -width Er .It Bq Er ENOENT The address does not have an association setup to it. .It Bq Er EBADF The argument .Fa s is not a valid descriptor. .It Bq Er ENOTSOCK The argument .Fa s is not a socket. .El .Sh SEE ALSO .Xr sctp 4 Index: stable/11/lib/libc/sys/setfib.2 =================================================================== --- stable/11/lib/libc/sys/setfib.2 (revision 319617) +++ stable/11/lib/libc/sys/setfib.2 (revision 319618) @@ -1,107 +1,107 @@ .\" Copyright (c) 2008 Cisco Systems. All rights reserved. .\" Author: Julian Elischer .\" .\" 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. Neither the name of the Cisco Systems nor the names of its employees .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``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 AUTHORS 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. .\" .\" $FreeBSD$ .\" .Dd March 19, 2012 .Dt SETFIB 2 .Os .Sh NAME .Nm setfib -.Nd set the default FIB (routing table) for the calling process. +.Nd set the default FIB (routing table) for the calling process .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In sys/socket.h .Ft int .Fn setfib "int fib" .Sh DESCRIPTION The .Fn setfib system call sets the associated fib for all sockets opened subsequent to the call, to be that of the argument .Fa fib . The .Fa fib argument must be greater than or equal to 0 and less than the current system maximum which may be retrieved by the .Va net.fibs sysctl. The system maximum is set in the kernel configuration file with .Bd -ragged -offset indent .Cd "options ROUTETABLES=" Ns Em N .Ed .Pp or in .Pa /boot/loader.conf with .Pp .Dl net.fibs= Ns Qq Em N .Pp where .Em N is an integer. This maximum is capped at 65536 due to the implementation storing the fib number in a 16-bit field in the .Xr mbuf 9 packet header, however it is not suggested that one use such a large number as memory is allocated for every FIB regardless of whether it is used, and there are places where all FIBs are iterated over. .Pp The default fib of the process will be applied to all protocol families that support multiple fibs, and ignored by those that do not. The default fib for a process may be overridden for a socket with the use of the .Dv SO_SETFIB socket option. .Sh RETURN VALUES .Rv -std setfib .Sh ERRORS The .Fn setfib system call will fail and no action will be taken and return .Er EINVAL if the .Fa fib argument is greater than the current system maximum. .Sh SEE ALSO .Xr setfib 1 , .Xr setsockopt 2 .Sh STANDARDS The .Fn setfib system call is a .Fx extension however similar extensions have been added to many other .Ux style kernels. .Sh HISTORY The .Fn setfib function appeared in .Fx 7.1 . Index: stable/11/lib/libpmc/pmc_event_names_of_class.3 =================================================================== --- stable/11/lib/libpmc/pmc_event_names_of_class.3 (revision 319617) +++ stable/11/lib/libpmc/pmc_event_names_of_class.3 (revision 319618) @@ -1,75 +1,75 @@ .\" Copyright (c) 2007 Joseph Koshy. 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. .\" .\" $FreeBSD$ .\" .Dd November 23, 2007 .Dt PMC_EVENT_NAMES_OF_CLASS 3 .Os .Sh NAME .Nm pmc_event_names_of_class -.Nd return a list of event names supported by a PMC class. +.Nd return a list of event names supported by a PMC class .Sh LIBRARY .Lb libpmc .Sh SYNOPSIS .In pmc.h .Ft int .Fo pmc_event_names_of_class .Fa "enum pmc_class cl" .Fa "const char ***eventnames" .Fa "int *nevents" .Fc .Sh DESCRIPTION Function .Fn pmc_event_names_of_class retrieves the hardware event names supported by the class of PMC hardware specified by argument .Fa cl . .Pp It returns an array of .Vt "const char *" pointers to names of events supported by the specified class of PMC hardware. The location pointed to by argument .Fa nevents is set to the number of event names returned. .Pp The returned array is allocated using .Xr malloc 3 . .Sh RETURN VALUES .Rv -std pmc_event_names_of_class .Sh ERRORS A call to .Fn pmc_event_names_of_class may fail with the following errors: .Bl -tag -width Er .It Bq Er EINVAL Argument .Fa cl was invalid. .It Bq Er ENOMEM Allocation of a memory area to hold the result failed. .El .Sh SEE ALSO .Xr pmc 3 , .Xr hwpmc 4 Index: stable/11/share/man/man4/mmcsd.4 =================================================================== --- stable/11/share/man/man4/mmcsd.4 (revision 319617) +++ stable/11/share/man/man4/mmcsd.4 (revision 319618) @@ -1,48 +1,48 @@ .\" .\" Copyright (c) 2007 M. Warner Losh .\" 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. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission. .\" .\" 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. .\" .\" $FreeBSD$ .\" .Dd October 22, 2008 .Dt MMCSD 4 .Os .Sh NAME .Nm mmcsd -.Nd MMC and SD memory card driver. +.Nd MMC and SD memory card driver .Sh SYNOPSIS .Cd device mmcsd .Sh DESCRIPTION The .Nm driver implements direct access block device for MMC and SD memory cards. .Sh SEE ALSO .Xr at91_mci 4 , .Xr mmc 4 , .Xr sdhci 4 .Rs .%T "SD Specifications, Part 1, Physical Layer, Simplified Specification" .Re .Rs .%T "The MultiMediaCard System Specification" .Re Index: stable/11/share/man/man7/growfs.7 =================================================================== --- stable/11/share/man/man7/growfs.7 (revision 319617) +++ stable/11/share/man/man7/growfs.7 (revision 319618) @@ -1,64 +1,64 @@ .\" Copyright 2014 John-Mark Gurney .\" 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. .\" .\" $FreeBSD$ .\" .Dd November 1, 2014 .Dt GROWFS 7 .Os .Sh NAME .Nm growfs -.Nd start up script to grow the root file-system. +.Nd start up script to grow the root file-system .Sh DESCRIPTION The following options in .Pa /etc/rc.conf control the behavior of .Nm : .Bl -tag -width ".Va growfs_enable" -offset indent .It Va growfs_enable .Pq Dq Li NO If set to .Dq Li YES , the first time the machine boots, the root file-system will be automatically expanded, if possible, to fill up all available space after it. .El .Pp To expand the root file-system with-out rebooting, run the following command: .Dl % /etc/rc.d/growfs onestart .Sh IMPLEMENTATION NOTES The script requires that .Pa awk be present and on the path. This usually means that .Pa /usr should be mounted prior to running the script. .Sh FILES .Pa /etc/rc.conf .Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr rc.conf 5 .Sh AUTHORS The man page and script were written by .An John-Mark Gurney Aq Mt jmg@FreeBSD.org . Index: stable/11/usr.sbin/pmcstudy/pmcstudy.8 =================================================================== --- stable/11/usr.sbin/pmcstudy/pmcstudy.8 (revision 319617) +++ stable/11/usr.sbin/pmcstudy/pmcstudy.8 (revision 319618) @@ -1,145 +1,145 @@ .\" Copyright (c) 2015 .\" Netflix Inc. .\" .\" 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 REGENTS 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 REGENTS 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. .\" .\" $FreeBSD$ .\" .Dd Mar 26, 2015 .Dt PMCSTUDY 8 .Os .Sh NAME .Nm pmcstudy -.Nd Perform various studies on a system's overall PMCs. +.Nd Perform various studies on a system's overall PMCs .Sh SYNOPSIS .Nm .Oo Fl i Ar inputfile | Fl A | Fl T | Fl v | Fl m Ar max | Fl e exp | Fl Ar E | Fl h | fl H Oc .Nm .Fl i Ar inputfile .Nm .Fl v .Nm .Fl m Ar max .Nm .Fl e Ar exp-name .Nm .Fl E Ar your-expr .Nm .Fl h .Nm .Fl H .Nm .Fl T .Sh DESCRIPTION The .Nm program is designed to run various tests against your systems performance. There are roughly 20-22 canned tests that setup specific PMCs and then run various formulas on the output information. These formulas can be found in Intel documentation "Using Intel Vtune amplifier xe on NNN Generation Intel Core Processors". The NNN is either 2nd, 3rd, 4th or 5th generation i.e., Sandy Bridge, Ivy Bridge, Haswell and Broadwell. Currently the program only works on these four Intel processor types. .Sh OPTIONS The following options are available: .Bl -tag -width indent .It Fl i Ar filename If this option is supplied, instead of running a .Xr pmcstat 8 command to collect the current running information the filename will be read in as input instead. .It Fl H This option will display the complete list of canned formulas that can be run including their names which can be input to the .Fl e option. .It Fl e Ar name Execute the canned test .Ar name on the running kernel. .It Fl h If you add this option to the .Fl e option the test will not execute but instead give you a small description of the test that would run. .It Fl T This option will execute a test of every PMC to validate that they are working on your system. If a PMC does not show up in this test chances are the kernel .Xr hwpmc 4 driver needs updating with new PMC information. .It Fl m Ar num This option can restrict the number of one second samples that will be collected by your system when running a test (it bounds the time the test will run). Without this option the test will run for 1024 seconds or until the user types ctrl-c. .It Fl v The verbose option adds debugging output to the command. .It Fl E Ar expression This option can be used by those that have their own ideas on what formulas they want to run. The expression given to the .Fl E option is a "formula". The formula can declare directly the PMCs by name or you can use an abbreviation %NNN. To find out the abbreviations on your system you may run the .Fl L option. An example of a formula of your own might be .Fl E "FP_ASSIST.ANY / INST_RETIRED.ANY_P" or using the abbreviations on a Haswell machine you would type .Fl E " %176 / %150". You must have spaces between each entry and you may use parentheses to prioritize the operators. Add (+), Subtract (-), Divide (/) and Multiplication (*) are supported. You may also introduce constant numbers. For example you can do a standard efficiency test like .Fl E "UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD_P)". .It Fl L This option will list all known PMCs and their abbreviation (%NNN). .It Fl A Run all canned tests. .El .Sh SEE ALSO .Xr pmc 3 , .Xr pmclog 3 , .Xr hwpmc 4 , .Xr pmcstat 8 .Sh HISTORY The .Nm utility first appeared in .Fx 11.0. .Sh AUTHORS .An Randall Stewart Aq Mt rrs@FreeBSD.org Index: stable/11 =================================================================== --- stable/11 (revision 319617) +++ stable/11 (revision 319618) Property changes on: stable/11 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r318816