]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
12 years agocal: support --color[={auto,always,never}]
Sami Kerola [Tue, 7 May 2013 20:34:57 +0000 (21:34 +0100)] 
cal: support --color[={auto,always,never}]

Similar with dmesg commit 9bc2b51a06dc9cf6244106ac489ab08a91fd4360.

CC: Pádraig Brady <P@draigBrady.com>
Reviewed-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocal: de-duplicate julian specific functions
Sami Kerola [Sun, 28 Apr 2013 13:09:50 +0000 (14:09 +0100)] 
cal: de-duplicate julian specific functions

The cost is a little bit more complex functions, while the benefit is
couple data flows fewer to mind about.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocal: remove unnecessary initializations
Sami Kerola [Sun, 28 Apr 2013 11:47:55 +0000 (12:47 +0100)] 
cal: remove unnecessary initializations

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocal: simplify calendar reformat calculations
Sami Kerola [Sun, 28 Apr 2013 10:59:59 +0000 (11:59 +0100)] 
cal: simplify calendar reformat calculations

The only September 1752 offset calculation that is necessary is whether
Sun or Mon is the first day of the week.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agotests: add calendar reformation check
Sami Kerola [Sun, 28 Apr 2013 10:19:28 +0000 (11:19 +0100)] 
tests: add calendar reformation check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocal: clean up use of constants
Sami Kerola [Sun, 28 Apr 2013 08:06:40 +0000 (09:06 +0100)] 
cal: clean up use of constants

The commit also adds few new symbolic names, such as DAYS_IN_WEEK.  While
these definitions may look a little too trivial to have I am sure they
ease understanding what is going on in code where they are used.

Reviewed-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocal: convert function like definitions to functions
Sami Kerola [Sat, 27 Apr 2013 21:51:35 +0000 (22:51 +0100)] 
cal: convert function like definitions to functions

Reviewed-by: Thomas Bächler <thomas@archlinux.org>
Reviewed-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocal: fix preprocessor directive indendation
Sami Kerola [Sat, 27 Apr 2013 21:09:24 +0000 (22:09 +0100)] 
cal: fix preprocessor directive indendation

And code within the blocks selected by preprocessor to be live code.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoagetty: allow full control on CLOCAL flag
Karel Zak [Thu, 23 May 2013 07:25:06 +0000 (09:25 +0200)] 
agetty: allow full control on CLOCAL flag

Now the -L option allows to explicitly enable CLOCAL flag.

Unfortunately sometimes it's necessary to clear the flag. This patch
add optional argument =<mode> to specify 'auto', 'always' and 'never'
to control CLOCAL flag.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=816342
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agotests: new warning fix
Gilles Espinasse [Mon, 13 May 2013 14:52:28 +0000 (16:52 +0200)] 
tests: new warning fix

2.23 added -Wstrict-prototypes check. Fix make check showing
CC tests/helpers/test_md5.o
tests/helpers/test_md5.c:8: warning: function declaration isn't a prototype

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
12 years agoutil-linux minor typo fixes
Gilles Espinasse [Mon, 13 May 2013 14:51:08 +0000 (16:51 +0200)] 
util-linux minor typo fixes

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
12 years agobuild-sys: always check for setns() and unshare() libs functions
Karel Zak [Tue, 21 May 2013 09:32:29 +0000 (11:32 +0200)] 
build-sys: always check for setns() and unshare() libs functions

 $ ./configure --disable-unshare
 $ make nsenter

  CC       sys-utils/nsenter.o
In file included from sys-utils/nsenter.c:36:0:
./include/namespace.h:31:19: error: static declaration of ‘unshare’ follows non-static declaration
In file included from /usr/include/sched.h:42:0,
                 from sys-utils/nsenter.c:23:
/usr/include/bits/sched.h:86:12: note: previous declaration of ‘unshare’ was here
make: *** [sys-utils/nsenter.o] Error 1

We have to always check for the libc function independently on
--disable-{unshare,nsenter} to avoid collision between local and libc
declarations.

Reported-by: "Gabor Z. Papp" <gzp@papp.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolscpu: add virtualization types
Karel Zak [Mon, 20 May 2013 14:41:19 +0000 (16:41 +0200)] 
lscpu: add virtualization types

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolscpu: detect more hypervisor vendors
Ondrej Oprala [Mon, 22 Apr 2013 12:18:24 +0000 (08:18 -0400)] 
lscpu: detect more hypervisor vendors

