]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
13 years agoflock: fix example in man page
Karel Zak [Mon, 29 Aug 2011 09:05:41 +0000 (11:05 +0200)] 
flock: fix example in man page

Reported-by: Pierre Gaston <pierre.gaston@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix debug message
Karel Zak [Fri, 26 Aug 2011 08:49:38 +0000 (10:49 +0200)] 
libmount: fix debug message

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agosfdisk: make some tests conditional to !Linux
Giulio Orsero [Tue, 23 Aug 2011 10:19:38 +0000 (12:19 +0200)] 
sfdisk: make some tests conditional to !Linux

This patch makes the following tests/actions conditional to "!Linux":

- Force cylinders as format instead of MB, even if user asked for MB.
  This solves a bug where if you use "-L -uM", set 1 as starting MB
  and the disk is larger than a certain size (about 1GB) the partition
  would start at sector 1 instead of 1MB due to cyl rounding.

- Warn about partitions not starting/ending on cyl boundaries.

- Check if CHS is ok.

I used the "!Linux" notation since it was already used elsewhere in
the code.

Signed-off-by: Giulio Orsero <giulioo@pobox.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolib: [loopdev.c] correct qsort compare function
Karel Zak [Tue, 23 Aug 2011 10:01:12 +0000 (12:01 +0200)] 
lib: [loopdev.c] correct qsort compare function

Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolosetup: correct qsort compare function
Andreas Schwab [Mon, 22 Aug 2011 21:15:03 +0000 (23:15 +0200)] 
losetup: correct qsort compare function

Return the correct value from comparing the operands.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
13 years agodocs: drop the pluralization item with ngettext() in TODO file
Benno Schulenberg [Sat, 20 Aug 2011 09:33:38 +0000 (11:33 +0200)] 
docs: drop the pluralization item with ngettext() in TODO file

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoscriptreplay: improve synopsis and formatting and wording in man page
Benno Schulenberg [Sat, 20 Aug 2011 09:29:50 +0000 (11:29 +0200)] 
scriptreplay: improve synopsis and formatting and wording in man page

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agopg: normalize formatting of the man page, and tweak some of its wording
Benno Schulenberg [Fri, 19 Aug 2011 20:38:46 +0000 (22:38 +0200)] 
pg: normalize formatting of the man page, and tweak some of its wording

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agouuidd: (man page) alphabetize the options
Benno Schulenberg [Fri, 19 Aug 2011 20:24:02 +0000 (22:24 +0200)] 
uuidd: (man page) alphabetize the options

13 years agouuidd: (man page) repair the snipped up description of option -T
Benno Schulenberg [Fri, 19 Aug 2011 20:14:37 +0000 (22:14 +0200)] 
uuidd: (man page) repair the snipped up description of option -T

Also use lower case and no equals sign for option arguments,
return to using normal formatting macros, and indent the example.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agodocs: uniformize the header and footer lines in man pages
Benno Schulenberg [Thu, 18 Aug 2011 20:18:34 +0000 (22:18 +0200)] 
docs: uniformize the header and footer lines in man pages

Use dates without the day, use the full month name, put "util-linux" in
the lower left corner, and "User Commands" or "System Administration"
at the top center.

Also improve here and there the one-line program description.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agodocs: update ReleaseNotes: fix typo in v2.20-ReleaseNotes
Bernhard Voelker [Thu, 18 Aug 2011 15:28:54 +0000 (17:28 +0200)] 
docs: update ReleaseNotes: fix typo in v2.20-ReleaseNotes

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
13 years agodocs: update ReleaseNotes
Karel Zak [Thu, 18 Aug 2011 09:56:21 +0000 (11:56 +0200)] 
docs: update ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: add --enable-ddate
Karel Zak [Thu, 18 Aug 2011 09:50:27 +0000 (11:50 +0200)] 
build-sys: add --enable-ddate

Don't build this crazy thing by default.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: rename --enable-partx to --disable-partx
Karel Zak [Thu, 18 Aug 2011 09:38:19 +0000 (11:38 +0200)] 
build-sys: rename --enable-partx to --disable-partx

Note the partx command is (and always was) enabled by default on Linux.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoddate: fix St. Tib's Day in other languages
Karel Zak [Thu, 18 Aug 2011 09:15:22 +0000 (11:15 +0200)] 
ddate: fix St. Tib's Day in other languages

