Commit Graph

392 Commits

Author SHA1 Message Date
Karel Zak 0f1cbe9430 libmount: add comment, remove TODO item
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-12-10 11:45:31 +01:00
Karel Zak 6589a1632b libmount: use fstatat(AT_NO_AUTOMOUNT) for mountpoints
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-12-09 10:26:16 +01:00
Karel Zak dbf5898fca docs: update v2.27-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-09-07 09:53:37 +02:00
Karel Zak 268a62bf38 docs: fix typo
Reported-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-27 23:07:15 +02:00
Karel Zak eac8f358b7 docs: add notest about drone.io and travis-ci
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-27 16:04:42 +02:00
Karel Zak 5a2fee2def docs: update v2.27-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-24 12:37:13 +02:00
Karel Zak 6fe71fc2e8 docs: add hint about chfn & chsh bug and thanks to qualys
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-24 11:40:19 +02:00
Karel Zak ac09539c69 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-19 15:27:02 +02:00
Karel Zak 9ac77b8a78 libmount: add support for "bind,ro"
Now it's necessary t use two mount(8) calls to create a read-only
mount:

  mount /foo /bar -o bind
  mount /bar -o remount,ro,bind

This patch allows to specify "bind,ro" and the remount is done
automatically by libmount by additional mount(2) syscall. It's not
atomic of course.

Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-17 11:54:26 +02:00
Karel Zak 5b7be9900a docs: add lsblk vs. btrfs to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-13 11:49:20 +02:00
Karel Zak f19c632804 docs: add mount --namespace to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-13 11:41:49 +02:00
Karel Zak 2c6567799d build-sys: add --disable-assert
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-04 13:40:44 +02:00
Benno Schulenberg c3a68a8f67 docs: fix some grammar and punctuation in the 2.27 release notes
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-08-03 11:19:05 +02:00
Karel Zak 5eb470aa7f docs: add v2.27-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-07-31 12:06:38 +02:00
Sami Kerola 14867b0f72 reset: deprecate the script, and remove reset.033c
Most distributions probably ship reset from ncurses, which means
util-linux reset(1) is unlikely to be in use anywhere.  Assuming the
previous being true it is almost unimaginable anyone one would be using
the alternative script, so remove it and mark the script deprecated.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2015-06-29 12:06:22 +02:00
Sami Kerola 0688911ad4 last-deprecated: remove from source tree
The last/lastb(1) from sysvinit has been around for about two years,
and the better implementation is already part of releases 2.24 to 2.26.
It should be safe to remove the unused last code from the source tree.

Reference: ce60272039
Signed-off-by: Sami Kerola <sami.kerola@lastminute.com>
2015-06-29 12:05:39 +02:00
Karel Zak 6ddccd0d6e docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-05-19 14:40:42 +02:00
Karel Zak 628a4efa27 docs: fix TODO typos
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-04-28 14:04:15 +02:00
Karel Zak f7fdd3da3f docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-04-28 14:00:28 +02:00
Karel Zak d7030b0441 docs: document --exclude for tests
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-03-26 13:00:24 +01:00
Ruediger Meier f1e744f283 tests: add documentation about environment variables
Introduced in 8e3ac29e, now advertised :)

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2015-03-26 12:17:39 +01:00
Karel Zak 6a7a5eac34 docs: remove obsolete things from TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-03-25 16:09:32 +01:00
Ruediger Meier 3f8478a71c tailf: deprecated
We want to remove it in 2 years, March 2017.

See discussion "tailf, really needed?"
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/10967

[kzak@redhat.com: - move warning to usage()]

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-03-16 14:26:47 +01:00
Karel Zak 342172b24d docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-27 14:46:43 +01:00
Karel Zak 85589c4c49 docs: add terminal-colors requests to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-19 14:31:02 +01:00
Karel Zak 559e84b055 docs: update v2.26-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-19 13:10:10 +01:00
Karel Zak 4e3b32eb8f docs: add cfdisk auto-sort to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-19 11:56:11 +01:00
Karel Zak 8d231463ce docs: update v2.26-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-04 11:48:33 +01:00
Karel Zak 0e4254f42c docs: add new cfdisk request to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 11:22:21 +01:00
Yuri Chornoivan 6e834d67ee textual: fix various minor typos 2015-01-26 11:38:38 +01:00
Benno Schulenberg 8701ac3083 docs: fix grammar and punctuation and typos in 2.26 release notes
Also trim some trailing whitespace.

