summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libsmartcols: don't colorize tree ascii artKarel Zak2014-04-151-8/+40
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/mbalign: report also size in bytesKarel Zak2014-04-152-10/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: don't mix width (in cells) and size (in bytes)Karel Zak2014-04-151-7/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: resuse buffer for encoded dataKarel Zak2014-04-151-9/+30
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/mbsalign: split mbs_safe_encode()Karel Zak2014-04-152-12/+36
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: fix return codes from PART_ENTRY_* probingKarel Zak2014-04-151-1/+11
| | | | | | | | | | | | | | | | The partitions prober does two step: 1) probe the assigned device for partition table 2) probe whole-disk device for partition table if the assigned device is a partition (this generates PART_ENTRY_* results for blkid -p -o udev)) The step 2) is optional and the return code from this probing should not override success (rc=0) from the step 1) -- except situations when the step 2) ends with I/O error or when the step 1) found nothing, but 2) was successful. Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: fix paddingKarel Zak2014-04-141-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: use buffer struct in table_print.cKarel Zak2014-04-141-110/+208
| | | | | | | | * consolidate code in table_print.c * make the code easy to extend * use return codes everywhere Signed-off-by: Karel Zak <kzak@redhat.com>
* delpart: minor man page improvementsOndrej Oprala2014-04-141-1/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* cfdisk: minor man page improvementsOndrej Oprala2014-04-141-12/+12
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* addpart: minor man page improvementsOndrej Oprala2014-04-141-4/+4
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* vipw: minor man page improvementsOndrej Oprala2014-04-141-1/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* nologin: minor man page improvementsOndrej Oprala2014-04-141-5/+5
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* utmpdump: minor man page improvementsOndrej Oprala2014-04-141-12/+12
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* sulogin: minor man page improvementsOndrej Oprala2014-04-141-1/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* su: fix minor typos in the man pageOndrej Oprala2014-04-141-10/+10
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* runuser: fix minor typos in the man pageOndrej Oprala2014-04-141-14/+14
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* last: fix minor typos in the man pageOndrej Oprala2014-04-141-16/+16
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libsmartcols: improve line and cell separatorsKarel Zak2014-04-143-17/+22
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'scols' of git://github.com/ooprala/util-linuxKarel Zak2014-04-147-9/+125
|\
| * libsmartcols: add separator getters/settersOndrej Oprala2014-04-147-9/+125
| | | | | | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* | fstrim: add hint to man pageKarel Zak2014-04-101-0/+9
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | fstrim: daily -> weekly in systemd timerKarel Zak2014-04-101-2/+3
| | | | | | | | | | | | | | * add link to fstrimg man page * less aggressive frequency Signed-off-by: Karel Zak <kzak@redhat.com>
* | Revert "build-sys: gettexts 0.18 -> 0.18.2 due to MKDIR_P"Karel Zak2014-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0576dbd3ea114dc35b797ad7216f1ed5814e7c6b. There is two possible ways: 1/ autotools complains that gettext 0.18 uses deprecated macro 2/ users complain that 0.18.2 is too new and they cannot rebuild We care about users and project contributors, so let's live for the next util-linux release with the old stupid gettext 0.18. Signed-off-by: Karel Zak <kzak@redhat.com>
* | build-sys: consolidate systemd supportKarel Zak2014-04-095-45/+45
|/ | | | | | | | | | | | | | | * systemd (since v209) uses only one library (when compiled without --enable-compat-libs) * all systemd build-sys stuff is merged into HAVE_SYSTEMD (automake) and HAVE_LIBSYSTEMD (C macro) now * all is controlled by --with-systemd, default is to automatically check for systemd libs * no more --enable-socket-activation and --enable-journald Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix fstrim systemd stuffKarel Zak2014-04-081-4/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: rewrite test code to tree(1)-like utilKarel Zak2014-04-082-115/+191
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: (dos) make EBR parser more robustKarel Zak2014-04-081-5/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: improve docsKarel Zak2014-04-078-11/+33
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: add debug and version functionsKarel Zak2014-04-079-4/+146
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: remove private function from docsKarel Zak2014-04-071-7/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix .h.in usage in libblkid and libmountKarel Zak2014-04-072-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: Fix ppc64le architecturesAnton Blanchard2014-04-071-0/+6
| | | | | | | setarch currently fails on ppc64le because it tries to use big endian architecture names. Fix it. Signed-off-by: Anton Blanchard <anton@samba.org>
* umount: fix typo in usageJonathan Liu2014-04-071-1/+1
| | | | Signed-off-by: Jonathan Liu <net147@gmail.com>
* fstrim: add systemd unitsThomas Bächler2014-04-074-0/+23
| | | | | | | | This adds a timer and a service for systemd that runs fstrim -a once a day. The Persistent=true option used will only work on systemd 212 or newer.
* login: fix minor typos in the man pageOndrej Oprala2014-04-071-16/+16
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* mkswap: Some minor typographical corrections to the manualBjarni Ingi Gislason2014-04-071-7/+7
| | | | | | | | | | | | | | -- changed to \(en (an en-dash) if it is a dash (pause, separation) - changed to \- if it indicates an option A full stop (.), that begins or ends a string, protected with \& Space between sentences corrected to two word spaces -- changed to \-\- if it indicates an option Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs.minix: Some typographical changes in the manualBjarni Ingi Gislason2014-04-071-4/+4
| | | | | | - between numbers changed to \(en if it is a range Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs.cramfs: Some typographical corrections to the manualBjarni Ingi Gislason2014-04-071-3/+3
| | | | | | | | | | | | The unit "MB" is ambigous. Use "MiB" if "M" does not mean 10^6. Otherwise add "(M = 10^6)" after it. Changes: Unpaddable space (\ ) added between a number and an unit. A nuber and a unit are not one word. Is "16MB" written "sixteenmegabytes"? Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs.bfs: One typographical correction to the manualBjarni Ingi Gislason2014-04-071-1/+1
| | | | | | - between numbers changed to \(en (an en-dash) Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs: Some typographical changes to the manualBjarni Ingi Gislason2014-04-071-1/+3
| | | | | | | | | | - changed to \- if it means an option A full stop (.), that begins or ends a string, protected with \& No line adjustment used for section "SEE ALSO" (.na/.ad) Signed-off-by: Karel Zak <kzak@redhat.com>
* isosize: A few typographical changes to the manualBjarni Ingi Gislason2014-04-071-2/+2
| | | | | | | | | A full stop (.), that begins or ends a string, protected with \& A space between a number and an unit changed to an unpaddable space "\ " Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck.minix: A few typographical corrections to the manualBjarni Ingi Gislason2014-04-071-5/+5
| | | | | | | | - between numbers changed to \(en if it means a range A full stop (.), that begins or ends a string, protected with \& Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: Some typographical corrections to the manualBjarni Ingi Gislason2014-04-071-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | The word "kilobytes" is ambiguous. Change it to "kibibytes" if kilo does not mean 1000. Otherwise add "(1000 B)" after it. A string, that begins or ends with a full stop (.), protected with \& - changed to \- if it shows an option -- change to \(en if it means a dash (pause, separation) Space between sentences is two word spaces in *roff. Thus it is better to begin each sentence on a new line when the file contains formatting commands --- changed to \(en if it means a dash (pause, separation) Punctuation separated from a word with a space, if it is an argument to a macro like "BR" (two font styles used alternately) Adjusting inhibited for the section "SEE ALSO" with ".na/.ad" Signed-off-by: Karel Zak <kzak@redhat.com>
* fdformat: Some minor change to the manualBjarni Ingi Gislason2014-04-071-1/+1
| | | | | | | | | | | \- changed to - (code "hyphen-minus", rendered with the glyph hyphen in troff) if it is a part of a compound name. A minus is not used in words. People using UTF-8 and copy-and-pase can(?) (may?) use "info", "man --ascii" or the command "man" should have an option to display the - in names of options with the code (character name) "hyphen-minus" (u002D) instead of "u2010" (code (character) name "hyphen") Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: Some minor corrections to the manualBjarni Ingi Gislason2014-04-071-9/+9
| | | | | | | | | | | | | | | Macro, that alternately changes the input between two font styles, changed to the macro for one font style change, if there is only one argument Text string, that begins or ends with a full stop (.) protected with \& -- changed to \-\- if it is an option - changed to \(en if it is a dash (pause, seperation) Signed-off-by: Karel Zak <kzak@redhat.com>
* mount.8: Some typographical and prefix corrections to the manualBjarni Ingi Gislason2014-04-071-195/+199
| | | | | | | | | | | | | | | | | | | | | I forgot to add the patch to the attachment. Additional changes to "Changes:" " \(em " changed to " \(en ", as the em-dash with a word space on each side is to long (troff) ".na/.ad" is not used but .nf/.fi for a long command line and it is split into two lines Word "illegal" is changed to "invalid" Word "hyphen-separated" is changed to '"hyphen-minus"-separated' as the meaning is the code and not the glyph (on the command line) (beware of UTF-8) -- Bjarni I. Gislason
* mount: apply "nofail" to MNT_ERR_NOSOURCE libmount errorKarel Zak2014-04-072-0/+7
| | | | | | | | | | | | | fstab: UUID=nonexist /mnt/nonexist1 ext4 nofail 0 1 # mount -av mount: can't find UUID=nonexist .. this is bug of course. Reported-by: Patrick McLean <chutzpah@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* umount: more robust success message for --allKarel Zak2014-04-071-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: fix --all and nofail return codeKarel Zak2014-04-071-4/+6
| | | | | | | | | Now the "nofail" affects warnings warning messages only. That's wrong and regression (against original non-libmount version). The nofail has to control return code too. Reported-by: Patrick McLean <chutzpah@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>