old version:
 $ LANG=de_DE.UTF8 ddate 29 2 2008
 St. Tib’s D, 3174 YOLD

new version:
 $ LANG=de_DE.UTF8 ddate 29 2 2008
 St. Tib’s Day, 3174 YOLD

Reported-by: Nick Erdmann <erdmann@date.upb.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: grammar fixes
Davidlohr Bueso [Wed, 17 Aug 2011 15:51:19 +0000 (11:51 -0400)] 
tests: grammar fixes

Trivial change, "Cannot found" to "Cannot find".

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agolosetup: allow to use --verbose with --all
Karel Zak [Wed, 17 Aug 2011 14:40:05 +0000 (16:40 +0200)] 
losetup: allow to use --verbose with --all

Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: release++ (v2.20-rc2) v2.20-rc2
Karel Zak [Tue, 16 Aug 2011 22:55:52 +0000 (00:55 +0200)] 
build-sys: release++ (v2.20-rc2)

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: update v2.20 ReleaseNotes
Karel Zak [Tue, 16 Aug 2011 22:52:32 +0000 (00:52 +0200)] 
docs: update v2.20 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopo: merge changes
Karel Zak [Tue, 16 Aug 2011 22:41:33 +0000 (00:41 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopg: fix write_all() usage
Karel Zak [Tue, 16 Aug 2011 22:30:13 +0000 (00:30 +0200)] 
pg: fix write_all() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomkfs.minix: fix write_all() usage
Karel Zak [Tue, 16 Aug 2011 22:29:39 +0000 (00:29 +0200)] 
mkfs.minix: fix write_all() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agosfdisk: fix typo in man page
Karel Zak [Tue, 16 Aug 2011 21:56:26 +0000 (23:56 +0200)] 
sfdisk: fix typo in man page

Reported-by: markus reichelt <ml@mareichelt.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sk/sfdisk.8

13 years agosfdisk: slice help text into small chunks and improve its wording
Benno Schulenberg [Tue, 16 Aug 2011 18:53:21 +0000 (20:53 +0200)] 
sfdisk: slice help text into small chunks and improve its wording

[kzak@redhat.com: - use fputs(),
                  - use <var> convention]

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agosfdisk: (man page) use comma between short and long option instead of "or"
Benno Schulenberg [Tue, 16 Aug 2011 18:20:19 +0000 (20:20 +0200)] 
sfdisk: (man page) use comma between short and long option instead of "or"

Also fix some erratic formatting, indent the third example too, drop
the trailing % prompt in examples, add a blank line before and after,
and improve the wording here and there.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoblkid: fix typo
Karel Zak [Tue, 16 Aug 2011 15:05:12 +0000 (17:05 +0200)] 
blkid: fix typo

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoswapon: rewrite usage()
Karel Zak [Tue, 16 Aug 2011 12:25:05 +0000 (14:25 +0200)] 
swapon: rewrite usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolosetup: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 12:00:06 +0000 (14:00 +0200)] 
losetup: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agowrite: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:56:17 +0000 (13:56 +0200)] 
write: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agowall: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:53:36 +0000 (13:53 +0200)] 
wall: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agosetterm: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:50:29 +0000 (13:50 +0200)] 
setterm: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopartx: use lowercase in usage()
Karel Zak [Tue, 16 Aug 2011 11:44:31 +0000 (13:44 +0200)] 
partx: use lowercase in usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoscriptreplay: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:43:34 +0000 (13:43 +0200)] 
scriptreplay: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoscript: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:41:06 +0000 (13:41 +0200)] 
script: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomesg: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:39:03 +0000 (13:39 +0200)] 
mesg: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopartx: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:37:05 +0000 (13:37 +0200)] 
partx: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoipcmk: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:34:22 +0000 (13:34 +0200)] 
ipcmk: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoldattach: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:30:26 +0000 (13:30 +0200)] 
ldattach: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolscpu: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:28:02 +0000 (13:28 +0200)] 
lscpu: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomountpoint: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:25:28 +0000 (13:25 +0200)] 
mountpoint: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agortcwake: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:23:30 +0000 (13:23 +0200)] 
rtcwake: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agorenice: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:20:54 +0000 (13:20 +0200)] 
renice: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agounshare: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:16:40 +0000 (13:16 +0200)] 
unshare: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofstrim: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:14:02 +0000 (13:14 +0200)] 
fstrim: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofsfreeze: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:12:08 +0000 (13:12 +0200)] 
fsfreeze: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoflock: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:07:30 +0000 (13:07 +0200)] 
flock: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofallocate: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:04:08 +0000 (13:04 +0200)] 
fallocate: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodmesg: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 11:02:00 +0000 (13:02 +0200)] 
dmesg: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agowhereis: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:55:26 +0000 (12:55 +0200)] 
whereis: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agouuidgen: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:51:32 +0000 (12:51 +0200)] 
uuidgen: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agouuidd: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:48:23 +0000 (12:48 +0200)] 
uuidd: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agorename: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:35:49 +0000 (12:35 +0200)] 
rename: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agonamei: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:33:56 +0000 (12:33 +0200)] 
namei: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomcookie: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:30:26 +0000 (12:30 +0200)] 
mcookie: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolook: cleanup usage()
Karel Zak [Tue, 16 Aug 2011 10:26:56 +0000 (12:26 +0200)] 
look: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agologger: indent usage()
Karel Zak [Tue, 16 Aug 2011 10:23:15 +0000 (12:23 +0200)] 
logger: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agocal: indent usage()
Karel Zak [Tue, 16 Aug 2011 10:16:31 +0000 (12:16 +0200)] 
cal: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoblkid: indent usage()
Karel Zak [Tue, 16 Aug 2011 10:12:46 +0000 (12:12 +0200)] 
blkid: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofsck: use <var> in usage()
Karel Zak [Tue, 16 Aug 2011 10:07:32 +0000 (12:07 +0200)] 
fsck: use <var> in usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agogetopt: use <var> in usage()
Karel Zak [Tue, 16 Aug 2011 10:06:45 +0000 (12:06 +0200)] 
getopt: use <var> in usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agohwclock: use <var> in usage()
Karel Zak [Tue, 16 Aug 2011 10:04:57 +0000 (12:04 +0200)] 
hwclock: use <var> in usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoagetty: clean up usage
Karel Zak [Tue, 16 Aug 2011 09:58:50 +0000 (11:58 +0200)] 
agetty: clean up usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agohwclock: indent usage()
Karel Zak [Tue, 16 Aug 2011 09:32:24 +0000 (11:32 +0200)] 
hwclock: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agogetopt: indent usage()
Karel Zak [Tue, 16 Aug 2011 08:37:19 +0000 (10:37 +0200)] 
getopt: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofsck: indent usage()
Karel Zak [Tue, 16 Aug 2011 08:31:08 +0000 (10:31 +0200)] 
fsck: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agosfdisk: indent usage()
Karel Zak [Tue, 16 Aug 2011 08:28:59 +0000 (10:28 +0200)] 
sfdisk: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoblockdev: indent usage()
Karel Zak [Tue, 16 Aug 2011 08:20:45 +0000 (10:20 +0200)] 
blockdev: indent usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agologger: improve descriptions on man page, sort the options, add -h and -V
Benno Schulenberg [Mon, 15 Aug 2011 12:25:44 +0000 (14:25 +0200)] 
logger: improve descriptions on man page, sort the options, add -h and -V

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agologger: improve, sort and slice up usage() help text
Benno Schulenberg [Mon, 15 Aug 2011 12:04:20 +0000 (14:04 +0200)] 
logger: improve, sort and slice up usage() help text

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agofindmnt: slice up the help text into manageable chunks
Benno Schulenberg [Mon, 15 Aug 2011 11:39:33 +0000 (13:39 +0200)] 
findmnt: slice up the help text into manageable chunks

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agofindmnt: improve spelling, wording and order of help text
Benno Schulenberg [Mon, 15 Aug 2011 11:36:50 +0000 (13:36 +0200)] 
findmnt: improve spelling, wording and order of help text

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agolibmount: cut up mount's help text into manageable chunks
Benno Schulenberg [Mon, 15 Aug 2011 11:09:42 +0000 (13:09 +0200)] 
libmount: cut up mount's help text into manageable chunks

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agopo: do not search /samples/ subdirectories for translatable strings
Benno Schulenberg [Mon, 15 Aug 2011 11:00:18 +0000 (13:00 +0200)] 
po: do not search /samples/ subdirectories for translatable strings

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agohwclock: in man page move --date and --epoch from Functions to Options
Benno Schulenberg [Sat, 13 Aug 2011 20:00:41 +0000 (22:00 +0200)] 
hwclock: in man page move --date and --epoch from Functions to Options

