Commit Graph

3575 Commits

Author SHA1 Message Date
Karel Zak 4ff826f68a whereis: search in path for binaries only
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-30 11:44:15 +02:00
Davidlohr Bueso f51be85982 whereis: search in path
Currently this tool only uses the hardcoded paths for looking up strings for
binaries, man pages and source code.  Adding directories found in $PATH makes a
nice little enhancement to support a wider range of lookups.

This feature was also discussed previously here
(http://www.spinics.net/lists/util-linux-ng/msg03429.html)

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-08-30 11:16:43 +02:00
Francesco Cosoleto 41fc17521d tests: update fdisk and blkid MD tests
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-08-30 10:55:13 +02:00
Francesco Cosoleto d0bcd9b322 tests: add ts_fdisk_clean function to make fdisk output comparable
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-08-30 10:54:37 +02:00
Francesco Cosoleto 9777759ad6 fdisk: print welcome message
This adds a welcome message with util-linux version number, information
about fdisk behaviour that doesn't write to disk after a command (unlike
gparted) and a warning about possible data loss.

The message appears just before the first command prompt.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-08-30 10:54:37 +02:00
Francesco Cosoleto a75ba1319e fdisk: print partition deleted message
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-08-30 10:53:39 +02:00
Francesco Cosoleto 20aa2570e8 fdisk: print a message with size and type of created partition
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-08-30 10:53:22 +02:00
Karel Zak 484881ebde build-sys: don't install ru/ddate.1 if ddate disabled
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-30 09:46:10 +02:00
Karel Zak 60a5833b64 build-sys: release++ v2.20
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 13:03:13 +02:00
Karel Zak 79e1e38b9f docs: update v2.20 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 13:03:03 +02:00
Karel Zak 9f4b8463bb docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 12:29:46 +02:00
Karel Zak eaafb8f363 po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 12:23:30 +02:00
Jakub Bogusz 006a5ecfbf po: update pl.po (from translationproject.org) 2011-08-29 12:13:10 +02:00
Benno Schulenberg 2f94f13cf4 po: update nl.po (from translationproject.org) 2011-08-29 12:13:10 +02:00
Takeshi Hamasaki 9841626a97 po: update ja.po (from translationproject.org) 2011-08-29 12:13:10 +02:00
Philipp Thomas 5853a96b8e po: update de.po (from translationproject.org) 2011-08-29 12:13:10 +02:00
Petr Písař 46e1a17e1b po: update cs.po (from translationproject.org) 2011-08-29 12:13:10 +02:00
Karel Zak 9830eca533 lsblk: add note to the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 11:34:10 +02:00
Benno Schulenberg 449a215fc5 docs: tweak the formatting and wording of several disk-utils man pages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:47 +02:00
Benno Schulenberg 530395f2d5 ionice: adjust synopsis and wording and formatting on the man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:45 +02:00
Benno Schulenberg c5f29f2382 look: adjust the formatting and some wording of the man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:44 +02:00
Benno Schulenberg 6e7a408dda vipw: (man page) uniformize header and footer, tweak the formatting
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:43 +02:00
Benno Schulenberg 5bcd986ed3 docs: tweak the formatting and wording of some text-utils man pages
Highlight the program name, use proper lowercase, remove
unneeded commas and articles, and add helpful hyphenation.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:41 +02:00
Benno Schulenberg 62246430f3 docs: also uniformize headers and footers of troff-formatted man pages
Add two spaces as the required third argument of the date line to make
the specified date get used instead of today's date.  Incorporate the
section number into the page title, then use an empty section number,
so that specifying an explicit section/volume name will work.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:39 +02:00
Ben Hutchings 70eebc40e2 setarch: add --uname-2.6 option for personality flag UNAME26
[kzak@redhat.com: - minor change in usage()]

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 11:16:25 +02:00
Karel Zak 36908f176f flock: fix example in man page
Reported-by: Pierre Gaston <pierre.gaston@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 11:05:41 +02:00
Karel Zak 581a4ad92a libmount: fix debug message
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-26 10:49:38 +02:00
Giulio Orsero cc393e381d 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>
2011-08-23 12:19:38 +02:00
Karel Zak 33487796e7 lib: [loopdev.c] correct qsort compare function
Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-23 12:01:12 +02:00
Andreas Schwab 3c55d914df losetup: correct qsort compare function
Return the correct value from comparing the operands.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
2011-08-23 11:58:44 +02:00
Benno Schulenberg c151931666 docs: drop the pluralization item with ngettext() in TODO file
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-22 10:39:49 +02:00
Benno Schulenberg 557db9cd05 scriptreplay: improve synopsis and formatting and wording in man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-22 10:39:28 +02:00
Benno Schulenberg b63f38144a pg: normalize formatting of the man page, and tweak some of its wording
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-22 10:39:27 +02:00
Benno Schulenberg c48d969b37 uuidd: (man page) alphabetize the options 2011-08-22 10:39:25 +02:00
Benno Schulenberg 50a4a16267 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>
2011-08-22 10:39:23 +02:00
Benno Schulenberg 232dc924c4 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>
2011-08-22 10:39:21 +02:00
Bernhard Voelker ad1a97f824 docs: update ReleaseNotes: fix typo in v2.20-ReleaseNotes
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2011-08-22 10:36:41 +02:00
Karel Zak 20e3a849d4 docs: update ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-18 11:56:21 +02:00
Karel Zak 4a8962f3a7 build-sys: add --enable-ddate
Don't build this crazy thing by default.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-18 11:50:27 +02:00
Karel Zak 2023ccc4dd 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>
2011-08-18 11:38:19 +02:00
Karel Zak 1a29caa317 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>
2011-08-18 11:16:19 +02:00
Davidlohr Bueso d8c36bdf03 tests: grammar fixes
Trivial change, "Cannot found" to "Cannot find".

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-08-17 18:08:18 +02:00
Karel Zak b71e4c30b6 losetup: allow to use --verbose with --all
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 16:40:05 +02:00
Karel Zak e13d44a1e4 build-sys: release++ (v2.20-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 00:55:52 +02:00
Karel Zak 4e689e27e3 docs: update v2.20 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 00:52:32 +02:00
Karel Zak 92b619d11a po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 00:41:33 +02:00
Karel Zak f144a2f543 pg: fix write_all() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 00:30:13 +02:00
Karel Zak 832410da7b mkfs.minix: fix write_all() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 00:29:39 +02:00
Karel Zak e871457382 sfdisk: fix typo in man page
Reported-by: markus reichelt <ml@mareichelt.com>
Signed-off-by: Karel Zak <kzak@redhat.com>

sk/sfdisk.8
2011-08-16 23:56:26 +02:00
Benno Schulenberg e0c97cdcf8 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>
2011-08-16 23:52:40 +02:00