Commit Graph

282 Commits

Author SHA1 Message Date
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