Commit Graph

2102 Commits

Author SHA1 Message Date
Benno Schulenberg 83ff3782a3 mkswap: tweak the man page
Note that option -v0 is obsolete, and remove the now unneeded comment
about new-style swap areas.  Further doublespace sentences, add some
commas and articles, and alphabetize the options.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-30 12:51:36 +02:00
Benno Schulenberg a1939d7080 fdisk: improve the description of -c and -u options on man page
Also doublespace sentences, hyphenate compound adjectives, alphabetize
the options (except for -CHS), and further tweak some descriptions.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-30 12:51:36 +02:00
Francesco Cosoleto 2f8f138883 lscpu: replace LC_MESSAGES with LC_ALL in setlocate()
LC_CTYPE is necessary to print correctly some non English characters,
set LC_ALL for the sake of brevity.

Example:
    $ LANG=fr_FR lscpu -p | head -n 1
\# La suite est en format analysable, transmissible ? d'autres

instead of:
\# La suite est en format analysable, transmissible à d'autres

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-30 12:51:35 +02:00
Francesco Cosoleto 51e1424225 ipcrm: remove redundant message in case of invalid option
This leaves getopt() only to print a similar error message on invalid
options.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-30 12:51:35 +02:00
Francesco Cosoleto 4163ab187d ipcs: advise translators a different output format
Shared memory status output format need changes but there are backward
compatibility problems. This is a invite to apply in translations the
same style used for the rest of the summaries as well as for the limits
reported by -l option.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-30 12:51:35 +02:00
Francesco Cosoleto 7386e53ffe fsck: fix typo in fsck.8
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-30 12:51:35 +02:00
Francesco Cosoleto e0a6948b59 lscpu: fix typo in lscpu.1
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-30 12:51:35 +02:00
Francesco Cosoleto 4a939e047c lscpu: gettextize "CPU(s)"
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-30 12:51:35 +02:00
Petr Uzel 096269c44d mount: fix memory leak
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2010-06-30 12:51:31 +02:00
Petr Uzel a636313c87 mount: fix typos in mount.8
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2010-06-30 12:51:08 +02:00
Karel Zak 36e0066b8f docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-30 10:38:31 +02:00
Karel Zak 807418986e cfdisk: fix warning: implicit declaration of function ‘wcwidth’
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-21 10:01:26 +02:00
Karel Zak 5f0b4c37a0 build-sys: release++ (v2.18-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-18 12:25:55 +02:00
Karel Zak 74c73b11db docs: update v2.18 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-18 12:15:36 +02:00
Karel Zak bd52b1551f po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-18 12:08:43 +02:00
Jakub Bogusz 85469a29e3 po: update pl.po (from translationproject.org) 2010-06-18 11:27:16 +02:00
Benno Schulenberg 0253c368d1 po: update nl.po (from translationproject.org) 2010-06-18 11:27:16 +02:00
Petr Pisar 1afd63f5b0 po: update cs.po (from translationproject.org) 2010-06-18 11:27:15 +02:00
Karel Zak c4c20b3ad7 mkswap: add a note that -p is uncecessary
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-17 11:15:40 +02:00
Karel Zak 630161f271 mkswap: don't use too small user-specified page size
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=601552
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-17 10:57:47 +02:00
Karel Zak 3e16599a34 mkswap: use calloc(), remove obsolete v1 header usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-17 10:29:33 +02:00
Karel Zak 770af396fa wipefs: fix memory leaks
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16 23:41:33 +02:00
Karel Zak 9683e327ed wipefs: fix mem usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16 23:40:46 +02:00
Karel Zak 7d2a8dd00d lscpu: fix CPU_EQUAL_S macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16 22:50:42 +02:00
Karel Zak 5c7cd9ab50 tests: update fdisk tests
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16 11:04:39 +02:00
Karel Zak 278f63c0e6 fdisk: extend -c and -u options to support old DOS stuff
The DOS mode and cylinders as display units are disabled by default
now. For users who need old DOS behavior is it necessary to extend
-c (compatibility) and -u (units) command line options. The change is
backwardly compatible (so people who already uses -u and -c are not
affected with this change). New form:

 -c[=<mode>]   where <mode> is 'dos' or 'nondos' (default)
 -u[=<units>]  where <units> is 'cylinders' or 'sectors' (default)

For example old deprecated DOS behavior could be enabled by:

  fdisk -u=cylinders -c=dos /dev/sda

Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16 10:52:20 +02:00
Karel Zak d1f5a55949 cal: remove unnecessary info from man page
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=604238
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16 09:16:00 +02:00
Karel Zak 0b1f769f28 fdisk: disable DOS mode and cylinders by default
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-15 13:13:05 +02:00
Benno Schulenberg d8b25f6254 lscpu: fix typo, "faild" to "failed"
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-15 12:55:17 +02:00
Benno Schulenberg 40fe88d097 fdisk: remove erroneous <size> argument from -u option in help text
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-15 12:54:25 +02:00
Benno Schulenberg 4911d2bc4f fdisk: untangle the reporting of deprecated mode and unit
Translatable messages should not be split into parts that are
conditionally concatenated.  Preferably they should each form
a complete message.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-15 12:53:48 +02:00
Benno Schulenberg 5f71997106 chrt: add --verbose to man page, correct -V for --version, alphabetize
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-15 12:34:09 +02:00
Benno Schulenberg aaf6349f7f chrt: slice help text into manageable chunks for translators
[kzak@redhat.com: - clean up usage() function]

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-15 12:31:21 +02:00
Benno Schulenberg a9a3e5f2f9 chrt: change two messages into four translatable sentences
In several languages the translations for "current" and "new" will
have to be slightly different depending on whether they apply to
"policy" or "priority".  (As a general rule, translatable messages
should be full sentences, and not partial ones with optional words
filled in via %s.)

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-15 12:23:47 +02:00
Karel Zak b7481d6f74 mount: use %u for uid_t and gid_t
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-14 18:42:58 +02:00
Karel Zak 8e350e48c1 textual: fix typos
Reported-by: Petr Pisar <petr.pisar@atlas.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-14 18:15:29 +02:00
Karel Zak 67490655b4 mount: add notes about -o remount,ro,bind to mount.8
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-14 12:47:17 +02:00
Karel Zak e67690f35a lscpu: add CPU_EQUAL_S definition for old/obscure libc
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-14 11:25:31 +02:00
Benno Schulenberg 4e6bd74c27 findmnt: ungettextize the directions and fix spelling
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-14 11:20:11 +02:00
Benno Schulenberg e6b0611b46 messages: gettextize a few skipped or forgotten ones
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-14 11:19:19 +02:00
Benno Schulenberg d0bb6987a8 textual: fix typos, and rephrase some things for clarity
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-14 11:17:00 +02:00
Benno Schulenberg 333ec74962 uuidd: spell the plural of "UUID" consistently as "UUIDs"
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-06-14 11:13:51 +02:00
Samuel Thibault 4951f9b38f build-sys: minor changes for GNU/Hurd
Here is a patch to fix the build on GNU/Hurd.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2010-06-14 11:10:02 +02:00
Karel Zak bc77da94f7 mount: don't create loopdev for MS_BIND
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=602573
Reported-by: Adam Tkac <atkac@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-14 09:35:28 +02:00
Karel Zak 217a2cd746 docs: fix umount --fake note in ReleaseNotes
Reported-By: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-08 14:13:46 +02:00
Karel Zak eae4075f0f build-sys: release++ (v2.18-rc1)
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-08 11:52:42 +02:00
Karel Zak 0201cef1c2 libmount: don't build tests by default
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-08 11:46:06 +02:00
Karel Zak 8e36876187 build-sys: cleanup lib{mount,blkid} building
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-08 10:55:24 +02:00
Karel Zak ce3c344046 docs: update ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-07 17:06:07 +02:00
Karel Zak 2c8c70f254 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-07 14:19:41 +02:00