Also improve the synopsis and some wording and a bit of formatting,
add the --help option, and say that --show is the default function.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agohwclock: when cutting up help texts anyway, do it into small chunks
Benno Schulenberg [Sat, 13 Aug 2011 19:02:15 +0000 (21:02 +0200)] 
hwclock: when cutting up help texts anyway, do it into small chunks

Also do it at sensible boundaries, improve some of the wording, and
indent continuation lines for clarity.  Also document -V instead of
-v for --version, to conform to the majority of utilities.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agogetopt: do not bundle help text lines into a single unwieldy chunk
Benno Schulenberg [Sat, 13 Aug 2011 18:11:21 +0000 (20:11 +0200)] 
getopt: do not bundle help text lines into a single unwieldy chunk

This undoes part of commit 283f8f0256655b73071290b92c58d998e883260a.
Help text lines are best gettextized separately, or in small chunks
of three to five lines, which are easily managed by translators.
Bundling text lines when nothing in those texts changed is discarding
translators' work unnecessarily.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agofsck: in man page say that "options take arguments", not vice versa
Benno Schulenberg [Sat, 13 Aug 2011 15:53:09 +0000 (17:53 +0200)] 
fsck: in man page say that "options take arguments", not vice versa

Also spell "filesystem" consistently as a single word, improve some
wordings here and there, and fix a few formatting and spacing issues.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agofsck: in usage() unmark type as optional for the -t option
Benno Schulenberg [Sat, 13 Aug 2011 15:15:42 +0000 (17:15 +0200)] 
fsck: in usage() unmark type as optional for the -t option