Reviewed-by: Peter Cordes <peter@cordes.ca>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-01-26 11:09:56 +01:00
Karel Zak f0b24d019e docs: fix typos
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-14 20:39:52 +01:00
Karel Zak dec14209b5 docs: update v2.26-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-14 12:50:18 +01:00
Karel Zak bc8fce86e7 docs: add TODO entry for libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-14 10:59:56 +01:00
Sami Kerola 5de50f26fc docs: add howto-pull-request.txt
Reference: http://comments.gmane.org/gmane.linux.utilities.util-linux-ng/10431
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2015-01-07 21:57:44 +00:00
Sami Kerola 7f9916c21e docs: small improvements to howto-contribute.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2015-01-07 21:57:44 +00:00
Karel Zak a3c9c674c5 docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-12-02 11:09:31 +01:00
Karel Zak dc43cb6a5b docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-28 13:29:15 +01:00
Karel Zak 68e422ecae docs: update info about env debug variables
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-03 13:13:54 +01:00
Karel Zak 2ceaf42a2d docs: remove obsolete READMEs for (s)fdisk 2014-10-23 11:35:18 +02:00
Karel Zak 65c3359633 docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-10-22 10:34:09 +02:00
Karel Zak 04c107ebeb docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-10-21 14:24:00 +02:00
Karel Zak 35ce145f6a sfdisk: add deprecated --Linux
The sfdisk does not care about compatibility with classic DOS
partitioning, and it does not warn about incompatibility with DOS at
all. It means that --Linux is default and it's unnecessary to use
this option.

It's the same situation like with "--unit S", these options are very
probably often used in scripts, and these all is default now. So for
backward compatibility new sfdisk accepts these options on command
line, but prints "option is deprecated" warning message.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-10-07 14:55:32 +02:00
Karel Zak d420a7f9f6 sfdisk: add --unit and --show-geometry, update deprecated.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-10-07 14:55:32 +02:00
Karel Zak 8d72c980f5 docs: add swapon -o to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-10-02 15:53:34 +02:00
Karel Zak 426ee7cb78 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-29 13:17:35 +02:00
Karel Zak fdd3a12644 docs: update v2.25-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-22 11:11:01 +02:00
Benno Schulenberg cfbebb2905 docs: improve the wording and conventions in the man-page howto
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-17 14:00:52 +02:00
Karel Zak 8a2ab0eee8 docs: update v2.25-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-02 11:38:19 +02:00
Karel Zak a6c6662d7c swapon: mark --sumarry as deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-30 11:03:12 +02:00
Karel Zak 6d4774b0d4 docs: add note about lsblk
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-25 14:04:20 +02:00
Karel Zak 505dedfec4 docs: fix minor things in man-page howto
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-25 13:21:15 +02:00
Karel Zak 425ae8f50c docs: add fdisk mac support to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-25 11:39:30 +02:00
Karel Zak a6fdc280ea docs: add v2.25-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-18 14:38:55 +02:00
Karel Zak ee312c654b 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>
2014-06-06 09:49:35 +02:00
Karel Zak 7cecd940bf docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-30 13:50:10 +02:00
Karel Zak 70e2ed25f6 docs: update howto regards to build-system changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-27 15:37:26 +02:00
Karel Zak d37172b189 docs: remove obsolete cfdisk.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-27 15:18:35 +02:00
Benno Schulenberg 83eda7782c docs: grammarize the usage howto
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-05-06 11:09:34 +02:00
Karel Zak c425353570 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-04-23 15:28:09 +02:00
Karel Zak dba96eedb8 docs: add pid alis to deprecated.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-04-07 10:05:14 +02:00
Ondrej Oprala 10a628c8b3 lib/tt.c: Goodbye!
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-04-03 12:29:19 +02:00
Sami Kerola a97b307a03 docs: add a new command boilerplate code
Having howtos is good, having an working code that can be used as-is to
kickstart a write of a new command is better.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-03-12 12:06:40 +01:00
Karel Zak 53e227cc8d docs: refresh TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-02-27 13:34:36 +01:00
Karel Zak 4459245fa3 mkfs: mark this wrapper as DEPRECATED
Theodore Ts'o:

 I'll add that I've never been convinced that the mkfs front end is all
 that useful.  It's probably better for people to explicitly run
 /sbin/mkfs.xfs, /sbin/mkfs.ext4, etc.., so you don't have to worry
 about which options get passed down to the file system specific mkfs
 program, and which ones are interpreted by /sbin/mkfs --- and I don't
 believe /sbin/mkfs adds enough (err, any?) value that using
 "/sbin/mkfs -t xxx" vs "/sbin/mkfs.xxx" makes any sense whatsoever.

