Commit Graph

392 Commits

Author SHA1 Message Date
Karel Zak 651c5d428c column: fix leading space characters bug
The bug has been introduced during column(1) rewrite. The function
read_input() need to skip leading space only temporary to detect empty
lines, but the rest of the code has to use the original buffer (line).
I've tried to fix one of the symptoms by 5c7b67fbbf
(alter), but this solution is unnecessary and too complex.

Changes:

* don't ignore leading space
* remove unnecessary stuff introduced by 5c7b67fbbf
* fix regression test with incorrect separator

Addresses: https://github.com/karelzak/util-linux/issues/575
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1560283
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-27 10:55:27 +02:00
Karel Zak 867c15ddb8 docs: add to column(1) TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-26 14:23:53 +02:00
Karel Zak 4ecb80f2db docs: update v2.32-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-21 14:59:34 +01:00
Karel Zak e34dcfb69d docs: add new idea to TODO list
Addresses: https://github.com/karelzak/util-linux/issues/593
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-09 10:56:14 +01:00
Karel Zak 7c79c3418e docs: add remount-all idea to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-08 11:30:29 +01:00
Karel Zak dcb673937f docs: add script(1) events idea to TODO
Addresses: https://github.com/karelzak/util-linux/issues/583
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-05 13:40:55 +01:00
Karel Zak bdb75f9e45 docs: add note about JSON
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-05 12:23:55 +01:00
Karel Zak 600a43a39f docs: update v2.32-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-01 14:14:15 +01:00
Karel Zak 56f4d6ce0d docs: add note about NVMe-multipath to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-01 12:35:59 +01:00
Ruediger Meier 73afd3f8e8 misc: fix typos using codespell
Some more funny typos, please review carefully.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2018-02-16 11:12:52 +01:00
Karel Zak 37ae6191f7 docs: update v2.32-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-02-13 12:22:15 +01:00
Karel Zak 256298191c docs: update TODO
Let's think about "mount --onlyonce".

Addresses: https://github.com/karelzak/util-linux/issues/448
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-02-07 11:37:32 +01:00
Karel Zak 7aa670f66f docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-02-07 10:36:28 +01:00
Karel Zak cb1b3a203d docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-01-31 11:06:40 +01:00
Carlos Santos a9e4662d26 docs: add ISC licence
Save the top 21 lines of sys-utils/rfkill.c as COPYING.ISC. This is
useful for Linux distributions an integration tools like Buildroot,
to collect detailed legal information for each package.

[kzak@redhat.com: - remove C-comments and rfkill header]

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-01-17 14:38:49 +01:00
J William Piggott de4568f757 hwclock: rename --debug option to --verbose
Warn on --debug; do not fallthrough because
the message is lost in the verbose output.