Also fix "specity" typo, spell "filesystem" consistently as one word,
swap the wording of one phrase, and use some semicolons for clarity.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agosfdisk: correct '--inside-order' to '--inside-outer' in documentation
Benno Schulenberg [Thu, 11 Aug 2011 19:47:15 +0000 (21:47 +0200)] 
sfdisk: correct '--inside-order' to '--inside-outer' in documentation

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoscript: normalize formatting of the man page
Benno Schulenberg [Wed, 10 Aug 2011 20:37:31 +0000 (22:37 +0200)] 
script: normalize formatting of the man page

Also improve the description of the --timing option,
and discard a then superfluous paragraph.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoscript: indicate that the file argument to --timing is optional
Benno Schulenberg [Wed, 10 Aug 2011 19:21:17 +0000 (21:21 +0200)] 
script: indicate that the file argument to --timing is optional

Also improve some other descriptions in the usage message.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agowrite: remove inconsistent periods from two error messages
Benno Schulenberg [Wed, 10 Aug 2011 19:13:44 +0000 (21:13 +0200)] 
write: remove inconsistent periods from two error messages

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agohexdump: fix "beginnin" typo in usage message
Benno Schulenberg [Wed, 10 Aug 2011 19:12:56 +0000 (21:12 +0200)] 
hexdump: fix "beginnin" typo in usage message

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agotailf: harmonize option argument and explanation in usage message
Benno Schulenberg [Wed, 10 Aug 2011 19:11:45 +0000 (21:11 +0200)] 
tailf: harmonize option argument and explanation in usage message

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoul: remove superfluous return as usage() does not return
Benno Schulenberg [Wed, 10 Aug 2011 19:10:29 +0000 (21:10 +0200)] 
ul: remove superfluous return as usage() does not return

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoul: add -h and -V to the man page; use "file" and lowercase
Benno Schulenberg [Wed, 10 Aug 2011 19:07:13 +0000 (21:07 +0200)] 
ul: add -h and -V to the man page; use "file" and lowercase

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoul: make usage() say that more than one input file is allowed
Benno Schulenberg [Wed, 10 Aug 2011 19:06:07 +0000 (21:06 +0200)] 
ul: make usage() say that more than one input file is allowed

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agoul: in usage() not overwriting but overriding is meant
Benno Schulenberg [Wed, 10 Aug 2011 19:04:42 +0000 (21:04 +0200)] 
ul: in usage() not overwriting but overriding is meant