... and I absolutely agree.

Reported-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-02-21 12:04:18 +01:00
Karel Zak 8e2f2befc9 docs: add lslogins(1) to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-01-14 10:17:16 +01:00
Sami Kerola d8a9b90756 docs: update links to http://git.kernel.org/ web repository views
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-11-12 11:47:57 +01:00
Sami Kerola 55fb2bc195 docs: add patching process to howto-contribute.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-11-12 11:47:56 +01:00
Karel Zak 2b70f02252 docs: add note about make distcheck
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-11-08 10:00:43 +01:00
Karel Zak 49807b316a docs: update TODO, wipe check for fdisk already implemented
Note that rather than implement wipe command in fdisk it's better
inform users to call wipefs(8).

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-23 10:46:10 +02:00
Karel Zak 7488136b44 docs: update v2.24-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-21 14:44:50 +02:00
Karel Zak 2e8f02d1da docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-18 11:38:02 +02:00
Karel Zak b116ef420b docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-16 11:08:18 +02:00
Benno Schulenberg 9b66791dc2 docs: mention in ReleaseNotes only PO files that were actually updated
Also tweak wording a bit and remove a duplicate line.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-14 14:54:52 +02:00
Karel Zak bfa3004ece docs: update v2.24-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-11 13:10:34 +02:00
Benno Schulenberg 55fb046138 docs: improve grammar and wording of the release-schedule text
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08 15:38:39 +02:00
Karel Zak 77de766a45 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-02 11:21:22 +02:00
Karel Zak 88407b9321 nologin: add new command
Currently it's maintained as distro specific (or people use impolite
/bin/false way).

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-30 13:36:26 +02:00
Karel Zak 0773e4b213 docs: update v2.24-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-27 14:27:10 +02:00
Karel Zak 2ab413a689 docs: add v2.24-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-26 16:17:01 +02:00
Karel Zak 9564e46ce2 fdisk: mark -s option as deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-16 16:47:08 +02:00
Karel Zak 03d00d495f build-sys: add CFLAGS and LDFLAGS for daemons and shared libs
This is necessary for paranoid security guys who believe that things
like "-Wl,-z,relro" or "-Wl,-z,bind_now" is a way how to make the
world a safer place...

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-27 11:49:01 +02:00
Sami Kerola 80ae42351c docs: be clear which last(1) is deprecated
The recently merged sysvinit last(1) and lastb(1) are supported.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-08-23 10:58:42 +02:00
Sami Kerola a272c5747c build-sys: complete elvtune removal
The first removal managed to remove only most of the elvtune, this commit
will complete the task.

Original-removal: 7f1fe74248
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-08-23 10:58:40 +02:00
Sami Kerola 33292d98e8 docs: update TODO
The minix type fixes took place December 2012.

