Commit Graph

132 Commits

Author SHA1 Message Date
Sanchit Saini cfb9934d5f
TODO: fix typo 2019-06-21 23:21:46 +05:30
Karel Zak 0e86bc8406 lscpu: add --caches
$ lscpu -C
NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL
L3         8M       8M   16 Unified         3
L2       256K       1M    8 Unified         2
L1i       32K     128K    8 Instruction     1
L1d       32K     128K    8 Data            1

The patch also updates extra caches (s390) output in lsblk summary to
be compatible with output about normal caches.

Addresses: https://github.com/karelzak/util-linux/issues/663
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-03-19 14:11:20 +01:00
Karel Zak 58bfb7e927 docs: TODO lscpu --list-caches
Addresses: https://github.com/karelzak/util-linux/issues/663
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-03-18 14:14:09 +01:00
Karel Zak 9113d6c1e6 docs: add col(1) to TODO
Addresses: https://github.com/karelzak/util-linux/issues/749
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-02-05 12:13:46 +01:00
Karel Zak 4644c7f3a3 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-01-18 11:14:38 +01:00
Karel Zak 189a1bf3b3 libmount: add support for MS_REMOUNT on --all
This patch add to support for remount-all operation to
libmount and mount(8).

For example:
	mount --all -o remount,ro -t vfat

to remount read-only all VFAT filesystems.

Addresses: https://github.com/karelzak/util-linux/issues/589
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-01-16 15:00:07 +01:00
Karel Zak 0bd05f5ee4 lsblk: add --merge
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-12-07 12:57:49 +01:00
Karel Zak 94d4c2dca4 docs: add lsblk --merge to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-12-07 12:33:34 +01:00
Karel Zak b4601f620c docs: add getopt to TODO
Addresses: https://github.com/karelzak/util-linux/issues/701
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-10-04 12:54:05 +02:00
Karel Zak 66620e411b docs: remove obsolete entry from TODO
Already implemented by commit cf654e1c3e.

Signed-off-by: Karel Zak <kzak@redhat.com>
2018-09-03 15:53:41 +02:00
Karel Zak cf96b08efa docs: add note about lsblk usage/free cols
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-08-24 12:04:24 +02:00
Karel Zak 6d0df9ceb4 docs: cleanup TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-08-24 11:28:43 +02:00
Karel Zak 2698f9ba88 column: add --table-empty-lines
The option allows to add empty line to the table. The default behavior
is to ignore empty lines at all.

echo -e "A\nAA\nAAA\n\nAAAA" | ./column --table
A
AA
AAA
AAAA

$ echo -e "A\nAA\nAAA\n\nAAAA" | ./column --table --table-empty-lines
A
AA
AAA

AAAA

Addresses: https://github.com/karelzak/util-linux/issues/593
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-08-23 13:34:43 +02:00
Awal Garg 757cefbb61 libfdisk: Accept negative numbers for last sector input
[kzak@redhat.com: - add note to the man page
                  - add '-' to the dialog query
                  - cleanup functions names and libfdisk.sym]

Signed-off-by: Karel Zak <kzak@redhat.com>
2018-07-31 14:54:12 +02:00
Karel Zak df4f1a6647 hwclock: add --delay <seconds>
* add command line option --delay <seconds>

* read RTC type from /sys/class/rtc/rtc<N>/name

* default to 0.5 (500ms) for rtc_cmos or when RTC type is impossible
  determine; otherwise delay is 0.

Signed-off-by: Karel Zak <kzak@redhat.com>
2018-07-18 13:59:15 +02:00
Karel Zak 342c66dee8 docs: add fdisk to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-07-17 12:10:37 +02:00
Karel Zak e8746956fc docs: add hwclock to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-07-17 11:58:09 +02:00
Karel Zak 917f53cf13 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-06-22 12:47:25 +02:00
Karel Zak be869840b1 docs: add note about lsblk to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-06-21 13:19:28 +02:00
Karel Zak 99ab05a6b4 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-06-11 16:28:59 +02:00
Karel Zak 6343ee8c10 script: record exit code
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-05-14 13:51:01 +02:00
Karel Zak 4d9b788d64 script: add more info to script header
This patch introduces [...] to store extra information about terminal
to the typescript header. For example:

  Script started on 2018-05-14 12:52:32+02:00 [TERM="xterm-256color" TTY="/dev/pts/3" COLS="190" LINES="53"]

or

  Script started on 2018-05-14 12:54:01+02:00 [<not executed on terminal>]

if stdout is not terminal.

Addresses: https://github.com/karelzak/util-linux/issues/583
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-05-14 12:51:50 +02:00
Karel Zak c068922a68 docs: add hint about script
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-05-14 12:05:20 +02:00
Karel Zak 8fa223daba choom: new command to adjust OOM-killer score value
Let's provide command line tool, man page with OOM description and
bash-completion. It seems better than force end-users to use "echo"
to /proc.

Addresses: https://github.com/karelzak/util-linux/issues/609
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-04-16 12:53:39 +02:00
Karel Zak 20a4807297 docs: update TODO (libblkid)
Addresses: https://github.com/karelzak/util-linux/issues/617
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-04-09 14:08:23 +02:00
Karel Zak 4e6bd9ad6a docs: update TODO (lsblk)
* remove NVMe-multipath lsblk issue (already fixed by kernel)
* add lsblk rewrite

Signed-off-by: Karel Zak <kzak@redhat.com>
2018-04-09 13:14:25 +02:00
Karel Zak b2c871f978 libsmartcols: improve JSON support (add types)
This commit add SCOLS_JSON_{NUMBER,STRING,BOOLEAN} to specify column
type for JSON output formatting.

Signed-off-by: Karel Zak <kzak@redhat.com>
2018-04-03 15:10:10 +02:00
Karel Zak fdeee3fc7a docs: add choom to TODO
Addresses: https://github.com/karelzak/util-linux/issues/609
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-27 19:05:13 +02:00
Karel Zak caa868345a docs: add cal(1) TODO items
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-03-27 13:44:04 +02:00
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 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 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 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
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 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 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 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 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