Also always use lowercase.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agosfdisk: remove inconsistent and wasteful newlines in the _() calls
Benno Schulenberg [Wed, 10 Aug 2011 19:02:10 +0000 (21:02 +0200)] 
sfdisk: remove inconsistent and wasteful newlines in the _() calls

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agosfdisk: improve descriptions of options --no-reread and --show-extended
Benno Schulenberg [Wed, 10 Aug 2011 18:59:49 +0000 (20:59 +0200)] 
sfdisk: improve descriptions of options --no-reread and --show-extended

Also keep the two geometry options (-g and -G) together by moving -A.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agosfdisk: gettextize each warning as a whole
Benno Schulenberg [Wed, 10 Aug 2011 18:58:49 +0000 (20:58 +0200)] 
sfdisk: gettextize each warning as a whole

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agofdisksgilabel: correct the grammar of an error message
Benno Schulenberg [Wed, 10 Aug 2011 18:57:07 +0000 (20:57 +0200)] 
fdisksgilabel: correct the grammar of an error message

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agomkfs.cramfs: clearer error message, "cannot close" instead of "closing"
Benno Schulenberg [Wed, 10 Aug 2011 18:55:48 +0000 (20:55 +0200)] 
mkfs.cramfs: clearer error message, "cannot close" instead of "closing"

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
13 years agopartx: do not print null
Davidlohr Bueso [Fri, 12 Aug 2011 19:36:50 +0000 (15:36 -0400)] 
partx: do not print null

Replace the annoying null output when displaying no partitions in verbose mode.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agogrammar fixes
Davidlohr Bueso [Fri, 12 Aug 2011 18:06:13 +0000 (14:06 -0400)] 
grammar fixes

Correct grammar from "cannot found" to "cannot find".

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agohexdump: fix segfault due to uninitialized memory
Petr Uzel [Wed, 10 Aug 2011 13:32:28 +0000 (15:32 +0200)] 
hexdump: fix segfault due to uninitialized memory

util-linux commit 85bf44b714ab184907eb448eba389218956d6a51
replaced all calls to emalloc() with xmalloc(), whose semantics
is however different - it does not zero allocated memory. This
made hexdump segfault if MALLOC_PERTURB_ was set.

Reported-by: Kyrill Detinov <lazy.kent@opensuse.org>
Addresses: https://bugzilla.novell.com/show_bug.cgi?id=710877

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
13 years agodmesg: avoid mess at the end of dmesg output
Petr Uzel [Wed, 10 Aug 2011 12:16:40 +0000 (14:16 +0200)] 
dmesg: avoid mess at the end of dmesg output

Since util-linux commit a7ee94f2204011f26232ed3133514bf6e0d4a62c,
dmesg incorrectly calculates number of bytes that are remaining in the
buffer in get_next_record(). This could, under specific circumstances,
cause printing mess at the end of dmesg output:

> dmesg | tail
[ 1191.478725] Adding 285488k swap on /root/swapfile.  Priority:-2 extents:15 across:1186612k
[ 1205.588331] Adding 285488k swap on /root/swapfile.  Priority:-2 extents:15 across:1186612k
\xffffffba\xffffffba

Reported-by: Glenn Doig <doiggl@velocitynet.com.au>
Addresses: https://bugzilla.novell.com/show_bug.cgi?id=710417

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
13 years agologger: use simple apostrophe instead of multibyte char in logger.1
Petr Uzel [Wed, 10 Aug 2011 11:46:06 +0000 (13:46 +0200)] 
logger: use simple apostrophe instead of multibyte char in logger.1

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
13 years agolibblkid: befs validate di_br_size !=0 and br_per_di_br != 0
Timo Warns [Tue, 9 Aug 2011 07:40:47 +0000 (09:40 +0200)] 
libblkid: befs validate di_br_size !=0 and br_per_di_br != 0

Validate that di_br_size !=0 and br_per_di_br != 0. If one of them is 0, a
division-by-zero error will be triggered.

Signed-off-by: Timo Warns <warns@pre-sense.de>