summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-10-08docs: improve grammar and wording of the release-schedule textBenno Schulenberg1-22/+23
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08COPYING: fix grammar of referring phrase, and indicate location betterBenno Schulenberg5-9/+9
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: make two messages somewhat easier to understandBenno Schulenberg1-2/+2
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: tag a translator comment and put it in proper placeBenno Schulenberg1-6/+4
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: use consistent wording and punctuation in fdisk stuffBenno Schulenberg1-3/+3
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: change spelling of "disk label" to the more abundant "disklabel"Benno Schulenberg3-5/+5
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: use the standard angular brackets for non-literal argumentsBenno Schulenberg2-2/+2
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08libfdisk: (gpt) fix warningKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-08libfdisk/gpt: partly pluralize one messageBenno Schulenberg1-3/+5
And don't mention the largest when there is only one segment. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08wdctl: pluralize one thrice-repeated messageBenno Schulenberg1-3/+6
Also put in one hard space, to keep text and number separated when the translated string should be too long. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08wdctl: gettextize and pluralize one forgotten messageBenno Schulenberg1-1/+2
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08partx: correct three messagesBenno Schulenberg1-4/+4
Properly describing the partition type, using a verb instead of a noun, putting the blank line after the command options, and using the correct argument for --output. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08partx: pluralize one messageBenno Schulenberg1-1/+3
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08libfdisk/sgi: tweak and harmonize some message stringsBenno Schulenberg1-26/+25
Using consistent capitals and lowercase, adding missing periods and a missing space, repositioning commas for clarity, improving grammar, and aligning substrings for esthetics. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08libfdisk/sgi: tweak and harmonize some commentsBenno Schulenberg1-23/+17
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08libfdisk/sgi: properly pluralize three messagesBenno Schulenberg1-12/+20
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08mkfs.minix: properly pluralize four messagesBenno Schulenberg1-10/+6
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08wipefs: pluralize one messageBenno Schulenberg1-2/+4
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08su-common: pluralize one messageBenno Schulenberg1-1/+3
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08mcookie: pluralize two messagesBenno Schulenberg1-4/+6
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: properly use uppercase in certain abbreviationsBenno Schulenberg2-3/+3
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08hexsyntax: in help text, wrap argument of option -e in angular bracketsBenno Schulenberg1-1/+1
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-08textual: end both the singular and the plural message with a periodBenno Schulenberg1-1/+1
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-07libmount: (docs) make it obvious how we call mount.<type> helpersKarel Zak2-2/+22
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-04build-sys: use tinfo *or* ncurses for more(1), ul(1) and setterm(1)Karel Zak3-11/+38
* it seems that we don't have to link the utils with ncurses, tinfo is enough. This change saves one unnecessary dependence. * libtinfo is also distributed with pkg-config files, so we can use PKG_CHECK_MODULES() as a primary source for LIBS and CFLAGS. * add TINFO_CFLAGS (although it's probably always empty) Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-04libfdisk: cleanup warning messagesKarel Zak1-6/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-04docs: tweak the grammar of an agetty man-page fragmentBenno Schulenberg1-4/+4
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-04libfdisk: improve spelling of two commentsBenno Schulenberg1-2/+2
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-04agetty: use standard angular brackets in usage messageBenno Schulenberg1-2/+2
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-04build-sys: Fix check for __GNU_LIBRARY__Michael Forney1-1/+1
If we are not on glibc, __GNU_LIBRARY__ will not exist causing the check to always fail and try to use syscalls directly. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-04build-sys: Check for type sighandler_t and use if presentMichael Forney2-1/+9
__sighandler_t is libc implementation specific and should not be relied upon. Instead, we fall back upon void (*)(int), as specified by POSIX. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-04include: Add missing includesMichael Forney4-0/+6
sys/types.h: For u_char typedef sys/params.h: For MAXNAMLEN sys/ttydefaults.h: For various tty definitions (also add configure check) Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-04build-sys: Use _POSIX_VERSION to determine support for %mMichael Forney1-1/+7
%m is included in POSIX 2008, so we can check if the libc implements that before failing. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-03testsL fix py<libname> checkKarel Zak1-1/+1
Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-02su: fix caught_signal logic and initialize oldact [coverity scan]Karel Zak1-0/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-02fdisk: fix possible memleak [coverity scan]Karel Zak1-3/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-02lscpu: cleanup DMI code [coverity scan]Karel Zak2-37/+42
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-02docs: update TODOKarel Zak1-25/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01lscpu: check strchr() result [coverity scan]Karel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01lscpu: don't pass null pointer to string functions [coverity scan]Karel Zak1-3/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01libmount: remove dead code [coverity scan]Karel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01libblkid: use proper type in xfs log checker [coverity scan]Karel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01pylibmount: check for mnt_fs_get_tag() return value [coverity scan]Karel Zak1-1/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01pylibmount: make tab parsers more robust [coverity scan]Karel Zak1-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01utmpdump: make analyzers happyKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01last: check fstat() return [coverity scan]Karel Zak1-1/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01libmount: make mnt_table_replace_file() more robust [coverity scan]Karel Zak1-1/+13
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01fsck: don't print warning if there is no /etc/fstab at allKarel Zak1-4/+8
Reported-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-01losetup: don't require 512-byte aligned offsetsKarel Zak2-5/+7
Kernel aligns the device size, but the offset where the device starts is not required to be aligned. # losetup --offset 32 -f file.img is just fine, the final size of the look device will be (in sectors) (backing_file_size - offset) >> 9 so we have to do the same in userspace when we check for successful set capacity ioctl. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-30Merge branch 'master' of https://github.com/yurchor/util-linuxKarel Zak6-7/+7