Coauthored-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2018-01-17 13:29:11 +01:00
Karel Zak 26777ac30e docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-11-23 15:02:32 +01:00
Karel Zak e2017da5cf docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-11-08 11:40:04 +01:00
Karel Zak 568624d577 docs: update v2.31-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-10-19 13:06:00 +02:00
Karel Zak 1f06d754be setsid: document fork(2) usage
Addresses: https://github.com/karelzak/util-linux/issues/518
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-10-10 12:06:58 +02:00
Karel Zak a1aba7794e docs: (TODO) make PMBR boot flag more user-friendly
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-10-04 11:45:21 +02:00
Karel Zak 3c44e5ab98 docs: update v2.31-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-10-03 17:51:55 +02:00
Karel Zak e1bf3ec241 docs: add Atari PT to the TODO list
Addresses: https://github.com/karelzak/util-linux/issues/517
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-10-02 15:45:41 +02:00
Karel Zak ce87b20a7b docs: add exec() exit codes to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-27 11:25:08 +02:00
Karel Zak 14b3dd0fc6 docs: add 2.30.2 to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-25 10:40:37 +02:00
Karel Zak e140bddbb8 docs: update v2.31 release notes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-22 11:53:22 +02:00
J William Piggott 876bd68753 Docs: add hwclock 'highlights' v2.31-ReleaseNotes
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-09-21 10:13:53 +02:00
J William Piggott 9445be4114 Docs: grammar fixes for v2.31-ReleaseNotes
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-09-21 10:13:53 +02:00
Karel Zak 9db9997a5a docs: update v2.31-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-20 11:31:42 +02:00
Karel Zak b74a9aa00f docs: remove UUID v3 and v5 from TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-19 14:44:50 +02:00
Karel Zak cf92105e50 docs: add ASAN to TODO list
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-18 11:44:57 +02:00
Karel Zak f1f874bf48 Merge branch 'rfkill' of git://github.com/kerolasa/lelux-utiliteetit into rfkill
* 'rfkill' of git://github.com/kerolasa/lelux-utiliteetit: (57 commits)
  rfkill: add systemd-rfkill(8) see also segment
  rfkill: check id number refers to a device that exists
  rfkill: use back and forward compatible test
  rfkill: add bash-completion file
  rfkill: inform in syslog when rfkill is invoked
  rfkill: use human readable timestamps in event output
  rfkill: use libsmartcols output
  rfkill: do not ignore read error
  rfkill: clarify 'all devices' handling
  rfkill: update manual page
  rfkill: make programming style to match util-linux project
  rfkill: make command to build in util-linux project
  rfkill: move files to appropriate locations
  add python module
  use uapi rfkill.h
  version 0.5
  fix compiler warning
  Add NFC support
  version 0.4
  Add rfkill type "fm" to the man page.
  ...
2017-08-31 09:56:18 +02:00
Sami Kerola e69263c03b
rfkill: move files to appropriate locations
Also remove unnecessary items.  Notice that the licence text from COPYING is
moved to top of the command in comment section.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-08-30 20:32:48 +01:00
Karel Zak 9001a06ebe docs: remove TODO item for fdisk
We use libsmartcols so basic escape for terminal should be already
done by the library.

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-08-30 12:01:21 +02:00
Karel Zak c1154128db fdisk: fix readline interaction with signals
The high-level readline API is crazy to use with signals. Fortunately
the library provides low-level rl_callback_* API. In this case we can
use poll() to wait for input and control all signals, etc.

This patch also a little changes fdisk behavior on CTRL+C and CTRL+D.
The signals does not kill fdisk, but forces fdisk to return to the
main menu, if already in the main menu then exit. If the disk layout
has been modified than ask "Do you really want to exit...".

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-08-24 15:48:46 +02:00
Karel Zak 3f30dedd56 docs: add CAP_SYS_ADMIN to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-08-22 11:22:26 +02:00
Karel Zak 77d03707d9 docs: add --enable-programs to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-08-14 12:25:07 +02:00
Karel Zak 9612a41085 docs: add UUID v3 an v5 to TODO
Addresses: https://github.com/karelzak/util-linux/issues/495
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-08-14 12:10:16 +02:00
J William Piggott 8e953778e4 Docs: update howto-usage-function.txt
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-07-31 13:48:04 +02:00
Sami Kerola f636ef1f41
docs: add optional option back to struct option
The line was accidentally removed in the reference commit where only the
short option had to go.  Rest of the change is indentation.

Reference: 326c5c93b9
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-07-15 22:05:00 +01:00
Sami Kerola 8e58889065
reset: remove script from the package
This script requires ncurses to work, and the ncurses provides reset so
there should not be need to keep this script hanging around.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-07-15 22:02:53 +01:00
J William Piggott dc05716f3a docs: update boilerplate.c usage()
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-07-10 16:05:24 -04:00
Ruediger Meier f45f3ec34a misc: consolidate macro style USAGE_HELP_OPTIONS
changed in include/c.h and applied via sed:

  sed -i 's/fprintf.*\(USAGE_MAN_TAIL.*\)/printf(\1/' $(git ls-files -- "*.c")
  sed -i 's/print_usage_help_options\(.*\);/printf(USAGE_HELP_OPTIONS\1);/' $(git ls-files -- "*.c")

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-29 16:54:33 +02:00
Ruediger Meier 1626ce113e docs: correct line(1) deprecation comment
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-29 12:56:22 +02:00
Ruediger Meier b1a294c448 misc: introduce print_usage_help_options()
Consolidate --help and --version descriptions. We are
now able to align them to the other options.