[kzak@redhat.com: - cleanup coding style,
                  - use path_exist()]

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agocfdisk: add long options to the command
Sami Kerola [Sat, 13 Apr 2013 19:54:32 +0000 (20:54 +0100)] 
cfdisk: add long options to the command

Includes update to bash completion, and manual as well.

[kzak@redhat.com: - remove <<< syntax from bash-completion script]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosfdisk: don't call BLKRRPART for non-block devices
Karel Zak [Mon, 20 May 2013 11:10:52 +0000 (13:10 +0200)] 
sfdisk: don't call BLKRRPART for non-block devices

Reported-by: Bertrand Jacquin <beber@meleeweb.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agouuidd: clean up error messages
Karel Zak [Tue, 14 May 2013 22:18:27 +0000 (00:18 +0200)] 
uuidd: clean up error messages

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomkfs.cramfs: use standard error message
Karel Zak [Tue, 14 May 2013 21:54:07 +0000 (23:54 +0200)] 
mkfs.cramfs: use standard error message

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agohwclock: use warn() to print cmos errors
Karel Zak [Tue, 14 May 2013 21:41:32 +0000 (23:41 +0200)] 
hwclock: use warn() to print cmos errors

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: use err.h in test
Karel Zak [Tue, 14 May 2013 21:40:51 +0000 (23:40 +0200)] 
libmount: use err.h in test

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agochcpu: clean up error messages
Karel Zak [Tue, 14 May 2013 21:33:59 +0000 (23:33 +0200)] 
chcpu: clean up error messages

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosulogin: clean up error messages
Karel Zak [Tue, 14 May 2013 21:29:09 +0000 (23:29 +0200)] 
sulogin: clean up error messages

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibblkid: add ReFS magic string
Karel Zak [Tue, 14 May 2013 13:51:35 +0000 (15:51 +0200)] 
libblkid: add ReFS magic string

Reported-by: "Richard W.M. Jones" <rjones@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoblkid: fix typo in ID_FS_AMBIVALEN=
Karel Zak [Tue, 14 May 2013 13:03:30 +0000 (15:03 +0200)] 
blkid: fix typo in ID_FS_AMBIVALEN=

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: don't ignore root fs on umount -a
Karel Zak [Tue, 14 May 2013 08:32:56 +0000 (10:32 +0200)] 
libmount: don't ignore root fs on umount -a

The release v2.22 (the new umount) introduces a regression when root
fs is excluded from umount --all. There is not reason for this
exception. The libmount should be smart enough to disable mtab update
after rootfs umount.

Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib/tty: don't hardcode terminal fd in get_terminal_name()
Karel Zak [Mon, 13 May 2013 13:40:57 +0000 (15:40 +0200)] 
lib/tty: don't hardcode terminal fd in get_terminal_name()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agostandard SEE ALSO section of man pages
Mike Frysinger [Wed, 8 May 2013 22:12:04 +0000 (18:12 -0400)] 
standard SEE ALSO section of man pages

The standard format is to seperate each entry with a comma, and
for each one to be on a line by itself.  Most util-linux pages
follow this, but a few do not.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agolsblk: add SERIAL column
Karel Zak [Mon, 13 May 2013 11:33:41 +0000 (13:33 +0200)] 
lsblk: add SERIAL column

 ... to return short serial number of the disk (from udev db)

Addresses: https://github.com/karelzak/util-linux/issues/33
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agotests: add losetup tests
Karel Zak [Mon, 13 May 2013 11:13:24 +0000 (13:13 +0200)] 
tests: add losetup tests

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolosetup: add --raw and --noheadings
Karel Zak [Mon, 13 May 2013 10:00:24 +0000 (12:00 +0200)] 
losetup: add --raw and --noheadings

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolosetup: use warn_size() for regular files only
Karel Zak [Mon, 13 May 2013 09:00:47 +0000 (11:00 +0200)] 
losetup: use warn_size() for regular files only

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib/loopdev: fix loopcxt_check_size() to work with blkdevs
Karel Zak [Mon, 13 May 2013 08:54:41 +0000 (10:54 +0200)] 
lib/loopdev: fix loopcxt_check_size() to work with blkdevs

The loopcxt_check_size() is workaround for kernels < v3.9, kernel has
been fixed by commit 541c742a7559eb65f0e36d3e2338c2ca532a3e61.