Commit: a180dc6c54
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-08-23 10:58:36 +02:00
Gilles Espinasse 34228e6972 util-linux minor typo fixes
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
2013-05-21 11:38:35 +02:00
Mike Frysinger b77ce61eb3 docs: note ddate removal
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-05-06 19:27:00 +02:00
Karel Zak 4c99c7f11d docs: update v2.23-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:52:32 +02:00
Karel Zak ddaf270e08 docs: update v2.23-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10 23:36:46 +02:00
Karel Zak 35cf827870 libblkid: support LIBBLKID_DEBUG= only
... the BLKID_DEBUG= is not more supported.

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-09 12:52:09 +02:00
Ville Skyttä 58c41e15b3 Spelling fixes.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-08 17:06:55 +02:00
Sami Kerola 20a5105648 bash-completion: add completion files to Makefile.am
And remove shell completion TODO item.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-01 17:41:55 +01:00
Karel Zak 35bc7a2b67 docs: add note about /var/lib/hwclock to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-26 13:48:25 +01:00
Sami Kerola 2ba83ec2e0 docs: arch is gone, use delpart as usage() function example
The arch.c was removed in commit 27abd809.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-03-26 10:53:30 +01:00
Karel Zak 74edc12cbb docs: upadte v2.23-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 10:17:16 +01:00
Karel Zak d9e32a06a2 docs: add v2.23-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 01:01:17 +01:00
Karel Zak f2be51a211 docs: add wipefs feature request to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-19 22:45:51 +01:00
Karel Zak b75b23b42f docs: cleanup TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-18 17:07:39 +01:00
Karel Zak 58a3cee647 chkdupexe: remove, deprecated for years
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-14 13:34:11 +01:00
Karel Zak 27abd80948 arch: remove the command, deprecated since 2.13, use coreutils version
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-14 12:22:11 +01:00
Karel Zak 956e582874 docs: update deprecated.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-26 15:28:05 +01:00
Benno Schulenberg b50945d4ac textual: spell and encode the name of Arkadiusz Miśkiewicz correctly
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-02-06 11:15:02 +01:00
Sami Kerola 24f109e342 docs: usage function and gettext
I made following survey which was sent to all email addresses in po/
directory that had the on-going millenium as time when translator had
been active.

  There are two quite common styles to write a command usage print out,
  which one you prefer?

  1. Each option as separated translatable string.	18 votes
  2. Or the whole thing as one big output.		 1 vote
  3. No preference.					 1 vote

The questionaire had also free text field asking 'Why do you prefer
that?', and here are the answers.

  [Separately] It is easier to follow changes with the translations.  If
  you change only one line or two, the big string would change to fuzzy
  and I have to check the whole thing to see what was changed in the
  original.  If the changed line is a single string, the string to check
  is a lot shorter.

  [No preference] Usually, if there is no reason to separate strings,
  better keep them together so that the context is obvious.  In the case at
  hand, it might help if in some language e.g.  one translated line is too
  wide for the screen.  This is unlikely, but...  OTOH, with this solution,
  if you change one string the whole translation will be discarded until a
  translator comes and updates it...

  [Separately] It may be a bit harder to get the formatting right, but it
  is much easier in maintenance.  With one option changing, the
  translator immediately sees the spot.  And even with a lazy translator,
  program author will have all the options translated that have not
  changed at all.

  [Separately] First one would be more in elegant I believe

  [Separately] I prefer to have them separately because they don't form a
  single text paragraph.  In other words, they can be translated
  separately because they are complete and separate "sentences".  Of
  course consistency of format and word choices need to be taken care of,
  but the fact that the messages appear next to each other in the PO file
  should be enough.  Also if the options are not translated separately,
  adding or editing one option causes the translation of all options to
  become fuzzy and if for some reason it isn't checked before next
  release (happens sometimes), all of them will show untranslated to the
  user.

  [Separately] Translations are a lot easier to update that way.  If an
  option is added, removed or changed, only a small amount of text
  becomes fuzzy.  If everything is in one big output, a lot of text
  becomes fuzzy, and you have to read a lot more text to discover what
  exactly changed.

  [Separately] When updating a fuzzy translation, with one big output
  it's very tedious and error-prone to find out the reason for fuzziness,
  i.e.  what actually has changed in the msgid.

  [Separately] Way easier to translate, and especially to spot
  translation updates when one string gets removed, added or modified.

  [Separately] Makes translation memory more efficient.  Some hard terms
  in the list don't prevent translation of the whole block.  Actually the
  beginning of the strings don't need any translation ta all before []
  part.  Information about the context can be provided in comments or the
  context parameter.

  [Separately] Please consider the case when a part of string, (= msgid)
  is changed.  It is marked as fuzzy in the .po files, we translators
  have to check whole sentences for the difference between it and
  previous version.

  [Separately] Every sentence must be a separate translation unit.

  [One big output] for performance to ouput strings

  [Separately] In the second case, if only one option changes (or a new
  one is added), the translator will see as if all of the options
  changed, having to find out which one of them is really new or has
  actually changed.  Also, if the translator has had no time to update
  the string, only one of the options will be shown in the original
  language (which is arguably ugly, but better than nothing for many
  users).

  [Separately] It's easier to translate the options separately using
  translation memory.

  [Separately] Easier to separate and see changes

  [Separately] more translator friendly

  [Separately] From the user POV I found the separeted version more
  interesting because if a maintainer can't update the translation fast
  enough between releases the user will still get the current translated
  string with the new ones untraslated.  From the translator POV the big
  output will give more context information as one can see the whole
  command options.  With a new string added while the rest is translated
  having some context can be more difficult.

  [Separately] Additions to the list or changes to one options means you
  don't have to check all lines each time.