We changed include/c.h. The rest of this patch was
generated by sed, plus manually setting the right
alignment numbers. We do not change anything but
white spaces in the --help output.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-27 12:26:19 +02:00
Ruediger Meier 86be6a32d3 misc: cosmetics, remove argument from usage(FILE*)
This patch is trivial and changes nothing, because
we were always using usage(stdout)

Now all our usage() functions look very similar. If wanted we
could auto-generate another big cosmetical patch to remove all
the useless "FILE *out" constants and use printf and puts
rather than their f* friends. Such patch could be automatically
synchronized with the translation project (newlines!) to not
make the translators sick.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-26 14:38:24 +02:00
J William Piggott 7948117da5 Docs: move option naming to howto-contribute.txt
Creating and naming options is not done when writing usage().
A contributor may not even read howto-usage-function.txt, but
they should read howto-contribute.txt. So move option naming
and change information there.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-06-24 15:22:49 -04:00
J William Piggott 72727e28a1 Docs: update howto-usage-function.txt
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-06-24 13:57:12 -04:00
J William Piggott 610d0fbc77 Docs: add a comment for constants to boilerplate.c
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-06-24 13:57:12 -04:00
Karel Zak 9e258f388a docs: add program-desc to howto-usage-function.txt and boilerplate.c
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-06-21 11:25:55 +02:00
J William Piggott 2671bcd654 Docs: update howto-usage-function.txt
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-06-20 19:56:39 -04:00
J William Piggott 513bfbefa2 hwclock: add usage() functions heading
Make a functions heading, similar to the existing options heading.

* include/c.h: define USAGE_FUNCTIONS
* Documentation/boilerplate.c: add USAGE_FUNCTIONS
* sys-utils/hwclock.c add functions header to usage()

Reviewed-by: Karel Zak <kzak@redhat.com>
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-06-20 19:50:38 -04:00
Karel Zak b35ca0ab37 docs: update TODO, remove auto,noauto
It seems good enough to use the current semantic and check for
"noauto" string rather than evaluate "auto/noauto" as a bit flag.

We use flags for mount options, but in this case (mount --all) it's
overkill to convert all options on all fstab entries to flags just to
be sure that somewhere is no "auto,noauto" obscure setting.

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-06-12 10:44:37 +02:00
Karel Zak 1d9e35cc1e lsblk: add option --tree
Now lsblk uses --list when --sort <column> is specified. This patch
allows to specify --tree to overwrite this default behavior add to
force tree-like output. In this case tree branches are sorted by the
<column>.

$ lsblk --sort SIZE
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda2   8:2    0   200M  0 part /boot
sda1   8:1    0   200M  0 part /boot/efi
sda6   8:6    0   7.8G  0 part [SWAP]
sda5   8:5    0  35.1G  0 part /home/misc
sda4   8:4    0    50G  0 part /
sdb1   8:17   0  74.5G  0 part /home/archive
sdb    8:16   0  74.5G  0 disk
sda3   8:3    0 130.3G  0 part /home
sda    8:0    0 223.6G  0 disk

$ lsblk --sort SIZE --tree
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb      8:16   0  74.5G  0 disk
└─sdb1   8:17   0  74.5G  0 part /home/archive
sda      8:0    0 223.6G  0 disk
├─sda2   8:2    0   200M  0 part /boot
├─sda1   8:1    0   200M  0 part /boot/efi
├─sda6   8:6    0   7.8G  0 part [SWAP]
├─sda5   8:5    0  35.1G  0 part /home/misc
├─sda4   8:4    0    50G  0 part /
└─sda3   8:3    0 130.3G  0 part /home

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-06-09 11:33:18 +02:00
Karel Zak 10a68c54e9 docs: update v2.30-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-06-02 12:20:19 +02:00
J William Piggott b3d41ca07c docs: add information about mailing list rejection
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-06-01 19:42:21 -04:00
J William Piggott 80008bcae9 docs: move source-code-management.txt to README
source-code-management.txt and README had similar content so combine
them in README.