The function sets loopdev size according to backing file size. The
problem is that the backing file could be a block device where
stat.st_size is zero, so we have to use blkdev_get_size() for block
devices.

Addresses: https://bugs.archlinux.org/task/35193
Reported-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibfdisk: don't re-allocate range string in Ask API
Karel Zak [Thu, 9 May 2013 11:19:58 +0000 (13:19 +0200)] 
libfdisk: don't re-allocate range string in Ask API

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibfdisk: do not use va_list in the Ask API
Karel Zak [Thu, 9 May 2013 11:06:02 +0000 (13:06 +0200)] 
libfdisk: do not use va_list in the Ask API

  # fdisk /dev/sda
  Welcome to fdisk (util-linux 2.23).

  [...]

  Command (m for help): a
  Segmentation fault (core dumped)

It's too fragile, the va_list implementation is architecture specific
and it seems we need such thing in libfdisk at all.

Reported-by: "Gabor Z. Papp" <gzp@papp.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: use MS_SILENT for /{proc,etc}/filesystems
Karel Zak [Thu, 9 May 2013 07:22:50 +0000 (09:22 +0200)] 
libmount: use MS_SILENT for /{proc,etc}/filesystems

mount(8) needs to be doing silent mounts when doing this brute
forcing or when the filesystem is not explicitly specified.

Reported-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: use -Wno-clobbered for some BSD crap
Karel Zak [Tue, 7 May 2013 07:50:22 +0000 (09:50 +0200)] 
build-sys: use -Wno-clobbered for some BSD crap

 * extend UL_WARN_ADD() for accept non-default CFLAGS variable
 * add BSD_WARN_CFLAGS with -Wno-clobbered
 * use all this for pg(1) and more(1)

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib/colors: add colormode_or_err()
Karel Zak [Tue, 7 May 2013 07:09:35 +0000 (09:09 +0200)] 
lib/colors: add colormode_or_err()

... to make the code easy to use in utils.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoprlimit: delete rem_prlim prototype
Davidlohr Bueso [Sun, 5 May 2013 19:46:51 +0000 (12:46 -0700)] 
prlimit: delete rem_prlim prototype

We can just move the function up before any of its callers.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
12 years agodocs: note ddate removal
Mike Frysinger [Sat, 4 May 2013 04:49:34 +0000 (00:49 -0400)] 
docs: note ddate removal

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agodmesg: fix usage() typo
Sami Kerola [Thu, 2 May 2013 18:55:03 +0000 (19:55 +0100)] 
dmesg: fix usage() typo

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agodmesg: support --color[={auto,always,never}]
Karel Zak [Mon, 6 May 2013 17:11:28 +0000 (19:11 +0200)] 
dmesg: support --color[={auto,always,never}]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib/colors: add support for auto, always and never modes
Karel Zak [Mon, 6 May 2013 17:07:23 +0000 (19:07 +0200)] 
lib/colors: add support for auto, always and never modes

 ... to implement --color[=<when>]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosu: consistent angular brackets and lowercase in help text of 'su'
Benno Schulenberg [Mon, 22 Apr 2013 08:06:36 +0000 (10:06 +0200)] 
su: consistent angular brackets and lowercase in help text of 'su'

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
12 years agolibblkid: fix blkid_parse_tag_string() to ignore incomplete tags
Karel Zak [Mon, 6 May 2013 15:20:03 +0000 (17:20 +0200)] 
libblkid: fix blkid_parse_tag_string() to ignore incomplete tags

fstab entry:

    FOO=     /       btrfs  defaults       1 1