So unless you have very, _very_ good reason you should not output all
usage as one big table.  This implies also that when large usage output
is changed it should be split to small hunks.  That may be a bit more
work once, but the next change will pay the extrawork off so never
hesitate when splitting.

Reference: http://www.surveymonkey.com/s/QKZ75HK
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25 16:38:49 +01:00
Ondrej Oprala 701c69617e mount: add support for x-mount.mkdir[=<mode>] option
If the target directory (mountpoint) does not exist then mount(8) will create
it before mount.<type> is executed or mount(2) syscall is called.

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-09 18:52:32 +01:00
Sami Kerola 1342ffcbeb tunelp: deprecation: remove command from default build
It is difficult to think think tunelp command being in use a lot.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-12-19 11:38:48 +01:00
Karel Zak 1258b5f55e Merge branch '2012wk47' of git://github.com/kerolasa/lelux-utiliteetit 2012-11-30 13:43:42 +01:00
Karel Zak bdc251e60a docs: cleanup TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-27 11:13:42 +01:00
Sami Kerola 3ee4265171 docs: ddate removal
Missed in commit 4cf02b6510

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-11-25 22:51:29 +00:00
Sami Kerola 777b517333 docs: mention what Open Group has marked legacy
Reviewed-by: Bruce Dubbs <bruce.dubbs@gmail.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-11-25 22:51:29 +00:00
Sami Kerola 288ec58ccd docs: remove dead link
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-11-25 22:51:29 +00:00
Sami Kerola 820f4c4aea docs: mention Open Group requirements
Commands cal col ipcrm ipcs kill line logger mesg more newgrp pg renice
has Open Group requirements.  Contributors need to be aware of them.

Reviewed-by: Adam Sampson <ats@offog.org>
Reviewed-by: Bruce Dubbs <bruce.dubbs@gmail.com>
Reviewed-by: Ángel González <ingenit@zoho.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-11-25 22:50:57 +00:00
Karel Zak c74a7af17c su: log failed logins to btmp
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-22 15:23:14 +01:00
Karel Zak ead259e325 docs: mark old losetup output format as DEPRECATED
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-12 13:23:19 +01:00
Karel Zak 021eb7bc3f docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-07 20:46:38 +01:00
Karel Zak 2831866ed6 docs: update deprecated file
The goal is to consolidate the very basic linux commands and minimize
dependence on another packages (e.g. shadow-utils). It seems better to
keep newgrp, vipw and vigr as non-deprecated for now. Maybe we will
found a way how to improve the code. We will see... :-)

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-18 10:48:01 +02:00
Bill Pemberton a887e5844d docs: remove hwclock --compare from TODO
commit 83765871ef added the --compare
option to hwclock so it can be removed from the TODO.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
2012-10-16 15:29:53 +02:00
Karel Zak c038564d16 docs: add su(1) btmp logging
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-16 11:27:35 +02:00
Sami Kerola 4cf02b6510 ddate: remove from util-linux
See RedHat bug for reasons why the ddate is cleaned up.  The reference is
where to get the command in future.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=823156
References: https://github.com/bo0ts/ddate
Acked-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-15 16:41:49 +02:00
Mike Frysinger f036b4c730 mount: fix a few typos
Nothing of note here.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-02 10:24:36 +02:00
Karel Zak 1a1c0ad77c docs: add note about /etc/pam.d/su-l to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-05 14:06:28 +02:00
Karel Zak 21d7483eb4 docs: add list of expected PAM config files
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-04 17:00:31 +02:00
Karel Zak 7271beff67 docs: update v2.22-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-04 14:36:16 +02:00
Karel Zak da42129daa docs: update v2.22-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-15 18:02:53 +02:00
Sami Kerola 9289e628eb docs: update TODO
Remove tasks that are done.

