Commit Graph

336 Commits

Author SHA1 Message Date
Sanchit Saini cfb9934d5f
TODO: fix typo 2019-06-21 23:21:46 +05:30
Karel Zak 8c00a9107f docs: update v2.34-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-06-14 12:32:22 +02:00
Karel Zak 3282593d30 docs: add lscpu --caches to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-05-31 11:48:10 +02:00
Karel Zak f26ed90583 docs: update v2.34-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-05-30 12:01:36 +02:00
Karel Zak 5fcdf204b0 fstrim: affect only warnings by --quiet
We need the same return code from fstrim_filesystem() independently on
--quiet command line option.

Addresses: https://github.com/karelzak/util-linux/pull/791
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-05-09 13:59:54 +02:00
Karel Zak 6899ed8b7e docs: update v2.34-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-04-30 11:52:20 +02:00
Karel Zak 2c308875a7 misc: consolidate version printing and close_stdout()
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-04-16 15:14:13 +02:00
Karel Zak f1428af5be Merge branch 'spelling' of https://github.com/jwilk-forks/util-linux
* 'spelling' of https://github.com/jwilk-forks/util-linux:
  docs: fix typo
2019-04-02 12:05:25 +02:00
Jakub Wilk 25d9f1403d docs: fix typo
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2019-03-22 13:27:33 +01:00
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 a592edc4b6 docs: update v2.33-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-11-06 12:06:56 +01:00
Jakub Wilk 84bf1f6842 docs: fix typos
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2018-11-03 20:56:20 +01:00
Karel Zak 84b27596f4 docs: add info about branches; update travis.yml
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-10-24 13:02:59 +02:00
Karel Zak b8ccaf5dec docs: update v2.33-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-10-19 12:18:07 +02: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 78686983e0 docs: update v2.33-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-09-20 14:27:55 +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
Karel Zak 4189907e6c docs: use SPDX license names
Let's use standardized names for licenses. The names used by SPDX
makes things more obvious at first glance. For complete list see:
https://spdx.org/licenses/

Note, this commit does not change any license or so...

Signed-off-by: Karel Zak <kzak@redhat.com>
2018-08-16 14:47:21 +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 e236f61d7c docs: add note about --disable-all-programs
Addresses: https://github.com/karelzak/util-linux/issues/666
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-07-24 12:35:45 +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 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