svn commit: r355486 - head/sbin/mount_fusefs

2019-12-07 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Dec  7 15:17:00 2019
New Revision: 355486
URL: https://svnweb.freebsd.org/changeset/base/355486

Log:
  Correct a handful of typos/grammos.

Modified:
  head/sbin/mount_fusefs/mount_fusefs.8

Modified: head/sbin/mount_fusefs/mount_fusefs.8
==
--- head/sbin/mount_fusefs/mount_fusefs.8   Sat Dec  7 14:17:56 2019
(r355485)
+++ head/sbin/mount_fusefs/mount_fusefs.8   Sat Dec  7 15:17:00 2019
(r355486)
@@ -60,7 +60,7 @@ Basic usage is to start a fuse daemon on the given
 file.
 In practice, the daemon is assigned a
 .Ar special
-file automatically, which can then be indentified via
+file automatically, which can then be identified via
 .Xr fstat 1 .
 That special file can then be mounted by
 .Nm .
@@ -100,7 +100,7 @@ is an integer it will be interpreted as the number
 of the file descriptor of an already open fuse device
 (used when the Fuse library invokes
 .Nm .
-(See
+See
 .Sx DAEMON MOUNTS ) .
 .Pp
 The options are as follows:
@@ -181,7 +181,7 @@ are supported by the Fuse library.
 One can list these by passing
 .Fl h
 to a Fuse daemon.
-Most of these options only have affect on the behavior of the daemon (that is,
+Most of these options only have effect on the behavior of the daemon (that is,
 their scope is limited to userspace).
 However, there are some which do require in-kernel support.
 Currently the options supported by the kernel are:
@@ -209,7 +209,7 @@ has the same effect as
 This is the recommended usage when you want basic usage
 (eg, run the daemon at a low privilege level but mount it as root).
 .Sh STRICT ACCESS POLICY
-The strict access policy for Fuse filesystems lets one to use the filesystem
+The strict access policy for Fuse filesystems lets one use the filesystem
 only if the filesystem daemon has the same credentials (uid, real uid, gid,
 real gid) as the user.
 .Pp
@@ -222,7 +222,7 @@ This is to shield users from the daemon
 .Dq spying
 on their I/O activities.
 .Pp
-Users might opt to willingly relax strict access policy (as far they
+Users might opt to willingly relax strict access policy (as far as they
 are concerned) by doing their own secondary mount (See
 .Sx SHARED MOUNTS ) .
 .Sh SHARED MOUNTS
@@ -259,13 +259,13 @@ However, given that
 is capable of invoking an arbitrary program, one must be careful when doing 
this.
 .Nm
 is designed in a way such that it makes that easy.
-For this purpose, there are options which disable certain risky features (
-.Fl S
+For this purpose, there are options which disable certain risky features
+.Fl ( S
 and
 .Fl A ) ,
 and command line parsing is done in a flexible way: mixing options and
 non-options is allowed, but processing them stops at the third non-option
-argument (after the first two has been utilized as device and mountpoint).
+argument (after the first two have been utilized as device and mountpoint).
 The rest of the command line specifies the daemon and its arguments.
 (Alternatively, the daemon, the special and the mount path can be
 specified using the respective options.) Note that
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r353120 - head/share/man/man4

2019-10-05 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Oct  5 09:59:00 2019
New Revision: 353120
URL: https://svnweb.freebsd.org/changeset/base/353120

Log:
  Correct grammos and typos.

Modified:
  head/share/man/man4/bridge.4

Modified: head/share/man/man4/bridge.4
==
--- head/share/man/man4/bridge.4Sat Oct  5 09:46:11 2019
(r353119)
+++ head/share/man/man4/bridge.4Sat Oct  5 09:59:00 2019
(r353120)
@@ -87,7 +87,7 @@ This address is guaranteed to be unique
 across all
 .Nm
 interfaces on the local machine.
-Thus you can theoretically have two bridges on the different machines with
+Thus you can theoretically have two bridges on different machines with
 the same link addresses.
 The address can be changed by assigning the desired link address using
 .Xr ifconfig 8 .
@@ -96,17 +96,17 @@ If
 .Xr sysctl 8
 node
 .Va net.link.bridge.inherit_mac
-has non-zero value, newly created bridge will inherit MAC address
-from its first member instead of choosing random link-level address.
-This will provide more predictable bridge MAC without any
+has non-zero value, a newly created bridge will inherit its MAC address
+from its first member instead of choosing a random link-level address.
+This provides a more predictable bridge MAC without any
 additional configuration, but currently this feature is known
 to break some L2 protocols, for example PPPoE that is provided
 by
 .Xr ng_pppoe 4
 and
 .Xr ppp 8 .
-Now this feature is considered as experimental and is turned off
-by-default.
+Currently this feature is considered experimental and is turned off
+by default.
 .Pp
 A bridge can be used to provide several services, such as a simple
 802.11-to-Ethernet bridge for wireless hosts, and traffic isolation.
@@ -127,13 +127,13 @@ in
 .Xr rc.conf 5 .
 .Pp
 The MTU of the first member interface to be added is used as the bridge MTU.
-All additional members are required to have exactly the same value.
+All additional members are required to have exactly the same MTU value.
 .Pp
 The TOE, TSO, TXCSUM and TXCSUM6 capabilities on all interfaces added to the
 bridge are disabled if any of the interfaces doesn't support/enable them.
 The LRO capability is always disabled.
-All the capabilities are restored when the interface is removed from bridge.
-Changing capabilities in run time may cause NIC reinit and the link flap.
+All the capabilities are restored when the interface is removed from the 
bridge.
+Changing capabilities at run-time may cause NIC reinit and a link flap.
 .Pp
 The bridge supports
 .Dq monitor mode ,
@@ -167,7 +167,7 @@ ifconfig_bridge0_ipv6="inet6 auto_linklocal"
 However, the
 .Li AF_INET6
 address family has a concept of scope zone.
-Bridging multiple interfaces change the zone configuration because
+Bridging multiple interfaces changes the zone configuration because
 multiple links are merged to each other and form a new single link
 while the member interfaces still work individually.
 This means each member interface still has a separate link-local scope
@@ -180,10 +180,10 @@ This situation is clearly against the description
 in Section 5,
 RFC 4007.
 Although it works in most cases,
-it can cause some conterintuitive or undesirable behavior in some
-edge cases when both of the
+it can cause some counterintuitive or undesirable behavior in some
+edge cases when both, the
 .Nm
-interface and one of the member interface have an IPv6 address
+interface and one of the member interfaces, have an IPv6 address
 and applications use both of them.
 .Pp
 To prevent this situation,
@@ -209,9 +209,9 @@ Note that
 .Li ACCEPT_RTADV
 and
 .Li AUTO_LINKLOCAL
-interface flag are not enabled by default on
+interface flags are not enabled by default on
 .Nm
-interface even when
+interfaces even when
 .Va net.inet6.ip6.accept_rtadv
 and/or
 .Va net.inet6.ip6.auto_linklocal
@@ -238,9 +238,9 @@ command in
 .Pp
 The bridge can log STP port changes to
 .Xr syslog 3
-by enabling the
+by setting the
 .Va net.link.bridge.log_stp
-variable using
+node using
 .Xr sysctl 8 .
 .Sh PACKET FILTERING
 Packet filtering can be used with any firewall package that hooks in via the
@@ -348,7 +348,7 @@ actual implementation of
 .Nm .
 It is not recommended to rely on the order chosen by the current
 .Nm
-implementation: it can be changed in the future.
+implementation since it may change in the future.
 .Pp
 The previous paragraph is best illustrated with the following
 pictures.
@@ -377,17 +377,17 @@ we will call them
 etc.
 .El
 .Pp
-Then if the MAC address
+If the MAC address
 .Nm nn:nn:nn:nn:nn:nn
-is equal to the
+is equal to
 .Nm xx:xx:xx:xx:xx:xx
-then the filter will see the packet on the interface
+the filter will see the packet on interface
 .Nm ifX
 no matter if there are any other bridge members carrying the same
 MAC address.
 But if the MAC address
 .Nm nn:nn:nn:nn:nn:nn
-is equal to the
+is equal to
 .Nm yy:yy:yy:yy:yy:yy
 then the interface that 

svn commit: r353049 - head

2019-10-03 Thread Jens Schweikhardt
Author: schweikh
Date: Thu Oct  3 14:52:25 2019
New Revision: 353049
URL: https://svnweb.freebsd.org/changeset/base/353049

Log:
  Remove white-space at EOL.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Thu Oct  3 14:41:20 2019(r353048)
+++ head/UPDATING   Thu Oct  3 14:52:25 2019(r353049)
@@ -56,13 +56,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
a non-default value, please tell asom...@freebsd.org why.
 
 20190713:
-   Default permissions on the /var/account/acct file (and copies of it 
-   rotated by periodic daily scripts) are changed from 0644 to 0640 
-   because the file contains sensitive information that should not be 
-   world-readable.  If the /var/account directory must be created by 
-   rc.d/accounting, the mode used is now 0750.  Admins who use the 
-   accounting feature are encouraged to change the mode of an existing 
-   /var/account directory to 0750 or 0700.  
+   Default permissions on the /var/account/acct file (and copies of it
+   rotated by periodic daily scripts) are changed from 0644 to 0640
+   because the file contains sensitive information that should not be
+   world-readable.  If the /var/account directory must be created by
+   rc.d/accounting, the mode used is now 0750.  Admins who use the
+   accounting feature are encouraged to change the mode of an existing
+   /var/account directory to 0750 or 0700.
 
 20190620:
Entropy collection and the /dev/random device are no longer optional
@@ -586,7 +586,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
executables, but is not yet installed as /usr/bin/ld by default.
 
To revert to ld.bfd as the bootstrap linker, in /etc/src.conf set
-WITHOUT_LLD_BOOTSTRAP=yes
+   WITHOUT_LLD_BOOTSTRAP=yes
 
 20180110:
On i386, pmtimer has been removed. Its functionality has been folded
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r347497 - head

2019-05-11 Thread Jens Schweikhardt
Author: schweikh
Date: Sat May 11 19:31:54 2019
New Revision: 347497
URL: https://svnweb.freebsd.org/changeset/base/347497

Log:
  Correct a handful of typos.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Sat May 11 18:31:05 2019(r347496)
+++ head/UPDATING   Sat May 11 19:31:54 2019(r347497)
@@ -92,7 +92,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
The fuse(4) module has been renamed to fusefs(4) for consistency with
other filesystems.  You should update any kld_load="fuse" entries in
/etc/rc.conf, fuse_load="YES" entries in /boot/loader.conf, and
-   "options FUSE" enties in kernel config files.
+   "options FUSE" entries in kernel config files.
 
 20190304:
Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
@@ -156,7 +156,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 
 20181211:
Remove the timed and netdate programs from the base tree.  Setting
-   the time with these deamons has been obsolete for over a decade.
+   the time with these daemons has been obsolete for over a decade.
 
 20181126:
On amd64, arm64 and armv7 (architectures that install LLVM's ld.lld
@@ -219,7 +219,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 
 20181009:
OpenSSL has been updated to version 1.1.1.  This update included
-   additional various API changes througout the base system.  It is
+   additional various API changes throughout the base system.  It is
important to rebuild third-party software after upgrading.  The value
of __FreeBSD_version has been bumped accordingly.
 
@@ -316,13 +316,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 20180719:
ARM64 now have efifb support, if you want to have serial console
on your arm64 board when an screen is connected and the bootloader
-   setup a framebuffer for us to use, just add :
+   setup a frame buffer for us to use, just add :
boot_serial=YES
boot_multicons=YES
in /boot/loader.conf
For Raspberry Pi 3 (RPI) users, this is needed even if you don't have
-   an screen connected as the firmware will setup a framebuffer are that
-   u-boot will expose as an EFI framebuffer.
+   an screen connected as the firmware will setup a frame buffer are that
+   u-boot will expose as an EFI frame buffer.
 
 20180719:
New uid:gid added, ntpd:ntpd (123:123).  Be sure to run mergemaster
@@ -421,7 +421,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 
 20180508:
The nxge(4) driver has been removed.  This driver was for PCI-X 10g
-   cards made by s2io/Neterion.  The company was aquired by Exar and
+   cards made by s2io/Neterion.  The company was acquired by Exar and
no longer sells or supports Ethernet products.  If you have device
nxge in your kernel config file it must be removed.
 
@@ -512,7 +512,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 20180212:
FreeBSD boot loader enhanced with Lua scripting. It's purely opt-in for
now by building WITH_LOADER_LUA and WITHOUT_FORTH in /etc/src.conf.
-   Co-existance for the transition period will come shortly. Booting is a
+   Co-existence for the transition period will come shortly. Booting is a
complex environment and test coverage for Lua-enabled loaders has been
thin, so it would be prudent to assume it might not work and make
provisions for backup boot methods.
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r327882 - head

2018-01-12 Thread Jens Schweikhardt
Author: schweikh
Date: Fri Jan 12 17:33:20 2018
New Revision: 327882
URL: https://svnweb.freebsd.org/changeset/base/327882

Log:
  Correct a couple of typos.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Fri Jan 12 17:21:48 2018(r327881)
+++ head/UPDATING   Fri Jan 12 17:33:20 2018(r327882)
@@ -60,8 +60,8 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
 WITHOUT_LLD_BOOTSTRAP=yes
 
 20180110:
-   On i386, pmtimer has been removed. It's functionality has been folded
-   into apm. It was a nop on ACPI in current for a while now (but was still
+   On i386, pmtimer has been removed. Its functionality has been folded
+   into apm. It was a no-op on ACPI in current for a while now (but was 
still
needed on i386 in FreeBSD 11 and earlier). Users may need to remove it
from kernel config files.
 
@@ -209,7 +209,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
will create the recovery information. If you have a filesystem
created prior to this change and wish to have a recovery block
created for your filesystem, you can do so by running fsck in
-   forground mode (i.e., do not use the -p or -y options). As it
+   foreground mode (i.e., do not use the -p or -y options). As it
starts, fsck will ask ``SAVE DATA TO FIND ALTERNATE SUPERBLOCKS''
to which you should answer yes.
 
@@ -1869,7 +1869,7 @@ COMMON ITEMS:
do an upgrade to the new branch. This is the best-tested upgrade path,
and has the highest probability of being successful.  Please try this
approach if you encounter problems with a major version upgrade.  Since
-   the stable 4.x branch point, one has generally been able to upgade from
+   the stable 4.x branch point, one has generally been able to upgrade from
anywhere in the most recent stable branch to head / current (or even the
last couple of stable branches). See the top of this file when there's
an exception.
@@ -2007,7 +2007,7 @@ COMMON ITEMS:
for potential gotchas.  The -U option is also useful to consider.
See mergemaster(8) for more information.
 
-   [5] Usually this step is a noop.  However, from time to time
+   [5] Usually this step is a no-op.  However, from time to time
you may need to do this if you get unknown user in the following
step.  It never hurts to do it all the time.  You may need to
install a new mergemaster (cd src/usr.sbin/mergemaster && make
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r326896 - head/share/examples/etc

2017-12-16 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Dec 16 12:23:59 2017
New Revision: 326896
URL: https://svnweb.freebsd.org/changeset/base/326896

Log:
  Remove white space at EOL.

Modified:
  head/share/examples/etc/make.conf

Modified: head/share/examples/etc/make.conf
==
--- head/share/examples/etc/make.conf   Sat Dec 16 11:49:30 2017
(r326895)
+++ head/share/examples/etc/make.conf   Sat Dec 16 12:23:59 2017
(r326896)
@@ -59,11 +59,11 @@
 # nonstandard optimization settings
 # before submitting bug reports without patches to the developers.
 #
-# CFLAGS.arch provides a mechanism for applying CFLAGS only when building 
-# the given architecture.  This is useful primarily on a system used for 
-# cross-building, when you have a set of flags to apply to the TARGET_ARCH 
-# being cross-built but don't want those settings applied to building the 
-# cross-tools or other components that run on the build host machine.  
+# CFLAGS.arch provides a mechanism for applying CFLAGS only when building
+# the given architecture.  This is useful primarily on a system used for
+# cross-building, when you have a set of flags to apply to the TARGET_ARCH
+# being cross-built but don't want those settings applied to building the
+# cross-tools or other components that run on the build host machine.
 #
 # CXXFLAGS controls the compiler settings used when compiling C++ code.
 # Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r326895 - head

2017-12-16 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Dec 16 11:49:30 2017
New Revision: 326895
URL: https://svnweb.freebsd.org/changeset/base/326895

Log:
  Correct a typo; remove white space at EOL.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Sat Dec 16 05:22:16 2017(r326894)
+++ head/UPDATING   Sat Dec 16 11:49:30 2017(r326895)
@@ -58,7 +58,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
 20171214:
r362593 broke ZFS + GELI support for reasons unknown. However,
it also broke ZFS support generally, so GELI has been turned off
-   by default as the lessor evil in r326857. If you boot off ZFS and/or
+   by default as the lesser evil in r326857. If you boot off ZFS and/or
GELI, it might not be a good time to update.
 
 20171125:
@@ -280,7 +280,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
full procedure documented below under the heading "To rebuild
everything and install it on the current system."  Specifically,
a reboot is required after installing the new kernel before
-   installing world.  
+   installing world.
 
 20170424:
The NATM framework including the en(4), fatm(4), hatm(4), and
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r316828 - head

2017-04-14 Thread Jens Schweikhardt
Author: schweikh
Date: Fri Apr 14 12:54:39 2017
New Revision: 316828
URL: https://svnweb.freebsd.org/changeset/base/316828

Log:
  Correct minor grammos; minor white-space fixes.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Fri Apr 14 12:03:34 2017(r316827)
+++ head/UPDATING   Fri Apr 14 12:54:39 2017(r316828)
@@ -55,7 +55,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12
As of r316810 for ipfilter, keep frags is no longer assumed when
keep state is specified in a rule. r316810 aligns ipfilter with
documentation in man pages separating keep frags from keep state.
-   This allows keep state to specified without forcing keep frags
+   This allows keep state to be specified without forcing keep frags
and allows keep frags to be specified independently of keep state.
To maintain previous behaviour, also specify keep frags with
keep state (as documented in ipf.conf.5).
@@ -100,7 +100,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12
 20170311:
The old drm (sys/dev/drm/) drivers for i915 and radeon have been
removed as the userland we provide cannot use them. The KMS version
-   (sys/dev/drm2) support the same hardware.
+   (sys/dev/drm2) supports the same hardware.
 
 20170302:
Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
@@ -214,7 +214,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12
 
 20160818:
Remove the openbsd_poll system call.
-__FreeBSD_version has been bumped because of this.
+   __FreeBSD_version has been bumped because of this.
 
 20160622:
The libc stub for the pipe(2) system call has been replaced with
@@ -256,7 +256,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12
packages will be needed.
 
To update an existing self-hosted armv6hf system, you must add
-   TARGET_ARCH=armv6 on the make command line for both the build 
+   TARGET_ARCH=armv6 on the make command line for both the build
and the install steps.
 
 20160510:
@@ -507,7 +507,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12
# pw groupmod video -m $USER
 
 20150806:
-   The menu.rc and loader.rc files will now be replaced during 
+   The menu.rc and loader.rc files will now be replaced during
upgrades. Please migrate local changes to menu.rc.local and
loader.rc.local instead.
 
@@ -1242,7 +1242,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12
behavior in parallel build.
 
 20130429:
-Fix a bug that allows NFS clients to issue READDIR on files.
+   Fix a bug that allows NFS clients to issue READDIR on files.
 
 20130426:
The WITHOUT_IDEA option has been removed because
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r298537 - head/etc/rc.d

2016-04-24 Thread Jens Schweikhardt
Author: schweikh
Date: Sun Apr 24 10:52:59 2016
New Revision: 298537
URL: https://svnweb.freebsd.org/changeset/base/298537

Log:
  Cosmetics: - no need to escape the newline after '|'
 - parenthesize the "case" string for symmetry and improved
   search for matching paren (e.g. with vi's %)

Modified:
  head/etc/rc.d/zvol

Modified: head/etc/rc.d/zvol
==
--- head/etc/rc.d/zvol  Sun Apr 24 09:05:29 2016(r298536)
+++ head/etc/rc.d/zvol  Sun Apr 24 10:52:59 2016(r298537)
@@ -19,10 +19,10 @@ required_modules="zfs"
 zvol_start()
 {
# Enable swap on ZVOLs with property org.freebsd:swap=on.
-   zfs list -H -o org.freebsd:swap,name -t volume | \
+   zfs list -H -o org.freebsd:swap,name -t volume |
while read state name; do
case "${state}" in
-   [oO][nN])
+   ([oO][nN])
swapon /dev/zvol/${name}
;;
esac
@@ -32,10 +32,10 @@ zvol_start()
 zvol_stop()
 {
# Disable swap on ZVOLs with property org.freebsd:swap=on.
-   zfs list -H -o org.freebsd:swap,name -t volume | \
+   zfs list -H -o org.freebsd:swap,name -t volume |
while read state name; do
case "${state}" in
-   [oO][nN])
+   ([oO][nN])
swapoff /dev/zvol/${name}
;;
esac
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r276295 - head/share/man/man5

2014-12-27 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Dec 27 10:28:20 2014
New Revision: 276295
URL: https://svnweb.freebsd.org/changeset/base/276295

Log:
  Correct a typo.

Modified:
  head/share/man/man5/src.conf.5

Modified: head/share/man/man5/src.conf.5
==
--- head/share/man/man5/src.conf.5  Sat Dec 27 08:31:52 2014
(r276294)
+++ head/share/man/man5/src.conf.5  Sat Dec 27 10:28:20 2014
(r276295)
@@ -1143,7 +1143,7 @@ support files (fonts and keymaps).
 Set this to not add warning flags to the compiler invocations.
 Useful as a temporary workaround when code enters the tree
 which triggers warnings in environments that differ from the
-original develoepr.
+original developer.
 .It Va WITHOUT_WIRELESS
 .\ from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 
22:02:26Z sam
 Set to not build programs used for 802.11 wireless networks; especially
___
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: r273142 - head/sys/boot/i386/gptzfsboot

2014-10-15 Thread Jens Schweikhardt
Author: schweikh
Date: Wed Oct 15 17:55:10 2014
New Revision: 273142
URL: https://svnweb.freebsd.org/changeset/base/273142

Log:
  Correct grammos.
  
  MFC after:3 weeks

Modified:
  head/sys/boot/i386/gptzfsboot/gptzfsboot.8

Modified: head/sys/boot/i386/gptzfsboot/gptzfsboot.8
==
--- head/sys/boot/i386/gptzfsboot/gptzfsboot.8  Wed Oct 15 17:36:30 2014
(r273141)
+++ head/sys/boot/i386/gptzfsboot/gptzfsboot.8  Wed Oct 15 17:55:10 2014
(r273142)
@@ -56,7 +56,7 @@ itself was loaded.
 Other disks are probed in BIOS defined order.
 After a disk is probed and
 .Nm
-determines that the whole disk is not a ZFS pool member, then
+determines that the whole disk is not a ZFS pool member, the
 individual partitions are probed in their partition table order.
 Currently GPT and MBR partition schemes are supported.
 With the GPT scheme, only partitions of type
@@ -103,9 +103,9 @@ accepts all the options that
 .Xr boot 8
 supports.
 .Pp
-Filesystem specification and the path to
+The filesystem specification and the path to
 .Xr zfsloader 8
-is different from
+are different from
 .Xr boot 8 .
 The format is
 .Pp
___
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: r260376 - head/sys/amd64/conf

2014-01-06 Thread Jens Schweikhardt
Author: schweikh
Date: Mon Jan  6 17:23:22 2014
New Revision: 260376
URL: http://svnweb.freebsd.org/changeset/base/260376

Log:
  Correct a grammo in a comment; remove white space at EOL.

Modified:
  head/sys/amd64/conf/NOTES

Modified: head/sys/amd64/conf/NOTES
==
--- head/sys/amd64/conf/NOTES   Mon Jan  6 17:16:27 2014(r260375)
+++ head/sys/amd64/conf/NOTES   Mon Jan  6 17:23:22 2014(r260376)
@@ -462,7 +462,7 @@ options SAFE_RNDTEST# enable rndtest s
 #
 # The virtio entry provides a generic bus for use by the device drivers.
 # It must be combined with an interface that communicates with the host.
-# Multiple such interfaces defined by the VirtIO specification. FreeBSD
+# Multiple such interfaces are defined by the VirtIO specification. FreeBSD
 # only has support for PCI. Therefore, virtio_pci must be statically
 # compiled in or loaded as a module for the device drivers to function.
 #
@@ -476,7 +476,7 @@ device  virtio_balloon  # VirtIO Memory B
 device hyperv  # HyperV drivers
 
 # Xen HVM Guest Optimizations
-optionsXENHVM  # Xen HVM kernel infrastructure 
+optionsXENHVM  # Xen HVM kernel infrastructure
 device xenpci  # Xen HVM Hypervisor services driver
 
 #
___
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: r253277 - head/lib/libc/stdio

2013-07-12 Thread Jens Schweikhardt
Author: schweikh
Date: Fri Jul 12 17:37:05 2013
New Revision: 253277
URL: http://svnweb.freebsd.org/changeset/base/253277

Log:
  Typo corrected.

Modified:
  head/lib/libc/stdio/fwrite.c

Modified: head/lib/libc/stdio/fwrite.c
==
--- head/lib/libc/stdio/fwrite.cFri Jul 12 17:22:59 2013
(r253276)
+++ head/lib/libc/stdio/fwrite.cFri Jul 12 17:37:05 2013
(r253277)
@@ -65,7 +65,7 @@ fwrite(const void * __restrict buf, size
/*
 * Check for integer overflow.  As an optimization, first check that
 * at least one of {count, size} is at least 2^16, since if both
-* values are less than that, their product can't possible overflow
+* values are less than that, their product can't possibly overflow
 * (size_t is always at least 32 bits on FreeBSD).
 */
if (((count | size)  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: r252421 - head/sbin/hastd

2013-06-30 Thread Jens Schweikhardt
Author: schweikh
Date: Sun Jun 30 17:59:40 2013
New Revision: 252421
URL: http://svnweb.freebsd.org/changeset/base/252421

Log:
  Correct some grammar.

Modified:
  head/sbin/hastd/hastd.8

Modified: head/sbin/hastd/hastd.8
==
--- head/sbin/hastd/hastd.8 Sun Jun 30 16:02:42 2013(r252420)
+++ head/sbin/hastd/hastd.8 Sun Jun 30 17:59:40 2013(r252421)
@@ -70,18 +70,18 @@ hastd: resource name (role)
 .Pp
 If (and only if)
 .Nm
-operates in primary role for the given resource, corresponding
+operates in primary role for the given resource, a corresponding
 .Pa /dev/hast/name
 disk-like device (GEOM provider) is created.
 File systems and applications can use this provider to send I/O
 requests to.
 Every write, delete and flush operation
 .Dv ( BIO_WRITE , BIO_DELETE , BIO_FLUSH )
-is send to local component and replicated to the remote (secondary) node if it
-is available.
+is sent to the local component and replicated on the remote (secondary) node
+if it is available.
 Read operations
 .Dv ( BIO_READ )
-are handled locally unless I/O error occurs or local version of the data
+are handled locally unless an I/O error occurs or the local version of the data
 is not up-to-date yet (synchronization is in progress).
 .Pp
 The
@@ -100,38 +100,38 @@ The connection between two
 .Nm
 daemons is always initiated from the one running as primary to the one
 running as secondary.
-When primary
+When the primary
 .Nm
-is unable to connect or connection fails, it will try to re-establish
-connection every few seconds.
-Once connection is established, primary
+is unable to connect or the connection fails, it will try to re-establish
+the connection every few seconds.
+Once the connection is established, the primary
 .Nm
 will synchronize every extent that was modified during connection outage
 to the secondary
 .Nm .
 .Pp
-It is possible that in case of connection outage between the nodes
+It is possible that in the case of a connection outage between the nodes the
 .Nm
 primary role for the given resource will be configured on both nodes.
 This in turn leads to incompatible data modifications.
-Such condition is called split-brain and cannot be automatically
+Such a condition is called a split-brain and cannot be automatically
 resolved by the
 .Nm
-daemon as this will lead most likely to data corruption or lost of
+daemon as this will lead most likely to data corruption or loss of
 important changes.
 Even though it cannot be fixed by
 .Nm
-itself, it will be detected and further connection between independently
+itself, it will be detected and a further connection between independently
 modified nodes will not be possible.
-Once this situation is manually resolved by an administrator, resource
+Once this situation is manually resolved by an administrator, the resource
 on one of the nodes can be initialized (erasing local data), which makes
-connection to the remote node possible again.
-Connection of freshly initialized component will trigger full resource
+a connection to the remote node possible again.
+Connection of the freshly initialized component will trigger full resource
 synchronization.
 .Pp
-The
+A
 .Nm
-daemon itself never picks his role up automatically.
+daemon never picks its role automatically.
 The role has to be configured with the
 .Xr hastctl 8
 control utility by additional software like
@@ -139,7 +139,7 @@ control utility by additional software l
 or
 .Nm heartbeat
 that can reliably manage role separation and switch secondary node to
-primary role in case of original primary failure.
+primary role in case of the primary's failure.
 .Pp
 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: r251012 - head/share/man/man4

2013-05-26 Thread Jens Schweikhardt
Author: schweikh
Date: Sun May 26 18:57:59 2013
New Revision: 251012
URL: http://svnweb.freebsd.org/changeset/base/251012

Log:
  s/recieve/receive

Modified:
  head/share/man/man4/bce.4

Modified: head/share/man/man4/bce.4
==
--- head/share/man/man4/bce.4   Sun May 26 18:54:50 2013(r251011)
+++ head/share/man/man4/bce.4   Sun May 26 18:57:59 2013(r251012)
@@ -212,7 +212,7 @@ Enable/Disable strict RX frame size chec
 .It Va hw.bce.hdr_split
 Enable/Disable frame header/payload splitting (default 1).
 .It Va hw.bce.rx_pages
-Set the number of memory pages assigned to recieve packets by the driver.
+Set the number of memory pages assigned to receive packets by the driver.
 Due to alignment issues, this value can only be of the set
 1, 2, 4 or 8 (default 2).
 .It Va hw.bce.tx_pages
___
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: r250935 - stable/9

2013-05-23 Thread Jens Schweikhardt
Author: schweikh
Date: Thu May 23 15:41:09 2013
New Revision: 250935
URL: http://svnweb.freebsd.org/changeset/base/250935

Log:
  Correct typo s/with/wish.
  Spaces to tabs at SOL while I'm here.

Modified:
  stable/9/UPDATING

Modified: stable/9/UPDATING
==
--- stable/9/UPDATING   Thu May 23 14:37:08 2013(r250934)
+++ stable/9/UPDATING   Thu May 23 15:41:09 2013(r250935)
@@ -24,7 +24,7 @@ Items affecting the ports and packages s
Due to the use of the new -l option to install(1) during build
and install, you must take care not to directly set the INSTALL
make variable in your /etc/make.conf, /etc/src.conf, or on the
-   command line.  If you with to use the -C flag for all installs
+   command line.  If you wish to use the -C flag for all installs
you may be able to add INSTALL+=-C to /etc/make.conf or
/etc/src.conf.
 
@@ -68,8 +68,8 @@ Items affecting the ports and packages s
pools. The first two read-only compatible feature flags for ZFS
pools are com.delphix:async_destroy and com.delphix:empty_bpobj.
For more information read the new zpool-features(7) manual page.
-Please refer to the ZFS notes section of this file for information
-on upgrading boot ZFS pools.
+   Please refer to the ZFS notes section of this file for information
+   on upgrading boot ZFS pools.
 
 20121114:
The commit introducing bsd.compiler.mk breaks the traditional
___
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: r247660 - head/etc

2013-03-02 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Mar  2 18:08:03 2013
New Revision: 247660
URL: http://svnweb.freebsd.org/changeset/base/247660

Log:
  Comment cosmetics: capitalize SCSI
  Fix some hard tabs in the wrong place.
  
  MFC after:2 weeks

Modified:
  head/etc/devd.conf

Modified: head/etc/devd.conf
==
--- head/etc/devd.conf  Sat Mar  2 18:07:29 2013(r247659)
+++ head/etc/devd.conf  Sat Mar  2 18:08:03 2013(r247660)
@@ -34,7 +34,7 @@ options {
 # NB: DETACH events are ignored; the kernel should handle all cleanup
 # (routes, arp cache).  Beware of races against immediate create
 # of a device with the same name; e.g.
-#  ifconfig bridge0 destroy; ifconfig bridge0 create
+# ifconfig bridge0 destroy; ifconfig bridge0 create
 #
 notify 0 {
match system  IFNET;
@@ -165,7 +165,7 @@ notify 100 {
 };
 
 #
-# Rescan scsi device-names on attach, but not detach.  However, it is
+# Rescan SCSI device-names on attach, but not detach.  However, it is
 # disabled by default due to reports of problems.
 #
 attach 0 {
@@ -305,13 +305,13 @@ detach 10 {
 # events.  See the ACPI specification for more information about
 # notifies.  Here is the information returned for each subsystem:
 #
-# ACAD:AC line state (0 is offline, 1 is online)
-# Button:  Button pressed (0 for power, 1 for sleep)
-# CMBAT:   ACPI battery events
-# Lid: Lid state (0 is closed, 1 is open)
-# RCTL:Resource limits
+# ACAD:AC line state (0 is offline, 1 is online)
+# Button:  Button pressed (0 for power, 1 for sleep)
+# CMBAT:   ACPI battery events
+# Lid: Lid state (0 is closed, 1 is open)
+# RCTL:Resource limits
 # Suspend, Resume: Suspend and resume notification
-# Thermal: ACPI thermal zone events
+# Thermal: ACPI thermal zone events
 #
 # This example calls a script when the AC state changes, passing the
 # notify value as the first argument.  If the state is 0x00, it might
___
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: r237937 - head/share/man/man9

2012-07-01 Thread Jens Schweikhardt
Author: schweikh
Date: Sun Jul  1 19:40:51 2012
New Revision: 237937
URL: http://svn.freebsd.org/changeset/base/237937

Log:
  Correct a grammo.

Modified:
  head/share/man/man9/cd.9

Modified: head/share/man/man9/cd.9
==
--- head/share/man/man9/cd.9Sun Jul  1 19:07:45 2012(r237936)
+++ head/share/man/man9/cd.9Sun Jul  1 19:40:51 2012(r237937)
@@ -57,7 +57,7 @@ This can lead to drives requiring specia
 The following is a list of quirks that the driver recognize.
 .Bl -tag -width CD_Q_BCD_TRACKS
 .It Dv CD_Q_NO_TOUCH
-This flag tell the driver not to probe the drive at attach time to see if
+This flag tells the driver not to probe the drive at attach time to see if
 there is a disk in the drive and find out what size it is.
 This flag is currently unimplemented in the CAM
 .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: r234101 - head/usr.bin/lex

2012-04-10 Thread Jens Schweikhardt
Author: schweikh
Date: Tue Apr 10 15:29:28 2012
New Revision: 234101
URL: http://svn.freebsd.org/changeset/base/234101

Log:
  Parenthesize args in yyless() and unput() replacement text
  so they are safer when used with expressions.
  
  MFC after:1 week

Modified:
  head/usr.bin/lex/flex.skl

Modified: head/usr.bin/lex/flex.skl
==
--- head/usr.bin/lex/flex.skl   Tue Apr 10 14:29:56 2012(r234100)
+++ head/usr.bin/lex/flex.skl   Tue Apr 10 15:29:28 2012(r234101)
@@ -122,7 +122,7 @@ extern FILE *yyin, *yyout;
 #define EOB_ACT_LAST_MATCH 2
 
 /* The funky do-while in the following #define is used to turn the definition
- * int a single C statement (which needs a semi-colon terminator).  This
+ * into a single C statement (which needs a semi-colon terminator).  This
  * avoids problems with code like:
  *
  * if ( condition_holds )
@@ -143,12 +143,12 @@ extern FILE *yyin, *yyout;
/* Undo effects of setting up yytext. */ \
*yy_cp = yy_hold_char; \
YY_RESTORE_YY_MORE_OFFSET \
-   yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
+   yy_c_buf_p = yy_cp = yy_bp + (n) - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
 
-#define unput(c) yyunput( c, yytext_ptr )
+#define unput(c) yyunput( (c), yytext_ptr )
 
 /* The following is because we cannot portably get our hands on size_t
  * (without autoconf's help, which isn't available because we want
___
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: r230303 - head/sys/modules

2012-01-18 Thread Jens Schweikhardt
Author: schweikh
Date: Wed Jan 18 08:56:26 2012
New Revision: 230303
URL: http://svn.freebsd.org/changeset/base/230303

Log:
  Connect the bktr module(s) to the amd64 build.
  
  MFC after:7 days

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==
--- head/sys/modules/Makefile   Wed Jan 18 07:57:17 2012(r230302)
+++ head/sys/modules/Makefile   Wed Jan 18 08:56:26 2012(r230303)
@@ -564,6 +564,7 @@ _amdsbwd=   amdsbwd
 _amdtemp=  amdtemp
 _arcmsr=   arcmsr
 _asmc= asmc
+_bktr= bktr
 _bxe=  bxe
 _cardbus=  cardbus
 _cbb=  cbb
___
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: r230306 - head/share/examples/etc

2012-01-18 Thread Jens Schweikhardt
Author: schweikh
Date: Wed Jan 18 14:41:26 2012
New Revision: 230306
URL: http://svn.freebsd.org/changeset/base/230306

Log:
  Comment cosmetics: end more sentences with full stops.

Modified:
  head/share/examples/etc/make.conf

Modified: head/share/examples/etc/make.conf
==
--- head/share/examples/etc/make.conf   Wed Jan 18 11:48:07 2012
(r230305)
+++ head/share/examples/etc/make.conf   Wed Jan 18 14:41:26 2012
(r230306)
@@ -91,13 +91,13 @@
 #
 #COPTFLAGS= -O -pipe
 #
-# Compare before install
+# Compare before install.
 #INSTALL=install -C
 #
-# Mtree will follow symlinks
+# Mtree will follow symlinks.
 #MTREE_FOLLOWS_SYMLINKS= -L
 #
-# To enable installing ssh(1) with the setuid bit turned on
+# To enable installing ssh(1) with the setuid bit turned on.
 #ENABLE_SUID_SSH=
 #
 # To enable installing newgrp(1) with the setuid bit turned on.
@@ -117,7 +117,7 @@
 #
 #TRACEROUTE_NO_IPSEC=  # do not build traceroute(8) with IPSEC support
 #
-# To build sys/modules when building the world (our old way of doing things)
+# To build sys/modules when building the world (our old way of doing things).
 #MODULES_WITH_WORLD=   # do not build modules when building kernel
 #
 # The list of modules to build instead of all of them.
@@ -133,7 +133,7 @@
 #
 #
 # Default format for system documentation, depends on your printer.
-# Set this to ascii for simple printers or screen
+# Set this to ascii for simple printers or screen.
 #
 #PRINTERDEVICE=ps
 #
@@ -199,7 +199,7 @@
 #
 # Documentation
 #
-# The list of languages and encodings to build and install
+# The list of languages and encodings to build and install.
 #
 #DOC_LANG= en_US.ISO8859-1 ru_RU.KOI8-R
 #
___
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: r225808 - head/lib/libc/locale

2011-09-27 Thread Jens Schweikhardt
Author: schweikh
Date: Tue Sep 27 17:54:10 2011
New Revision: 225808
URL: http://svn.freebsd.org/changeset/base/225808

Log:
  Fix grammar.
  
  PR:   140457
  Submitted by: jeremyhu AT apple.com
  MFC after:2 weeks

Modified:
  head/lib/libc/locale/isspace.3

Modified: head/lib/libc/locale/isspace.3
==
--- head/lib/libc/locale/isspace.3  Tue Sep 27 17:41:48 2011
(r225807)
+++ head/lib/libc/locale/isspace.3  Tue Sep 27 17:54:10 2011
(r225808)
@@ -47,16 +47,16 @@
 .Sh DESCRIPTION
 The
 .Fn isspace
-function tests for the white-space characters.
+function tests for white-space characters.
 For any locale, this includes the following standard characters:
 .Pp
 .Bl -column \`\et''___ \``\et''___ \``\et''___ \``\et''___ \``\et''___ 
\``\et''___
 .It \``\et''\t``\en''\t``\ev''\t``\ef''\t``\er''\t`` ''
 .El
 .Pp
-In the C locale
+In the C locale,
 .Fn isspace
-successful test is limited to this characters only.
+returns non-zero for these characters only.
 The value of the argument must be representable as an
 .Vt unsigned char
 or the value of
___
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: r211318 - head/usr.sbin/sysinstall

2010-08-14 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Aug 14 21:48:22 2010
New Revision: 211318
URL: http://svn.freebsd.org/changeset/base/211318

Log:
  Correctly spell janice and jimmy as janis and jimi (assuming
  the famous rock stars meant were Miss Joplin and Mr Hendrix.)

Modified:
  head/usr.sbin/sysinstall/config.c

Modified: head/usr.sbin/sysinstall/config.c
==
--- head/usr.sbin/sysinstall/config.c   Sat Aug 14 21:41:33 2010
(r211317)
+++ head/usr.sbin/sysinstall/config.c   Sat Aug 14 21:48:22 2010
(r211318)
@@ -224,38 +224,38 @@ configFstab(dialogMenuItem *self)
 }
 chunk_list[nchunks] = 0;
 chunk_sort();
-
+
 fstab = fopen(/etc/fstab, w);
 if (!fstab) {
msgConfirm(Unable to create a new /etc/fstab file!  Manual 
intervention\n
   will be required.);
return DITEM_FAILURE;
 }
-
+
 check_rootdev(chunk_list, nchunks);
-
+
 /* Go for the burn */
 msgDebug(Generating /etc/fstab file\n);
 fprintf(fstab, # Device\t\tMountpoint\tFStype\tOptions\t\tDump\tPass#\n);
 for (i = 0; i  nchunks; i++)
fprintf(fstab, /dev/%s\t\t%s\t\t%s\t%s\t\t%d\t%d\n, 
name_of(chunk_list[i]), mount_point(chunk_list[i]),
fstype(chunk_list[i]), fstype_short(chunk_list[i]), 
seq_num(chunk_list[i]), seq_num(chunk_list[i]));
-
+
 /* Now look for the CDROMs */
 devs = deviceFind(NULL, DEVICE_TYPE_CDROM);
 cnt = deviceCount(devs);
-
+
 /* Write out the CDROM entries */
 for (i = 0; i  cnt; i++) {
char cdname[10];
-   
+
sprintf(cdname, /cdrom%s, i ? itoa(i) : );
if (Mkdir(cdname))
msgConfirm(Unable to make mount point for: %s, cdname);
else
fprintf(fstab, /dev/%s\t\t%s\t\tcd9660\tro,noauto\t0\t0\n, 
devs[i]-name, cdname);
 }
-
+
 fclose(fstab);
 if (isDebug())
msgDebug(Wrote out /etc/fstab file\n);
@@ -530,7 +530,7 @@ configUsers(dialogMenuItem *self)
 WINDOW *w = savescr();
 
 dialog_clear_norefresh();
-dmenuOpenSimple(MenuUsermgmt, FALSE); 
+dmenuOpenSimple(MenuUsermgmt, FALSE);
 restorescr(w);
 return DITEM_SUCCESS;
 }
@@ -657,10 +657,10 @@ configRouter(dialogMenuItem *self)
 the user intends to install themselves before 
rebooting\n
 the system.  If you don't want any routing 
daemon, choose NO, 1)
   ? DITEM_SUCCESS : DITEM_FAILURE;
-  
+
 if (ret == DITEM_SUCCESS) {
char *cp = variable_get(VAR_ROUTER);
-
+
if (cp  strcmp(cp, NO)) {
variable_set2(VAR_ROUTER_ENABLE, YES, 1);
if (!strcmp(cp, gated)) {
@@ -674,7 +674,7 @@ configRouter(dialogMenuItem *self)
}
if (cp) {
/* Now get the flags, if they chose a router */
-   ret = variable_get_value(VAR_ROUTERFLAGS, 
+   ret = variable_get_value(VAR_ROUTERFLAGS,
 Please Specify the routing daemon 
flags; if you're running routed\n
 then -q is the right choice for nodes 
and -s for gateway hosts.\n, 1)
  ? DITEM_SUCCESS : DITEM_FAILURE;
@@ -747,7 +747,7 @@ configPackages(dialogMenuItem *self)
 tmp = Plist.kids;
 while (tmp) {
 PkgNodePtr tmp2 = tmp-next;
-   
+
 safe_free(tmp);
 tmp = tmp2;
 }
@@ -826,7 +826,7 @@ configNFSServer(dialogMenuItem *self)
vsystem(echo '#and, /a to a network of privileged machines allowed 
to write on it as root.'  /etc/exports);
vsystem(echo '#/usr   huey louie dewie'  
/etc/exports);
vsystem(echo '#/usr/src /usr/obj -ro  calvin hobbes'  
/etc/exports);
-   vsystem(echo '#/home   -alldirs   janice jimmy frank'  
/etc/exports);
+   vsystem(echo '#/home   -alldirs   janis jimi frank'  
/etc/exports);
vsystem(echo '#/a  -maproot=0  -network 10.0.1.0 -mask 
255.255.248.0'  /etc/exports);
vsystem(echo '#'  /etc/exports);
vsystem(echo '# You should replace these lines with your actual 
exported filesystems.'  /etc/exports);
@@ -936,7 +936,7 @@ configLoaderACPI(int disable)
 fclose(ldconf);
 
 return DITEM_SUCCESS;
-} 
+}
 #endif
 
 int
___
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: r203097 - head/lib/librpcsec_gss

2010-01-27 Thread Jens Schweikhardt
Author: schweikh
Date: Wed Jan 27 21:01:21 2010
New Revision: 203097
URL: http://svn.freebsd.org/changeset/base/203097

Log:
  Correct a bunch of typos.

Modified:
  head/lib/librpcsec_gss/rpc_gss_get_versions.3
  head/lib/librpcsec_gss/rpc_gss_max_data_length.3
  head/lib/librpcsec_gss/rpc_gss_seccreate.3
  head/lib/librpcsec_gss/rpc_gss_set_callback.3
  head/lib/librpcsec_gss/rpc_gss_set_svc_name.3
  head/lib/librpcsec_gss/rpcsec_gss.3

Modified: head/lib/librpcsec_gss/rpc_gss_get_versions.3
==
--- head/lib/librpcsec_gss/rpc_gss_get_versions.3   Wed Jan 27 20:32:58 
2010(r203096)
+++ head/lib/librpcsec_gss/rpc_gss_get_versions.3   Wed Jan 27 21:01:21 
2010(r203097)
@@ -43,11 +43,11 @@ Return the highest and lowest supported 
 .It vers_hi
 The value of
 .Fa *vers_hi
-is set to the highest suppored protocol version
+is set to the highest supported protocol version
 .It vers_lo
 The value of
 .Fa *vers_lo
-is set to the lowest suppored protocol version
+is set to the lowest supported protocol version
 .El
 .Sh SEE ALSO
 .Xr rpc 3 ,

Modified: head/lib/librpcsec_gss/rpc_gss_max_data_length.3
==
--- head/lib/librpcsec_gss/rpc_gss_max_data_length.3Wed Jan 27 20:32:58 
2010(r203096)
+++ head/lib/librpcsec_gss/rpc_gss_max_data_length.3Wed Jan 27 21:01:21 
2010(r203097)
@@ -43,7 +43,7 @@ given the current service and QoP settin
 .Sh PARAMETERS
 .Bl -tag
 .It auth
-A handle to a RPCSEC_GSS security ccontext
+A handle to a RPCSEC_GSS security context
 .It max_tp_unit_len
 Maximum packet size of the underlying transport protocol
 .El

Modified: head/lib/librpcsec_gss/rpc_gss_seccreate.3
==
--- head/lib/librpcsec_gss/rpc_gss_seccreate.3  Wed Jan 27 20:32:58 2010
(r203096)
+++ head/lib/librpcsec_gss/rpc_gss_seccreate.3  Wed Jan 27 21:01:21 2010
(r203097)
@@ -75,7 +75,7 @@ RPC headers are integrity protected by a
 .El
 .It qop
 Desiredquality of protection or NULL for the default.
-Available values are lised in /etc/gss/qop
+Available values are listed in /etc/gss/qop
 .It options_req
 Extra security context options to be passed to the underlying GSS-API
 mechanism.

Modified: head/lib/librpcsec_gss/rpc_gss_set_callback.3
==
--- head/lib/librpcsec_gss/rpc_gss_set_callback.3   Wed Jan 27 20:32:58 
2010(r203096)
+++ head/lib/librpcsec_gss/rpc_gss_set_callback.3   Wed Jan 27 21:01:21 
2010(r203097)
@@ -66,11 +66,11 @@ values for service and quality of protec
 .It cb
 A structure containing the RPC program and version for this callback
 and a function which will be called when new contexts are created for
-ths given RPC program and version
+the given RPC program and version
 .It req
 The RPC request using the new context
 .It deleg
-GSS-APi delegated credentials (if any)
+GSS-API delegated credentials (if any)
 .It gss_context
 The GSS-API context
 .It lock

Modified: head/lib/librpcsec_gss/rpc_gss_set_svc_name.3
==
--- head/lib/librpcsec_gss/rpc_gss_set_svc_name.3   Wed Jan 27 20:32:58 
2010(r203096)
+++ head/lib/librpcsec_gss/rpc_gss_set_svc_name.3   Wed Jan 27 21:01:21 
2010(r203097)
@@ -51,7 +51,7 @@ version.
 .It principal
 A string representing the service principal in the form
 .Qq serv...@hostname
-.It mechanim
+.It mechanism
 The name of the security mechanism
 .It req_time
 The time in seconds that the service credentials should remain

Modified: head/lib/librpcsec_gss/rpcsec_gss.3
==
--- head/lib/librpcsec_gss/rpcsec_gss.3 Wed Jan 27 20:32:58 2010
(r203096)
+++ head/lib/librpcsec_gss/rpcsec_gss.3 Wed Jan 27 21:01:21 2010
(r203097)
@@ -43,7 +43,7 @@ subsequent communication between client 
 authenticated.
 Optionally, extra protection can be applied to the connection.
 The integrity service uses checksums to ensure that all data sent by
-a peer is recieved without modification.
+a peer is received without modification.
 The privacy service uses encryption to ensure that no third party can
 access the data for a connection.
 .Pp
@@ -111,7 +111,7 @@ typedef struct {
 } *rpc_gss_principal_t;
 .Ed
 .It Vt rpc_gss_rawcred_t
-This structure is used to access the raw credentions associated with a
+This structure is used to access the raw credentials associated with a
 security context.
 .Bd -literal
 typedef struct {
___
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: r187595 - stable/7/share/man/man7

2009-01-22 Thread Jens Schweikhardt
Author: schweikh
Date: Thu Jan 22 18:43:46 2009
New Revision: 187595
URL: http://svn.freebsd.org/changeset/base/187595

Log:
  MFC: Correct typo.
  
  PR:   docs/129820
  Submitted by: Marius Korsmo marius AT korsmo DOT org

Modified:
  stable/7/share/man/man7/ports.7

Modified: stable/7/share/man/man7/ports.7
==
--- stable/7/share/man/man7/ports.7 Thu Jan 22 17:06:33 2009
(r187594)
+++ stable/7/share/man/man7/ports.7 Thu Jan 22 18:43:46 2009
(r187595)
@@ -322,7 +322,7 @@ To find ports that contain
 in either of the name, path, info
 fields, ignore the rest of the record.
 .Pp
-By default the search is not case-nsensitive.
+By default the search is not case-sensitive.
 In order to make it case-sensitive you can use the
 .Va icase
 variable:
___
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: r187596 - stable/6/share/man/man7

2009-01-22 Thread Jens Schweikhardt
Author: schweikh
Date: Thu Jan 22 18:45:11 2009
New Revision: 187596
URL: http://svn.freebsd.org/changeset/base/187596

Log:
  MFC: Correct typo.
  
  PR: docs/129820
  Submitted by:   Marius Korsmo marius AT korsmo DOT org

Modified:
  stable/6/share/man/man7/ports.7

Modified: stable/6/share/man/man7/ports.7
==
--- stable/6/share/man/man7/ports.7 Thu Jan 22 18:43:46 2009
(r187595)
+++ stable/6/share/man/man7/ports.7 Thu Jan 22 18:45:11 2009
(r187596)
@@ -320,7 +320,7 @@ To find ports that contain
 in either of the name, path, info
 fields, ignore the rest of the record.
 .Pp
-By default the search is not case-nsensitive.
+By default the search is not case-sensitive.
 In order to make it case-sensitive you can use the
 .Va icase
 variable:
___
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: r186296 - head/sys/dev/ata/chipsets

2008-12-18 Thread Jens Schweikhardt
On Thu, Dec 18, 2008 at 10:45:25PM +0100, Niclas Zeising wrote:
...
# With this change, am I able to boot from a harddrive located on a 
# SiS-controller again? Or is that more likely a different issue?
# I have't investigated my issue properly due to lack of time, so I don't 
# know exactly what's wrong, only that it can't find the hard drive properly.
# Regards!
# //Niclas

Is your error message by chance something like this:

Can't work out which disk we are booting from. Guessed BIOS device
0x not found by probes, defaulting to disk0?

This is what I get since about December 5th on 8-CURRENT. I'm in
the process of nailing it down to a single commit.

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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: r186034 - head/share/man/man4

2008-12-13 Thread Jens Schweikhardt
Author: schweikh
Date: Sat Dec 13 09:33:03 2008
New Revision: 186034
URL: http://svn.freebsd.org/changeset/base/186034

Log:
  Typo/rewording.

Modified:
  head/share/man/man4/acpi_aiboost.4

Modified: head/share/man/man4/acpi_aiboost.4
==
--- head/share/man/man4/acpi_aiboost.4  Sat Dec 13 08:32:13 2008
(r186033)
+++ head/share/man/man4/acpi_aiboost.4  Sat Dec 13 09:33:03 2008
(r186034)
@@ -56,8 +56,8 @@ The driver uses ACPI as the backend to f
 descriptions and provides its data via the
 .Xr sysctl 8
 interface, under dev.acpi_aiboost.0 namespace.
-Descriptions for these values are set to sysctl description,
-which can be see with sysctl -d.
+Descriptions for these values are available
+with sysctl -d.
 .Pp
 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: r185769 - head

2008-12-08 Thread Jens Schweikhardt
Author: schweikh
Date: Mon Dec  8 17:12:40 2008
New Revision: 185769
URL: http://svn.freebsd.org/changeset/base/185769

Log:
  White space only: Tabify; white space at EOL removed.

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Mon Dec  8 17:09:02 2008(r185768)
+++ head/UPDATING   Mon Dec  8 17:12:40 2008(r185769)
@@ -38,11 +38,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.
and thereby the code size); consult ath_hal(4) for details.
 
 20081121:
-   __FreeBSD_version 800054 adds memory barriers to 
-   machine/atomic.h, new interfaces to ifnet to facilitate 
+   __FreeBSD_version 800054 adds memory barriers to
+   machine/atomic.h, new interfaces to ifnet to facilitate
multiple hardware transmit queues for cards that support
them, and a lock-less ring-buffer implementation to
-   enable drivers to more efficiently manage queueing of 
+   enable drivers to more efficiently manage queueing of
packets.
 
 20081117:
@@ -287,11 +287,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.
be recompiled; this includes the hal and xorg-server ports.
 
 20070928:
-The caching daemon (cached) was renamed to nscd. nscd.conf
-configuration file should be used instead of cached.conf and
-nscd_enable, nscd_pidfile and nscd_flags options should be used
-instead of cached_enable, cached_pidfile and cached_flags in
-rc.conf.
+   The caching daemon (cached) was renamed to nscd. nscd.conf
+   configuration file should be used instead of cached.conf and
+   nscd_enable, nscd_pidfile and nscd_flags options should be used
+   instead of cached_enable, cached_pidfile and cached_flags in
+   rc.conf.
 
 20070921:
The getfacl(1) utility now prints owning user and group name
@@ -299,7 +299,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.
This is the same behavior as getfacl(1) on Solaris and Linux.
 
 20070704:
-The new IPsec code is now compiled in using the IPSEC option.  The
+   The new IPsec code is now compiled in using the IPSEC option.  The
IPSEC option now requires device crypto be defined in your kernel
configuration.  The FAST_IPSEC kernel option is now deprecated.
 
@@ -602,10 +602,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.
If you have such a file, you need old utility to decrypt it.
 
 20060709:
-   The interface version of the i4b kernel part has changed. So
-   after updating the kernel sources and compiling a new kernel,
-   the i4b user space tools in /usr/src/usr.sbin/i4b must also
-   be rebuilt, and vice versa.
+   The interface version of the i4b kernel part has changed. So
+   after updating the kernel sources and compiling a new kernel,
+   the i4b user space tools in /usr/src/usr.sbin/i4b must also
+   be rebuilt, and vice versa.
 
 20060627:
The XBOX kernel now defaults to the nfe(4) driver instead of
@@ -1071,7 +1071,7 @@ COMMON ITEMS:
reboot into current
do a native rebuild/install as described in the previous section
maybe install compatibility libraries from ports/misc/compat*
-   reboot
+   reboot
 
 
To upgrade in-place from 5.x-stable to current
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to [EMAIL PROTECTED]


svn commit: r185656 - head/share/man/man7

2008-12-05 Thread Jens Schweikhardt
Author: schweikh
Date: Fri Dec  5 22:04:52 2008
New Revision: 185656
URL: http://svn.freebsd.org/changeset/base/185656

Log:
  Correct a typo.

Modified:
  head/share/man/man7/ports.7

Modified: head/share/man/man7/ports.7
==
--- head/share/man/man7/ports.7 Fri Dec  5 21:40:11 2008(r185655)
+++ head/share/man/man7/ports.7 Fri Dec  5 22:04:52 2008(r185656)
@@ -322,7 +322,7 @@ To find ports that contain
 in either of the name, path, info
 fields, ignore the rest of the record.
 .Pp
-By default the search is not case-nsensitive.
+By default the search is not case-sensitive.
 In order to make it case-sensitive you can use the
 .Va icase
 variable:
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to [EMAIL PROTECTED]