dmesg: --follow option
Reference: 0fd12a9697

build-sys: recursive build
Reference: 8772f8d7ee

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-08-06 14:52:53 +02:00
Sami Kerola 316919a2e2 docs: ftp server does no longer support util-linux-ng
A symlink was probably removed from
  ftp://ftp.kernel.org/pub/linux/utils/

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-08-06 14:52:49 +02:00
Karel Zak 91f98496f3 docs: update tests docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-03 21:33:32 +02:00
Karel Zak 43ffdc82fa build-sys: don't compile lib{mount,blkid} tests when --disable-static specified
The tests often depend on private (non-API) library functions.

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-02 20:19:14 +02:00
Karel Zak a9770f7fa0 docs: update howto-tests.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 18:37:54 +02:00
Karel Zak 922e6775e0 build-sys: move tests to check_PROGRAMS
Thanks to Mike Frysinger.

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 17:59:16 +02:00
Karel Zak 454996c495 docs: add note about enabled kill(1) to v2.22-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 14:57:29 +02:00
Karel Zak 506eb04c3d docs: add note about partx output change
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 10:17:10 +02:00
Bernhard Voelker a7134cf512 doc: fix typo in v2.22-ReleaseNotes
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-07-27 10:11:13 +02:00
Karel Zak d6fb4c6986 docs: add v2.22-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 00:07:23 +02:00
Sami Kerola 28fa2915d2 docs: tell about irc channel
Reference: http://comments.gmane.org/gmane.linux.utilities.util-linux-ng/3550
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-07-26 13:51:46 +02:00
Karel Zak 955eac11a7 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-17 22:08:27 +02:00
Karel Zak 4633cc95a4 docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-17 15:22:51 +02:00
Bernhard Voelker 7007991f6f docs: fix typos found by misspellings
The tool misspellings (https://github.com/lyda/misspell-check)
detected several typos. Command used:

  $ git ls-files | grep -v ^po/ | misspellings -f -

* Documentation/releases/v2.18-ReleaseNotes: Fix typo in news entry.
* NEWS: Likewise.
* config/texinfo.tex: Fix typo in comments.
* libmount/src/context.c: Fix typo in comment.
* libmount/src/fs.c: Likewise.
* login-utils/login.c: Likewise.
* login-utils.su.1: Fix typo in man page.
* sys-utils/chcpu.c: Fix typo in error message.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-07-09 16:56:30 +02:00
Karel Zak cdecbd2e73 docs: add note about non-recursive build-sys
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-27 11:27:36 +02:00
Sami Kerola 8a69abf0de docs: fix email macro in manual example
URL macro is not email address macro.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-05-31 20:12:06 +02:00
Thomas Schwinge b5b8805f69 su: Mention SUID_* feature.
Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>
2012-05-29 10:50:13 +02:00
Bernhard Voelker 80d7a31374 docs: fix further typos found by misspellings
Additionally to the fixes in commit v2.21-325-g455fe9a,
fix typos in release notes and NEWS.

Signed-off-by: Bernhard Voelker <mail@...>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-27 12:44:26 +02:00
Bernhard Voelker 455fe9a075 Fix typos found by misspellings
The tool misspellings (https://github.com/lyda/misspell-check)
detected several typos. Command used:

  $ git ls-files | grep -v ^po/ | misspellings -f -

* isosize: Fix typo in usage string.
* configure.ac: Fix typo in help string of --enable-most-builds option.
* fdisk: Fix typo in man page.
* libblkid, blkid, mount: Likewise.
* Fix various typos in docs and in source code comments.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-04-23 13:16:35 +02:00
Karel Zak 4581bd9c67 build-sys: disable chkdupexe by default, mark as deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-04 12:18:32 +02:00
Karel Zak 24d741d88a docs: mark udev and list blkid(8) output formats deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-26 13:09:27 +02:00
Sami Kerola 1a0708a21d docs: TODO removal, ldattach usage is done
Done at Nov 2011.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-18 14:28:05 +01:00
Sami Kerola 2ca1f4e91e docs: TODO removal, rpmatch task is done
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-18 14:28:04 +01:00
Sami Kerola b3f66f183a docs: TODO removal, login-utils error printing
Error printing was fixed at November 2010.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-18 14:28:04 +01:00
Sami Kerola 7cebf0bb4f docs: corrections to FSF license files, and postal address
The COPYING and Documentation/licenses/COPYING* files are being
replaced by files from GNU web site.

http://www.gnu.org/licenses/gpl-2.0.txt
http://www.gnu.org/licenses/lgpl-2.1.txt

Postal addresses to FSF in other files are updated to match with the
address in license files.

Reference: http://lists.gnu.org/archive/html/freefont-announce/2005-04/msg00001.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-24 14:13:35 +01:00
Karel Zak 1a30de89a0 docs: update v2.21-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-24 11:52:12 +01:00
Karel Zak 1340d433cc docs: add note about mount(8) options to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23 12:31:31 +01:00
Petr Uzel 89c6bb4dad docs: trivial documentation fixes and improvements
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-02-22 11:52:07 +01:00
Karel Zak bdc1764e23 docs: add note about losetup to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 20:31:40 +01:00
Karel Zak 838b8e0f71 docs: add note about fdisk to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 18:59:50 +01:00
Karel Zak 983ddee513 docs: update v2.21-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-06 18:27:05 +01:00
Karel Zak 11d92f3425 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-30 14:55:58 +01:00
Karel Zak b82590ad46 blkid: move cache to /run on new systems
Why?

 * read-only root

 * /etc is pretty bad place for caches

 * all is usually cached by udev in /dev/disk/by-* and libblkid
   is able to use these symlinks

 * boot persistent cache is attractive for very small subset of
   Linux machines (and they already need extra udev tunning otherwise
   udev will probe all block devices during boot)

 * the default is possible to override in /etc/blkid.conf

The systems without /run directory will not be affected by this
change.

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-25 13:20:37 +01:00
Karel Zak a6ec840a17 docs: add v2.21 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-18 14:20:09 +01:00
Karel Zak 0b359bcdfd docs: add info about virt-what to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-10 16:48:37 +01:00
Karel Zak aca9b5a6fb docs: add hwclock -c to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-12-09 14:08:02 +01:00
Karel Zak 21fd9cb0d7 docs: add x-mount-mkdir to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-29 14:57:28 +01:00
Karel Zak 1c50a7cd94 docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-11 12:58:59 +01:00
Karel Zak 614601052e docs: refresh TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-08 16:38:56 +01:00
Karel Zak 790a26b945 docs: add note about config-gen purpose
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-07 11:31:47 +01:00
Karel Zak f2278b63b8 docs: refresh TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-07 11:18:09 +01:00
Karel Zak 3db444cbff docs: add notes about tools/config-gen
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-04 20:59:52 +01:00
Karel Zak ff0cb84ddb build-sys: cleanup BUILD_LOGIN_UTILS
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-03 12:32:50 +01:00
Karel Zak 30f9fbb488 docs: add note about BUILD_* macros
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-03 12:32:49 +01:00
Karel Zak aa59480526 docs: add howto-build-sys.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-03 12:32:49 +01:00
Davidlohr Bueso fe208f9e78 docs: update TODO file
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-11-02 16:24:43 +01:00
Karel Zak 66388d95fc docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-10-11 16:41:34 +02:00
Karel Zak fd96508a27 docs: add prlimit to the TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-30 12:40:44 +02:00
Petr Uzel 960cf5737e misc: use %m in format string instead of %s and strerror(errno)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-09-27 15:46:07 +02:00
Petr Uzel 587aa6fca1 docs: update TODO
TODO items already done by Sami Kerola

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-09-27 15:37:29 +02:00
Sami Kerola 0c12134874 docs: add non-return function and if shorthand tips
Non-return functions should not be combined with `else' clause.

The if shorthands `var = e ? t : f;' need to fit to single line,
and if that does not look good use normal "if else" syntax.

Both tips are mentioned in email bellow.

http://www.spinics.net/lists/util-linux-ng/msg05152.html

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-09-17 15:07:52 +02:00
Sami Kerola 6f162034d0 build-sys: fixes to USAGE_* macros
The USAGE_BEGIN_TAIL is removed as unnecessary.

In between command specific options and --help & --version
USAGE_SEPARATOR is inserted. For now the separator is empty line.

The USAGE_MAN_TAIL is changed to take an argument.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-09-17 15:07:52 +02:00
Karel Zak da9629917d docs: use .LGPL extension for file with GNU Lesser License
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-31 11:12:17 +02:00
Karel Zak fa25f2289c Merge branch 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetit
* 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetit:
  docs: remove duplicated text
  docs: require kernel support before accepting use of it
  docs: note about independent super block structs
  docs: add libmount & libblkid debug instructions
  Documentation: add debugging doc
  arch: start using arch as a usage() example
  docs: new file Documentation/release-schedule.txt
  docs: move setuid information from reame to hwclock.8
  docs: clean up old readme files
  docs: copy contributors from legacy files to AUTHORS
  docs: new file Documentation/howto-man-page.txt
  docs: new file Documentation/source-code-management.txt
  docs: new file Documentation/howto-contribute.txt
  docs: new file Documentation/howto-compilation.txt
  docs: tell what the Documentation/ is about
  docs: add usage() howto for contributors
  docs: Documentation directory added
  docs: remove README.clear
2011-08-31 11:04:15 +02:00
Sami Kerola ce0efc40a1 docs: remove duplicated text
Duplicate text is dealt by referring to license files. The `pg'
command does not need separated license file because the source
file has same text at top of it.

http://www.spinics.net/lists/util-linux-ng/msg05069.html

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-30 19:50:34 +02:00
Sami Kerola 464e11b8f5 docs: require kernel support before accepting use of it
http://www.spinics.net/lists/kernel/msg1228993.html

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-28 10:50:42 +02:00
Sami Kerola c0dcd7d0b8 docs: note about independent super block structs
It's normal that we use our own (on kernel independent) copy of
FS superbloks. -- K. Zak

http://www.spinics.net/lists/util-linux-ng/msg04812.html

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-28 10:50:42 +02:00
Sami Kerola 7ec51ba998 docs: add libmount & libblkid debug instructions
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-28 10:50:42 +02:00
Davidlohr Bueso 2e88e3c6cc Documentation: add debugging doc
Layout the base for tips on debugging util-linux programs/wrappers.

[kerolasa@iki.fi:
	- rename file README.debug -> howto-debug.txt
	- wrap over 80 chars wide lines
	- change example commands to be relative to util-linux root
	- indent command examples
]

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-28 10:50:42 +02:00
Sami Kerola b6459b5158 docs: new file Documentation/release-schedule.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:21 +02:00
Sami Kerola a6ccf39bf8 docs: move setuid information from reame to hwclock.8
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:21 +02:00
Sami Kerola 1a06cbf4f6 docs: clean up old readme files
Removal of information which is simply wrong.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:21 +02:00
Sami Kerola 05620dd47e docs: new file Documentation/howto-man-page.txt
The howto-man-page.txt is an example of good groff syntax and
document about man page at the same time.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:21 +02:00
Sami Kerola bbe204588e docs: new file Documentation/source-code-management.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:21 +02:00
Sami Kerola 90a1baf6cb docs: new file Documentation/howto-contribute.txt
The file contens are mostly from former README.devel.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:20 +02:00
Sami Kerola 22a3b8c9bd docs: new file Documentation/howto-compilation.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:20 +02:00
Sami Kerola 28a6074b4c docs: tell what the Documentation/ is about
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:20 +02:00
Sami Kerola e1271f8ddc docs: add usage() howto for contributors
Style instructions to usage() writers. Discussion about this;
http://www.spinics.net/lists/util-linux-ng/index.html#04983

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-23 21:34:13 +02:00
Sami Kerola f98d4f766e docs: Documentation directory added
Move readme, licence, change log, relese notes and other
supplementary files to a Documentation directory. This commit
does not change contents of any other but few Makefile.am files.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-12 20:19:52 +02:00