Program received signal SIGABRT, Aborted.
0x00007f016ccd8819 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56   return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:196

Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agotextual: fixing typos in a warning and an error message
Benno Schulenberg [Fri, 19 Apr 2013 18:14:59 +0000 (20:14 +0200)] 
textual: fixing typos in a warning and an error message

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
12 years agocfdisk: fix ambiguous code
Karel Zak [Fri, 26 Apr 2013 11:54:24 +0000 (13:54 +0200)] 
cfdisk: fix ambiguous code

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: add --disable-setterm
Karel Zak [Fri, 26 Apr 2013 11:47:54 +0000 (13:47 +0200)] 
build-sys: add --disable-setterm

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: (test) check writing to a file was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:43 +0000 (20:54 +0100)] 
libmount: (test) check writing to a file was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agowall: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:55:01 +0000 (20:55 +0100)] 
wall: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoswapon: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:55:00 +0000 (20:55 +0100)] 
swapon: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agosetpriv: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:59 +0000 (20:54 +0100)] 
setpriv: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agofallocate: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:58 +0000 (20:54 +0100)] 
fallocate: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoswaplabel: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:57 +0000 (20:54 +0100)] 
swaplabel: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agomkswap: unify write check to a file descriptor
Sami Kerola [Sat, 13 Apr 2013 19:54:56 +0000 (20:54 +0100)] 
mkswap: unify write check to a file descriptor

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agomkfs.minix: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:55 +0000 (20:54 +0100)] 
mkfs.minix: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agomkfs.cramfs: unify write check to a file descriptor
Sami Kerola [Sat, 13 Apr 2013 19:54:54 +0000 (20:54 +0100)] 
mkfs.cramfs: unify write check to a file descriptor

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agomkfs.bfs: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:53 +0000 (20:54 +0100)] 
mkfs.bfs: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agofsck.minix: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:52 +0000 (20:54 +0100)] 
fsck.minix: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agofsck.cramfs: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:51 +0000 (20:54 +0100)] 
fsck.cramfs: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agowdctl: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:50 +0000 (20:54 +0100)] 
wdctl: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agosfdisk: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:49 +0000 (20:54 +0100)] 
sfdisk: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocfdisk: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:48 +0000 (20:54 +0100)] 
cfdisk: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoresizepart: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:47 +0000 (20:54 +0100)] 
resizepart: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agopartx: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:46 +0000 (20:54 +0100)] 
partx: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agofdformat: check writing to a file descriptor was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:45 +0000 (20:54 +0100)] 
fdformat: check writing to a file descriptor was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoinclude: add close_fd() for noticing write errors before close()
Sami Kerola [Sat, 13 Apr 2013 19:54:44 +0000 (20:54 +0100)] 
include: add close_fd() for noticing write errors before close()

Essentially this helper function is similar to close_stream(), but for
file descriptors.

When a file descriptors are close()'d status of write is often
overlooked.  The close_fd() will try to determine what happen to writes
with fsync() before closing the file descriptor.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agolibblkid: check writing to a file was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:42 +0000 (20:54 +0100)] 
libblkid: check writing to a file was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agopg: check writing to a file was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:41 +0000 (20:54 +0100)] 
pg: check writing to a file was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoagetty: check writing to a file was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:40 +0000 (20:54 +0100)] 
agetty: check writing to a file was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agosetpriv: check writing to a file was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:39 +0000 (20:54 +0100)] 
setpriv: check writing to a file was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocfdisk: check writing to a file was successful
Sami Kerola [Sat, 13 Apr 2013 19:54:38 +0000 (20:54 +0100)] 
cfdisk: check writing to a file was successful

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agosetsid: exit when control terminal cannot be set
Sami Kerola [Sat, 13 Apr 2013 19:54:37 +0000 (20:54 +0100)] 
setsid: exit when control terminal cannot be set

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agohexdump: add long options to the command
Sami Kerola [Sat, 13 Apr 2013 19:54:36 +0000 (20:54 +0100)] 
hexdump: add long options to the command

Includes update to bash completion, and manual as well.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agosetpriv: allow login and group name option arguments
Sami Kerola [Sat, 13 Apr 2013 19:54:34 +0000 (20:54 +0100)] 
setpriv: allow login and group name option arguments

For an average user names are easier to use than uid and gid numbers.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoutmpdump: add option to write to a file
Sami Kerola [Sat, 13 Apr 2013 19:54:31 +0000 (20:54 +0100)] 
utmpdump: add option to write to a file

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoblkid, hwclock, ldattach: use program_invocation_short_name
Sami Kerola [Sat, 13 Apr 2013 19:54:30 +0000 (20:54 +0100)] 
blkid, hwclock, ldattach: use program_invocation_short_name

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agobash-completion: add mount and umount
Sami Kerola [Sat, 13 Apr 2013 19:54:29 +0000 (20:54 +0100)] 
bash-completion: add mount and umount

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoFix various typos
Yuri Chornoivan [Thu, 11 Apr 2013 17:51:39 +0000 (20:51 +0300)] 
Fix various typos

12 years agowipefs: clean up code
Karel Zak [Fri, 26 Apr 2013 10:43:31 +0000 (12:43 +0200)] 
wipefs: clean up code