Change Documentation/source-code-management.txt references to README.

Remove Documentation/source-code-management.txt.

Move IRC Channel information to README

Expand information about git branches and tags in README.

Add workflow to README; written by Karel Zak <kzak@redhat.com>

Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-05-31 11:36:47 -04:00
J William Piggott 0928ca2b59 docs: update howto-contribute.txt
This patch does not change any wording or grammar. It
only shuffles the order of things and adds a table of
contents. For example: it moves coding related bullet
points into the Coding Style Chapter; it groups email
related Chapters together, and so fourth.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-05-31 11:36:47 -04:00
J William Piggott 888d5e0ed6 docs: update howto-contribute.txt
Grammar fixes and some clarification changes.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-05-31 11:36:47 -04:00
J William Piggott ebcb28e53a docs: update v2.30-ReleaseNotes
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-05-31 11:36:47 -04:00
Karel Zak 8d78e5e027 docs: update v2.30-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 12:19:21 +02:00
Karel Zak c0999af736 docs: update source-code-management.txt
Reported-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-18 21:55:36 +02:00
Karel Zak 387d515550 docs: update TODO, add mount(8) noauto,auto
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-16 13:15:11 +02:00
J William Piggott 5e8a508dc4 docs: update v2.30-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-15 11:44:02 +02:00
Karel Zak 013d25c09d docs: add chmem and tailf to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-12 13:33:16 +02:00
Karel Zak bb73c3ae22 docs: update v2.30-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-12 13:00:36 +02:00
J William Piggott 796b9759a5 docs: parse-date.txt fix whitespace
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-04-10 14:41:46 -04:00
Karel Zak 31fbf70bc1 docs: update Documentation/deprecated.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-04-04 14:56:12 +02:00
Sami Kerola 70ca1a7772
tailf: remove deprecated utility
March 2017 is gone, it is time to remove this utility as scheduled in
earlier commit, and promised in manual page.

Reference: 3f8478a71c
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-04-02 16:51:00 +01:00
Karel Zak 7e26832d70 Merge remote-tracking branch 'jwpi/hwclock-date7'
* jwpi/hwclock-date7:
  lib: add parse-date documentation
  hwclock: use parse_date function
  build-sys: add parse-date.y
  lib: add parse-date.y
2017-03-23 12:36:47 +01:00
Sami Kerola 6cb55736cb docs: improve boilerplate.c options example
Make usage() translations to contain complete option help in single
translation unit.  And make -z option example complete.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-03-13 14:48:16 +01:00
J William Piggott b80d6d4be8 lib: add parse-date documentation
* Documentation/parse-date.txt - new file
* sys-utils/hwclock.8.in
	Fix the --date option description.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
2017-03-04 15:03:44 -05:00
Sami Kerola 8791804065 misc: do not use plain 0 as NULL [smatch scan]
text-utils/tailf.c:69:21: warning: Using plain integer as NULL pointer

Since many 'struct option' has used zero as NULL make them more readable in
same go by reindenting, and using named argument requirements.

Reference: https://lwn.net/Articles/93577/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-02-20 12:58:49 +01:00
Yuri Chornoivan a7349ee315 docs: Fix word repetitions 2017-02-13 14:10:12 +01:00
Sami Kerola 92931ab28d
hwclock: remove --compare option
Compare functionality was printing nonsense values.  There is no knowledge
of anyone using this broken functionality.  Instead of deprecating the code
for months, and removing it after few release, it is removed immediately.
Needless to say this is unusual removal.

Reference: http://marc.info/?l=util-linux-ng&m=148396210506652&w=2
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-02-04 23:39:38 +00:00
Karel Zak d7a3bf949b column: rename --columns to --output-width
* rename to use less confusing option name
* cleanup usage()
* update man page

