Karel Zak
09e092ad5c
rtcwake: clean up usage
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-26 12:14:31 +01:00
Karel Zak
7528fae9e9
include/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-26 11:45:45 +01:00
Karel Zak
3a2f3e82bb
rtcwake: add --adjfile command line option
...
... for better compatibility with hwclock.
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-26 11:16:12 +01:00
Samuel Thibault
e4544ec1e4
sulogin: couple of obvious fixes for non-linux systems
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-26 10:54:10 +01:00
Sami Kerola
2ba83ec2e0
docs: arch is gone, use delpart as usage() function example
...
The arch.c was removed in commit 27abd809
.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-03-26 10:53:30 +01:00
Sami Kerola
fe20e5d14a
blkid: use xalloc.h when possible
...
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-03-26 10:53:28 +01:00
Karel Zak
fcc0413a12
mount: improve --move error message on shared trees
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-25 15:29:30 +01:00
Karel Zak
dcc15ce5af
libmount: add mnt_table_find_mountpoint()
...
This is more robust implementation of mnt_get_mountpoint() that does
not ignore bind mountpoints (mount --bind /mnt /mnt) as it does not
depend on st_dev numbers.
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-25 13:56:31 +01:00
Karel Zak
ece5d1136b
libmount: make libmount.h consistent with code
...
The function with nonnull attribute are silently optimized by gcc so
all "if (foo)" are removed if the "foo" is expected as non-null. It
make the code less usable and robust in some situations.
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-25 13:40:06 +01:00
Karel Zak
52a285bf4e
libmount: umount crashes when trying to umount a non-mountpoint
...
Reported-by: Mantas Mikulėnas <grawity@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-25 09:17:52 +01:00
Karel Zak
fb5a24e50a
build-sys: release++ (v2.23-rc1)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 12:34:28 +01:00
Karel Zak
2771954b53
build-sys: keep libuser optional
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 12:33:27 +01:00
Karel Zak
74edc12cbb
docs: upadte v2.23-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 10:17:16 +01:00
Karel Zak
d9e32a06a2
docs: add v2.23-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 01:01:17 +01:00
Karel Zak
e80d46b0d9
mount: fix typos in man page
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 23:56:35 +01:00
Karel Zak
095d0e0b45
docs: update AUTHORS file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 23:29:45 +01:00
Karel Zak
55032d7034
po: merge changes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 23:19:54 +01:00
Tomislav Krznar
0e768fc46a
po: add hr.po (from translationproject.org)
2013-03-21 23:08:23 +01:00
Trần Ngọc Quân
ab1c997421
po: update vi.po (from translationproject.org)
2013-03-21 23:08:23 +01:00
David Prévot
2720c08ce7
po: update fr.po (from translationproject.org)
2013-03-21 23:08:23 +01:00
Petr Pisar
c2ecb30e9b
po: update cs.po (from translationproject.org)
2013-03-21 23:08:23 +01:00
Karel Zak
bd7101d3ff
tests: update build tests
...
* remove ld-linux-* from output
* findmnt linked with libudev
* lslocks linked with libmount
* uuidd linked with librt
* static binaries are no more enabled by default
* chfn/chsh linked with libuser
* add nsenter, runuser, setpriv
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 22:35:11 +01:00
Karel Zak
95cf84f7cf
tests: add chfnsh build tests
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 22:34:35 +01:00
Karel Zak
eb6a03f3bf
build-sys: set dependence fdisk -> libfdisk -> libuuid
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 15:34:24 +01:00
Karel Zak
ec1204dc61
build-sys: lslocks depends on libmount
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 13:13:23 +01:00
Karel Zak
1f6ec24ce5
build-sys: don't use libs from pkg-config from libuser
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 13:12:52 +01:00
Karel Zak
b4770708d5
build-sys: don't use nested BUILD_*
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 13:11:09 +01:00
Karel Zak
5724b74dd8
hwclock: cleanup _() usage in synchronize_to_clock_tick_rtc()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 08:56:15 +01:00
Karel Zak
ab8f402952
hwclock: don't confuse users with select() timeout warning
...
Reported-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 08:51:22 +01:00
Karel Zak
60d72321ec
raw: fix "Error setting raw device: Success"
...
# raw /dev/raw/raw1 253 40
raw: Error setting raw device:Success
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=923820
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 08:25:35 +01:00
Karel Zak
46e7eac121
fdisk: remove unwanted operator [smatch scan]
...
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 08:12:35 +01:00
Karel Zak
7d8ea9df69
ipcs: fix compiler warning [clang -Wuninitialized]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-20 15:20:47 +01:00
Karel Zak
3d13d5823f
script: use __noreturn__ for really last function [clang -Winvalid-noreturn]
...
Use 'noreturn' for done() only.
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-20 15:20:18 +01:00
Karel Zak
312f04f497
build-sys: check for security_get_initial_context()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-20 14:59:21 +01:00
Karel Zak
d06f321df1
libfdisk: (gpt) rmeove xalloc calls
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-20 14:46:03 +01:00
Karel Zak
5ad0923904
remove duplicate includes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-20 14:40:19 +01:00
Benno Schulenberg
631e8be793
docs: add AVAILABILITY section to isosize man page, and tweak wording
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:09:24 +01:00
Benno Schulenberg
9c91fc03ae
docs: make the section AVAILABILITY always come last in man pages
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:09:24 +01:00
Benno Schulenberg
eae1ef2f20
docs: normalize formatting of lslocks man page
...
Also alphabetize the options and improve some wording.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:09:23 +01:00
Benno Schulenberg
1faf44f013
docs: normalize formatting of wipefs man page
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:09:23 +01:00
Benno Schulenberg
4b44c245dd
docs: normalize formatting of findmnt man page
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:08:03 +01:00
Benno Schulenberg
469202cdc3
docs: sort the options in findmnt man page alphabetically
...
Also improve wording and formatting a bit.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:08:03 +01:00
Benno Schulenberg
a9b2c52f77
blkid: also accept -V for displaying version information
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:08:03 +01:00
Benno Schulenberg
bc88ad1a5f
docs: improve wording and formatting of blkid man page
...
Furthermore, explain the device argument right at the beginning,
since it is not an option, and alphabetize -k.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:08:03 +01:00
Pádraig Brady
36c7f78524
lib/mbsalign: correct license header from GPLv[23] to LGPLv2+
...
* lib/mbsalign.c: s/GPLv3/LGPLv2+/
* include/mbsalign.h: s/GPLv2/LGPLv2+/
* README.licensing: Remove mention GPLv3 as it's not actually used.
2013-03-20 14:03:28 +01:00
Karel Zak
f84559ee1c
whereis: canonicalize directories paths
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-20 11:52:35 +01:00
Karel Zak
38db00f178
wipefs: add -f to getopt_long()
...
Reported-by: Dan Horák <dhorak@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-19 22:53:16 +01:00
Karel Zak
f2be51a211
docs: add wipefs feature request to TODO
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-19 22:45:51 +01:00
Sami Kerola
d6590ebd70
docs: generic whereis.1 clean up
...
Align with howto-man-page.txt, and more importantly remove out dated 'SEE
ALSO' and 'BUGS' sections.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-03-19 16:10:03 +01:00
Sami Kerola
ccec32a121
whereis: support MANPATH environment variable
...
The MANPATH has been around long enough that it can be added to whereis
default search path.
Reference: manpath(1)
Addresses: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-19 16:09:38 +01:00