This is C, use int & bits for boolean stuff rather than army of
variables.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agowipefs: add --backup
Ondrej Oprala [Wed, 10 Apr 2013 16:21:27 +0000 (18:21 +0200)] 
wipefs: add --backup

[kzak@redhat.com: - don't wipe if failed to create a backup file
                  - use ts_scsi_debug_init in the regression tests]

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agotests: partx tests cleanup
Karel Zak [Fri, 26 Apr 2013 08:38:33 +0000 (10:38 +0200)] 
tests: partx tests cleanup

 * use ts_scsi_debug_init

 * use headers in output

 * use udevadm

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agotests: add partx regression tests
Ondrej Oprala [Wed, 10 Apr 2013 13:27:59 +0000 (15:27 +0200)] 
tests: add partx regression tests

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
12 years agobuild-sys: release++ (v2.23) v2.23
Karel Zak [Thu, 25 Apr 2013 09:53:41 +0000 (11:53 +0200)] 
build-sys: release++ (v2.23)

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: update v2.23-ReleaseNotes
Karel Zak [Thu, 25 Apr 2013 09:52:32 +0000 (11:52 +0200)] 
docs: update v2.23-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: update AUTHORS file
Karel Zak [Thu, 25 Apr 2013 09:50:12 +0000 (11:50 +0200)] 
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agopo: merge changes
Karel Zak [Thu, 25 Apr 2013 09:46:46 +0000 (11:46 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agopo: update uk.po (from translationproject.org)
Yuri Chornoivan [Thu, 25 Apr 2013 09:24:08 +0000 (11:24 +0200)] 
po: update uk.po (from translationproject.org)

12 years agopo: update pl.po (from translationproject.org)
Jakub Bogusz [Thu, 25 Apr 2013 09:24:08 +0000 (11:24 +0200)] 
po: update pl.po (from translationproject.org)

12 years agopo: update nl.po (from translationproject.org)
Benno Schulenberg [Thu, 25 Apr 2013 09:24:08 +0000 (11:24 +0200)] 
po: update nl.po (from translationproject.org)

12 years agopo: update hr.po (from translationproject.org)
Tomislav Krznar [Thu, 25 Apr 2013 09:24:08 +0000 (11:24 +0200)] 
po: update hr.po (from translationproject.org)

12 years agopo: update fr.po (from translationproject.org)
David Prévot [Thu, 25 Apr 2013 09:24:07 +0000 (11:24 +0200)] 
po: update fr.po (from translationproject.org)

12 years agopo: update da.po (from translationproject.org)
Joe Hansen [Thu, 25 Apr 2013 09:24:07 +0000 (11:24 +0200)] 
po: update da.po (from translationproject.org)

12 years agopo: update cs.po (from translationproject.org)
Petr Písař [Thu, 25 Apr 2013 09:24:07 +0000 (11:24 +0200)] 
po: update cs.po (from translationproject.org)

12 years agotests: make mount tests backwardly compatible with deprecated-mount/
Karel Zak [Thu, 25 Apr 2013 09:07:05 +0000 (11:07 +0200)] 
tests: make mount tests backwardly compatible with deprecated-mount/

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomount: (deprecated) check loopcxt_ return values
Karel Zak [Thu, 25 Apr 2013 09:06:12 +0000 (11:06 +0200)] 
mount: (deprecated) check loopcxt_ return values

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomount: (deprecated) remove duplicate xstrndup()
Karel Zak [Thu, 25 Apr 2013 09:05:33 +0000 (11:05 +0200)] 
mount: (deprecated) remove duplicate xstrndup()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: use 'check' for all utils with dependencies
Karel Zak [Thu, 25 Apr 2013 07:26:43 +0000 (09:26 +0200)] 
build-sys: use 'check' for all utils with dependencies

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoAUTHORS: fix prlimit typo
Davidlohr Bueso [Wed, 24 Apr 2013 03:28:30 +0000 (20:28 -0700)] 
AUTHORS: fix prlimit typo

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
12 years agolibfdisk: gpt: remove leftover comments
Davidlohr Bueso [Wed, 24 Apr 2013 03:27:26 +0000 (20:27 -0700)] 
libfdisk: gpt: remove leftover comments

I must have left those in some commit.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
12 years agortcwake: pass -h to shutdown
Mike Frysinger [Wed, 24 Apr 2013 03:23:21 +0000 (23:23 -0400)] 
rtcwake: pass -h to shutdown

The sysvinit shutdown requires you use -h when using -H or -P.
Other inits just don't seem to care.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>