docs: fix "behaviour" vs. "behavior"

Sometimes we use "behaviour" and "behavior" in the same text, let's
use "behavior" only everywhere.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1011068
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2014-06-06 09:49:35 +02:00
parent 7556c9443a
commit ee312c654b
12 changed files with 27 additions and 27 deletions

View File

@ -73,8 +73,8 @@ Before sending a patch
* make sure that after patching source files will compile without
errors.
* test that previously existed program behaviour is not
unintentionally alterred. If you alter the behaviour tell about in
* test that previously existed program behavior is not
unintentionally alterred. If you alter the behavior tell about in
commit message.
Coding style

2
NEWS
View File

@ -1197,7 +1197,7 @@ util-linux 2.9b:
* split README into INSTALL and HISTORY
* added a sentence to swapon.8
* behaviour of write on non-ASCII fixed
* behavior of write on non-ASCII fixed
* hwclock adapted to survive a failing mktime()
util-linux 2.9a:

View File

@ -221,7 +221,7 @@ int main(int argc, char **argv)
ino_blocks = (ino_bytes + BFS_BLOCKSIZE - 1) / BFS_BLOCKSIZE;
data_blocks = total_blocks - ino_blocks - 1;
/* mimic the behaviour of SCO's mkfs - maybe this limit is needed */
/* mimic the behavior of SCO's mkfs - maybe this limit is needed */
if (data_blocks < 32)
errx(EXIT_FAILURE,
_("not enough space, need at least %llu blocks"),

View File

@ -9,7 +9,7 @@ terminal-colors.d \- Configure output colorization for various utilities
.SH "SYNOPSIS"
/etc/terminal-colors\&.d/[[name][@term]\&.][type]
.SH "DESCRIPTION"
Files in this directory determine the default behaviour for utilities
Files in this directory determine the default behavior for utilities
when coloring output.
The

View File

@ -40,7 +40,7 @@ static int probe_aix_pt(blkid_probe pr,
* magic number at begin of the disk.
*
* Note, Linux kernel is tring to be smart and AIX signature is ignored when
* there is a valid DOS partitions table. We don't support such behaviour. All
* there is a valid DOS partitions table. We don't support such behavior. All
* fdisk-like programs has to properly wipe the fist sector. Everything other
* is a bug.
*/

View File

@ -627,7 +627,7 @@ static int Context_set_mflags(ContextObjext *self, PyObject *value, void *closur
return mnt_context_set_mflags(self->cxt, flags);
}
/* returns a flags integer (behaviour differs from C API) */
/* returns a flags integer (behavior differs from C API) */
static PyObject *Context_get_mflags(ContextObjext *self)
{
unsigned long flags;
@ -641,7 +641,7 @@ static PyObject *Context_get_mflags(ContextObjext *self)
return result;
}
/* returns a flags integer (behaviour differs from C API) */
/* returns a flags integer (behavior differs from C API) */
static PyObject *Context_get_user_mflags(ContextObjext *self)
{
unsigned long flags;

View File

@ -13,7 +13,7 @@ AC_DEFUN([UL_PKG_STATIC], [
dnl UL_CHECK_LIB(LIBRARY, FUNCTION, [VARSUFFIX = $1]))
dnl
dnl The VARSUFFIX is optional and overrides the default behaviour. For example:
dnl The VARSUFFIX is optional and overrides the default behavior. For example:
dnl UL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX
dnl UL_CHECK_LIB(yyy, func) generates have_yyy and HAVE_LIBYYY
dnl

View File

@ -53,7 +53,7 @@ int main(int argc, char **argv)
if (geteuid())
errx(EXIT_FAILURE,
_("You must be root to set the Ctrl-Alt-Del behaviour"));
_("You must be root to set the Ctrl-Alt-Del behavior"));
if (argc == 2 && !strcmp("hard", argv[1])) {
if (my_reboot(LINUX_REBOOT_CMD_CAD_ON) < 0)

View File

@ -262,7 +262,7 @@ you have to use:
and then the mount options from command line will be appended to
the list of options from
.IR /etc/fstab .
The usual behaviour is that the last option wins if there is more duplicated
The usual behavior is that the last option wins if there is more duplicated
options.
When the
@ -1081,7 +1081,7 @@ but still allow userspace to override it. For more details about the default
system mount options see /proc/mounts.
.TP
.B nostrictatime
Use the kernel's default behaviour for inode access time updates.
Use the kernel's default behavior for inode access time updates.
.TP
.B suid
Allow set-user-identifier or set-group-identifier bits to take
@ -1365,15 +1365,15 @@ Support POSIX Access Control Lists (or not).
.\" requires CONFIG_EXT2_FS_POSIX_ACL
.TP
.BR bsddf | minixdf
Set the behaviour for the
Set the behavior for the
.I statfs
system call. The
.B minixdf
behaviour is to return in the
behavior is to return in the
.I f_blocks
field the total number of blocks of the filesystem, while the
.B bsddf
behaviour (which is the default) is to subtract the overhead blocks
behavior (which is the default) is to subtract the overhead blocks
used by the ext2 filesystem and not available for file storage. Thus
.sp 1
% mount /k \-o minixdf; df /k; umount /k
@ -1411,7 +1411,7 @@ don't have to be supported if ext4 kernel driver is used for ext2 and ext3 files
Print debugging info upon each (re)mount.
.TP
.BR errors= { continue | remount-ro | panic }
Define the behaviour when an error is encountered.
Define the behavior when an error is encountered.
(Either ignore errors and just mark the filesystem erroneous and continue,
or remount the filesystem read-only, or panic and halt the system.)
The default is set in the filesystem superblock, and can be
@ -2091,7 +2091,7 @@ a volume where the
option was previously specified in order to restore normal behavior.
.TP
.BR errors= { continue | remount-ro | panic }
Define the behaviour when an error is encountered.
Define the behavior when an error is encountered.
(Either ignore errors and just mark the filesystem erroneous and continue,
or remount the filesystem read-only, or panic and halt the system.)
.TP
@ -2540,7 +2540,7 @@ The same filesystem type is also used by Mac OS X.
.TP
.BI onerror= value
Set behaviour on error:
Set behavior on error:
.RS
.TP
.B panic
@ -2594,7 +2594,7 @@ disabled.
.TP
.BR shortname= { lower | win95 | winnt | mixed }
Defines the behaviour for creation and display of filenames which fit into
Defines the behavior for creation and display of filenames which fit into
8.3 characters. If a long name for a file exists, it will always be
preferred display. There are four modes:
:
@ -2644,12 +2644,12 @@ doing delayed allocation writeout. Valid values for this
option are page size (typically 4KiB) through to 1GiB,
inclusive, in power-of-2 increments.
.sp
The default behaviour is for dynamic end-of-file
The default behavior is for dynamic end-of-file
preallocation size, which uses a set of heuristics to
optimise the preallocation size based on the current
allocation patterns within the file and the access patterns
to the file. Specifying a fixed allocsize value turns off
the dynamic behaviour.
the dynamic behavior.
.TP
.BR attr2 | noattr2
The options enable/disable an "opportunistic" improvement to
@ -2659,8 +2659,8 @@ attr2 is selected (either when setting or removing extended
attributes) the on-disk superblock feature bit field will be
updated to reflect this format being in use.
.sp
The default behaviour is determined by the on-disk feature
bit indicating that attr2 behaviour is active. If either
The default behavior is determined by the on-disk feature
bit indicating that attr2 behavior is active. If either
mount option it set, then that becomes the new default used
by the filesystem.
.sp
@ -2732,7 +2732,7 @@ If "largeio" specified, a filesystem that was created with a
"swidth" specified will return the "swidth" value (in bytes)
in st_blksize. If the filesystem does not have a "swidth"
specified but does specify an "allocsize" then "allocsize"
(in bytes) will be returned instead. Otherwise the behaviour
(in bytes) will be returned instead. Otherwise the behavior
is the same as if "nolargeio" was specified.
.TP
.B logbufs=value

View File

@ -92,7 +92,7 @@ Assume that the tty is 8-bit clean, hence disable parity detection.
Log the specified user automatically in without asking for a login name and
password. The \-f \fIusername\fP option is added to the \fB/bin/login\fP
command line by default. The \-\-login-options option changes this default
behaviour and then only \\u is replaced by the \fIusername\fP and no other
behavior and then only \\u is replaced by the \fIusername\fP and no other
option is added to the login command line.
.TP
\-c, \-\-noreset

View File

@ -525,7 +525,7 @@ doshell(void) {
/*
* When invoked from within /etc/csh.login, script spawns a csh shell
* that spawns programs that cannot be killed with a SIGTERM. This is
* because csh has a documented behaviour wherein it disables all
* because csh has a documented behavior wherein it disables all
* signals when processing the /etc/csh.* files.
*
* Let's restore the default behavior.

View File

@ -198,7 +198,7 @@ In all other situations these keys will terminate
.BR pg .
.SH "ENVIRONMENT VARIABLES"
The following environment variables
affect the behaviour of
affect the behavior of
.BR pg :
.TP
.B COLUMNS