Addresses: https://github.com/karelzak/util-linux/pull/327
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-01-17 13:14:05 +01:00
Karel Zak 677ec86cef Use --help suggestion on invalid option
The current default is to print all usage() output. This is overkill
in many case.

Addresses: https://github.com/karelzak/util-linux/issues/338
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-12-19 13:13:34 +01:00
Sébastien Helleu d673b74e9d docs: replace FTP by HTTPS in kernel.org URLs
The links to ftp://ftp.kernel.org/ are replaced by
https://www.kernel.org/.

Signed-off-by: Karel Zak <kzak@redhat.com>
2016-12-19 11:22:26 +01:00
Karel Zak 8ebed16914 docs: update v2.29-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-11-08 11:34:10 +01:00
Karel Zak 52ac706576 docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-11-07 10:19:16 +01:00
Karel Zak e76e6747cb lsblk: add note about --sort and --list relation
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-11-02 14:47:37 +01:00
Karel Zak 066e21748e docs: add sfdisk scripts quotes issue to TODO file
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-10-25 14:26:42 +02:00
Yuri Chornoivan 31fb945332 Fix minor typos 2016-10-20 19:08:57 +03:00
Karel Zak c555686771 docs: update v2.29-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-10-19 14:32:33 +02:00
Karel Zak c39447445c docs: update infor about TIOCSTI
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-10-06 10:28:33 +02:00
Karel Zak 66872edda5 docs: update v2.29-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-09-30 11:22:39 +02:00
Sami Kerola 0be3ad70ad
kill: remove pid command-name to option alias
Removal was promised to happen in March 2016 and the time has come to get
rid of this unexpected feature.

Reference: c5b057b342
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2016-08-14 13:30:16 +01:00
Stanislav Brabec ba7f6ba53a deprecated.txt: Add sfdisk --show-pt-geometry 2016-08-08 12:03:12 +02:00
Sami Kerola 326c5c93b9
docs: optinal option arguments should be long-only
Deprecate adding new short optional option arguments.  They are problematic.

Proposed-by: Ruediger Meier <sweet_f_a@gmx.de>
Acked-by: Karel Zak <kzak@redhat.com>
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Reference: https://lists.gnu.org/archive/html/coreutils/2012-11/msg00004.html
Reference: http://marc.info/?l=util-linux-ng&m=146062997618853&w=2
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2016-04-16 23:08:18 +01:00
Karel Zak 6ac8cab4ce docs: update v2.28-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-04-12 12:31:56 +02:00
Karel Zak a78bd24d03 docs: update v2.28-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-29 10:44:50 +02:00
Karel Zak 2d47fa3921 partx: fix --nr usage
Reported-by: Serge van den Boom <serge+util-linux@vdboom.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-22 15:49:00 +01:00
Karel Zak 3421709a58 docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-22 10:26:35 +01:00
Karel Zak 9e24b917f2 docs: add note about CLONE_NEWCGROUP support
The patch has been planned for weeks and now the kernel part is
already in Linus' tree. It's a new feature, but it's probably better
to merge the userspace stuff now (v2.28 rc1) than wait next 6 months
for the next util-linux release.

Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-21 21:13:25 +01:00
Karel Zak 00dbc49826 docs: add to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-18 12:05:51 +01:00
Karel Zak 7830e50df7 docs: add note about libsmartcols Python binding
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-14 16:58:21 +01:00
Benno Schulenberg 295a7aa323 docs: improve grammar and wording in the 2.28 release notes
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2016-03-14 16:11:07 +01:00
Karel Zak ec9538250c docs: update v2.28-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-11 11:39:28 +01:00
Ruediger Meier 3fd1f7711e docs: fix typos found by codespell
Using "codespell" from https://github.com/lucasdemarchi/codespell

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2016-02-03 15:10:08 +01:00
Karel Zak a6dc8dcd02 lsblk: allow to --sort by hidden column
For example:

	lsblk -o NAME --sort SIZE

prints NAMEs, but sort by SIZEs.

Signed-off-by: Karel Zak <kzak@redhat.com>
2015-12-10 13:03:46 +01:00
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