]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
14 years agolscpu: fix fallback nthreads calculation
Heiko Carstens [Wed, 10 Aug 2011 08:34:29 +0000 (10:34 +0200)] 
lscpu: fix fallback nthreads calculation

The fallback calculation of nthreads did not consider books.
In order to avoid division/multiply by/with zero make sure each number
used is at least "1".

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
14 years agolscpu: fix cpu map array sizes
Heiko Carstens [Wed, 10 Aug 2011 08:34:28 +0000 (10:34 +0200)] 
lscpu: fix cpu map array sizes

Completely virtualized architectures like s390 may have multiple
virtual sockets and/or cores where each of them has a different
number of cores and cpus.
So the general assumption within the allocation scheme that e.g.
each socket contains the same number of cores is not necessarily
true. To make sure the arrays are always large enough we simply
allocate enough memory so that each array could hold cpu masks
for all present cpus.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
14 years agolscpu: fix s390 bogomips detection coding style
Heiko Carstens [Wed, 10 Aug 2011 08:34:27 +0000 (10:34 +0200)] 
lscpu: fix s390 bogomips detection coding style

Just make the s390 bogomips detection line look like all others.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
14 years agoipcs: use unsigned type for uid/gid
Karel Zak [Tue, 9 Aug 2011 13:30:19 +0000 (15:30 +0200)] 
ipcs: use unsigned type for uid/gid

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update TODO file
Karel Zak [Tue, 9 Aug 2011 12:46:28 +0000 (14:46 +0200)] 
docs: update TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoswapon: missing separator in swapon -s command
Karel Zak [Tue, 9 Aug 2011 11:11:56 +0000 (13:11 +0200)] 
swapon: missing separator in swapon -s command

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=728963
Reported-by: Pavel Holica <pholica@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [loopdev.c] correct trivial typo
Davidlohr Bueso [Mon, 8 Aug 2011 03:16:19 +0000 (23:16 -0400)] 
lib: [loopdev.c] correct trivial typo

Should say "failed to find" instead of "failed to found".

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agolibmount: fix undefined sources
Davidlohr Bueso [Sun, 7 Aug 2011 00:10:26 +0000 (20:10 -0400)] 
libmount: fix undefined sources

The path resolving function breaks when handling undefined sources
("none") used by pseudo-filesystems. The assertion is causing the
samples/mount program to abort:

dave@offbook:~/projects/util-linux-good/libmount/samples$ ./mount
/dev/sda3 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
lt-mount: cache.c:464: mnt_resolve_path: Assertion `path' failed.
Aborted

/etc/mtab:

/dev/sda3 / ext4 rw,errors=remount-ro,commit=0 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
...

Instead of this assert on NULL we can simply return NULL and let mnt_pretty_path do the work.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agodocs: update exmaple files
Karel Zak [Mon, 8 Aug 2011 11:21:56 +0000 (13:21 +0200)] 
docs: update exmaple files

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibmount: update list of pseudo-filesystems
Karel Zak [Mon, 8 Aug 2011 11:10:34 +0000 (13:10 +0200)] 
libmount: update list of pseudo-filesystems

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: un-deprecate kill(1)
Karel Zak [Mon, 8 Aug 2011 10:31:53 +0000 (12:31 +0200)] 
docs: un-deprecate kill(1)

 * util-linux kill implementation is used in many distributions

 * the latest active procps upstream (fork at http://gitorious.org/procps/)
   does not build kill(1) by default

 * util-linux implementation is actively improved and we follow Linux
   kernel features (e.g. RT signals, sigqueue(2) support, ...)

 * kill(1) is basic command without dependence on /proc, it does not make
   sense to have it in procps package.

... so it does not make sense to mark deprecate this code.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoagetty: improve login(1) argv[]
Karel Zak [Thu, 4 Aug 2011 16:37:25 +0000 (18:37 +0200)] 
agetty: improve login(1) argv[]

* fix regression: missing username should not be reported (EPERM) if
  -n/--skip-login is given and username is NULL.

* don't compose login options *string* if we can use argv *array* (the
  string is necessary only for --login-options).

* don't overwrite --login-options by --autologin

  The old code silently ignores login-options and "login -f <username>"
  is always used.

  The new code uses:
    a) "login -f <username>"    by default
    b) "login <login-options>"  for --login-options + --autologin

  where for b) the username from "--autologin <username>" is used to
  replace \u magic string in <login-options>.

* the \u could be used more than once in one login argv string, for
  example: agetty --login-options "-o user=\\u,name=\\u --foo"

* the space in --login-options is correctly ignored, for example
  agetty --login-options " hello world ".

Reviewed-by: Voelker, Bernhard <bernhard.voelker@siemens-enterprise.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update TODO file
Karel Zak [Mon, 8 Aug 2011 10:03:52 +0000 (12:03 +0200)] 
docs: update TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomkfs: fix small formatting issues in man page
Benno Schulenberg [Wed, 3 Aug 2011 14:10:13 +0000 (16:10 +0200)] 
mkfs: fix small formatting issues in man page

Also spell "filesystem" consistently as one word -- this makes
things clearer when the word is used as an adjective.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agoisosize: improve style, grammar and spacing of man page
Benno Schulenberg [Wed, 3 Aug 2011 13:51:02 +0000 (15:51 +0200)] 
isosize: improve style, grammar and spacing of man page

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agoionice: slightly improve grammar, spacing and consistency of man page
Benno Schulenberg [Wed, 3 Aug 2011 13:35:23 +0000 (15:35 +0200)] 
ionice: slightly improve grammar, spacing and consistency of man page

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agotaskset: adjust style of man page
Benno Schulenberg [Wed, 3 Aug 2011 09:17:47 +0000 (11:17 +0200)] 
taskset: adjust style of man page

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agochrt: adjust style of man page, alphabetize option -p
Benno Schulenberg [Wed, 3 Aug 2011 09:17:11 +0000 (11:17 +0200)] 
chrt: adjust style of man page, alphabetize option -p

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agowipefs: change option -v to -V for --version; add it to man page
Benno Schulenberg [Wed, 3 Aug 2011 08:23:08 +0000 (10:23 +0200)] 
wipefs: change option -v to -V for --version; add it to man page

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agofindmnt: (man page) short option for --timeout is not -t but -w
Benno Schulenberg [Mon, 1 Aug 2011 19:31:35 +0000 (21:31 +0200)] 
findmnt: (man page) short option for --timeout is not -t but -w

Additionally make some formatting and spacing tweaks.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agocal.c: fix typo ("fistt day") in help text, seize chance to improve it
Benno Schulenberg [Mon, 1 Aug 2011 18:41:12 +0000 (20:41 +0200)] 
cal.c: fix typo ("fistt day") in help text, seize chance to improve it

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agoagetty: C.UTF-8 locale instead of en_US.UTF-8
Samuel Thibault [Wed, 3 Aug 2011 23:12:50 +0000 (01:12 +0200)] 
agetty: C.UTF-8 locale instead of en_US.UTF-8

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
14 years agoagetty: only enable F_UTF8 if kernel has already set IUTF8.
Samuel Thibault [Wed, 3 Aug 2011 23:11:02 +0000 (01:11 +0200)] 
agetty: only enable F_UTF8 if kernel has already set IUTF8.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
14 years agowall: build with SUID_{C,LD}FLAGS
Petr Uzel [Tue, 2 Aug 2011 13:27:32 +0000 (15:27 +0200)] 
wall: build with SUID_{C,LD}FLAGS

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
14 years agolook: fix manpage formatting
Petr Uzel [Tue, 2 Aug 2011 12:56:06 +0000 (14:56 +0200)] 
look: fix manpage formatting

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
14 years agocal: fix manpage formatting
Petr Uzel [Tue, 2 Aug 2011 12:55:55 +0000 (14:55 +0200)] 
cal: fix manpage formatting

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
14 years agodocs: remove README.namei
Sami Kerola [Tue, 2 Aug 2011 12:30:52 +0000 (14:30 +0200)] 
docs: remove README.namei

Since rewrite (commit c84a633) the readme file has not made sense.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochrt: silently ignore -R if unsupported
Karel Zak [Tue, 2 Aug 2011 12:29:03 +0000 (14:29 +0200)] 
chrt: silently ignore -R if unsupported

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoagetty: Fix IUTF8 flag
Werner Fink [Tue, 2 Aug 2011 12:20:31 +0000 (14:20 +0200)] 
agetty: Fix IUTF8 flag

Preserve IUTF8 as set up by the kernel, which knows which consoles are
in utf8 mode.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Werner Fink <werner@suse.de>
14 years agofsck: use same word category in message, and add translators comment
Benno Schulenberg [Sun, 31 Jul 2011 19:27:58 +0000 (21:27 +0200)] 
fsck: use same word category in message, and add translators comment

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agotextual: add some guiding comments for translators
Benno Schulenberg [Sat, 30 Jul 2011 19:28:07 +0000 (21:28 +0200)] 
textual: add some guiding comments for translators

These are picked up by xgettext and put in the POT file.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agopo: also extract plural messages from the C files
Benno Schulenberg [Sat, 30 Jul 2011 19:27:16 +0000 (21:27 +0200)] 
po: also extract plural messages from the C files

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agouuidd: distinguish between singular and plural in three messages
Benno Schulenberg [Sat, 30 Jul 2011 17:21:52 +0000 (19:21 +0200)] 
uuidd: distinguish between singular and plural in three messages

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agoinclude: [nls.h] define a macro for handling plurals with ngettext()
Benno Schulenberg [Sat, 30 Jul 2011 17:20:58 +0000 (19:20 +0200)] 
include: [nls.h] define a macro for handling plurals with ngettext()

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agowipefs: gettextize one sentence as a whole
Benno Schulenberg [Sat, 30 Jul 2011 15:17:26 +0000 (17:17 +0200)] 
wipefs: gettextize one sentence as a whole

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agofstrim: correct mistaken grammar in one message
Benno Schulenberg [Sat, 30 Jul 2011 15:16:09 +0000 (17:16 +0200)] 
fstrim: correct mistaken grammar in one message

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agolsblk: correct mistaken word
Benno Schulenberg [Sat, 30 Jul 2011 15:13:27 +0000 (17:13 +0200)] 
lsblk: correct mistaken word

Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agopartx: switch on localization
Benno Schulenberg [Sat, 30 Jul 2011 13:35:16 +0000 (15:35 +0200)] 
partx: switch on localization

Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agomkswap: Use c.h
maximilian attems [Sun, 31 Jul 2011 10:47:21 +0000 (12:47 +0200)] 
mkswap: Use c.h

Fixes mkswap compilation against klibc.

Signed-off-by: maximilian attems <max@stro.at>
14 years agoinclude: [c.h] Include stdlib.h unconditionaly
maximilian attems [Sun, 31 Jul 2011 10:47:20 +0000 (12:47 +0200)] 
include: [c.h] Include stdlib.h unconditionaly

No point in hiding it down in an ifdef maze,
as it may get used by exit(3).

Signed-off-by: maximilian attems <max@stro.at>
14 years agoinclude: [c.h] move up declaration of program_invocation_short_name before usage
maximilian attems [Sun, 31 Jul 2011 10:47:19 +0000 (12:47 +0200)] 
include: [c.h] move up declaration of program_invocation_short_name before usage

fixes:
../include/c.h: In function ‘errmsg’:
../include/c.h:111:26: error: ‘program_invocation_short_name’ undeclared
(first use in this function)
../include/c.h:111:26: note: each undeclared identifier is reported only
once for each function it appears in

Signed-off-by: maximilian attems <max@stro.at>
14 years agopg: fix compiler warnings [-Wunused-result]
Karel Zak [Tue, 2 Aug 2011 11:55:30 +0000 (13:55 +0200)] 
pg: fix compiler warnings [-Wunused-result]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoinclude: [writeall] add fwrite_all()
Karel Zak [Tue, 2 Aug 2011 11:53:41 +0000 (13:53 +0200)] 
include: [writeall] add fwrite_all()

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:29:29 +0000 (13:29 +0200)] 
libblkid: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:28:04 +0000 (13:28 +0200)] 
libblkid: [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: [partitions] fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:22:30 +0000 (13:22 +0200)] 
libblkid: [partitions] fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: [topology] fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:20:54 +0000 (13:20 +0200)] 
libblkid: [topology] fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoinclude: [bitops.h] make return values consistent
Karel Zak [Tue, 2 Aug 2011 10:30:57 +0000 (12:30 +0200)] 
include: [bitops.h] make return values consistent

The *_to_cpu() and cpu_to_*() macros have to return always the same date types
independently on CPU type.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibmount: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 09:21:16 +0000 (11:21 +0200)] 
libmount: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochrt: [selinux] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 14:23:53 +0000 (16:23 +0200)] 
chrt: [selinux] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochsh: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 14:20:28 +0000 (16:20 +0200)] 
chsh: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochfn: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 14:19:54 +0000 (16:19 +0200)] 
chfn: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolast: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 13:39:55 +0000 (15:39 +0200)] 
last: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agologin: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 13:36:17 +0000 (15:36 +0200)] 
login: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agocfdisk: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 13:21:17 +0000 (15:21 +0200)] 
cfdisk: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agofdisk: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 13:19:53 +0000 (15:19 +0200)] 
fdisk: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotests: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 12:57:05 +0000 (14:57 +0200)] 
tests: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoswaplabel: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 12:54:45 +0000 (14:54 +0200)] 
swaplabel: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomkfs.minix: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 12:51:58 +0000 (14:51 +0200)] 
mkfs.minix: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agofsck.minix: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 12:38:42 +0000 (14:38 +0200)] 
fsck.minix: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoswapon: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:40:41 +0000 (13:40 +0200)] 
swapon: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomount: fix compiler warnings [-Wsign-compare -Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 11:33:04 +0000 (13:33 +0200)] 
mount: fix compiler warnings [-Wsign-compare -Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoionice: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:17:54 +0000 (13:17 +0200)] 
ionice: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agosetarch: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:16:21 +0000 (13:16 +0200)] 
setarch: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotunelp: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:14:21 +0000 (13:14 +0200)] 
tunelp: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agocytune: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:12:30 +0000 (13:12 +0200)] 
cytune: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoreadprofile: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:07:32 +0000 (13:07 +0200)] 
readprofile: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolscpu: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:03:19 +0000 (13:03 +0200)] 
lscpu: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoipcs: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:02:45 +0000 (13:02 +0200)] 
ipcs: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodmesg: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:01:31 +0000 (13:01 +0200)] 
dmesg: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoblkid: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 10:48:55 +0000 (12:48 +0200)] 
blkid: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agokill: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:46:25 +0000 (12:46 +0200)] 
kill: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agofindmnt: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 10:44:20 +0000 (12:44 +0200)] 
findmnt: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolsblk: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:40:03 +0000 (12:40 +0200)] 
lsblk: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agouuidd: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:32:18 +0000 (12:32 +0200)] 
uuidd: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [cpuset.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:24:22 +0000 (12:24 +0200)] 
lib: [cpuset.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [mangle.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:18:22 +0000 (12:18 +0200)] 
lib: [mangle.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [tt.c] clean up used types
Karel Zak [Mon, 1 Aug 2011 10:16:00 +0000 (12:16 +0200)] 
lib: [tt.c] clean up used types

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [strutils.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:01:04 +0000 (12:01 +0200)] 
lib: [strutils.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [sysfs.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 09:59:48 +0000 (11:59 +0200)] 
lib: [sysfs.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [at.c] fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 09:55:11 +0000 (11:55 +0200)] 
lib: [at.c] fix compiler warnings [-Wunused-parameter]

at.c: In function ‘fstat_at’:
at.c:14:35: warning: unused parameter ‘dirname’ [-Wunused-parameter]
at.c: In function ‘open_at’:
at.c:36:34: warning: unused parameter ‘dirname’ [-Wunused-parameter]
at.c: In function ‘readlink_at’:
at.c:66:42: warning: unused parameter ‘dirname’ [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: change MSGID_BUGS_ADDRESS
Karel Zak [Mon, 1 Aug 2011 09:30:29 +0000 (11:30 +0200)] 
po: change MSGID_BUGS_ADDRESS

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update ReleaseNotes v2.20-rc1
Karel Zak [Fri, 29 Jul 2011 20:48:58 +0000 (22:48 +0200)] 
docs: update ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix configure.ac for uuidd
Karel Zak [Fri, 29 Jul 2011 20:44:47 +0000 (22:44 +0200)] 
build-sys: fix configure.ac for uuidd

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix git-version-gen for -rc tags
Karel Zak [Fri, 29 Jul 2011 14:12:05 +0000 (16:12 +0200)] 
build-sys: fix git-version-gen for -rc tags

The current version have a problem to support "v2.20-rc1" format of
the tags.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: release++ (v2.20-rc1)
Karel Zak [Fri, 29 Jul 2011 13:14:52 +0000 (15:14 +0200)] 
build-sys: release++ (v2.20-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: add 2.20 ReleaseNotes
Karel Zak [Fri, 29 Jul 2011 11:45:20 +0000 (13:45 +0200)] 
docs: add 2.20 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomisc: use unsigned int for bit-fileds
Karel Zak [Fri, 29 Jul 2011 08:51:06 +0000 (10:51 +0200)] 
misc: use unsigned int for bit-fileds

Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update AUTHORS file
Karel Zak [Thu, 28 Jul 2011 12:15:38 +0000 (14:15 +0200)] 
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: merge changes
Karel Zak [Thu, 28 Jul 2011 12:03:48 +0000 (14:03 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: update fr.po (from translationproject.org)
David Prévot [Thu, 28 Jul 2011 11:51:11 +0000 (13:51 +0200)] 
po: update fr.po (from translationproject.org)

14 years agopo: update da.po (from translationproject.org)
Joe Hansen [Thu, 28 Jul 2011 11:51:11 +0000 (13:51 +0200)] 
po: update da.po (from translationproject.org)

14 years agopo: update cs.po (from translationproject.org)
Petr Písař [Thu, 28 Jul 2011 11:51:11 +0000 (13:51 +0200)] 
po: update cs.po (from translationproject.org)

14 years agobuild-sys: remove and ignore generated files
Karel Zak [Thu, 28 Jul 2011 11:47:56 +0000 (13:47 +0200)] 
build-sys: remove and ignore generated files

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agocfdisk: fix compilation with slang
Karel Zak [Thu, 28 Jul 2011 11:46:22 +0000 (13:46 +0200)] 
cfdisk: fix compilation with slang

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agohwclock: tiny change in comment
Karel Zak [Thu, 28 Jul 2011 11:24:26 +0000 (13:24 +0200)] 
hwclock: tiny change in comment

... to keep 'make checkconfig' happy.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix 'make checkincludes' warnings
Karel Zak [Thu, 28 Jul 2011 11:21:00 +0000 (13:21 +0200)] 
build-sys: fix 'make checkincludes' warnings

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update TODO file
Karel Zak [Thu, 28 Jul 2011 11:16:31 +0000 (13:16 +0200)] 
docs: update TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotests: update lscpu tests
Karel Zak [Wed, 27 Jul 2011 21:41:10 +0000 (23:41 +0200)] 
tests: update lscpu tests

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolscpu: extend --parse functionality
Karel Zak [Wed, 27 Jul 2011 21:10:01 +0000 (23:10 +0200)] 
lscpu: extend --parse functionality

... to allow define output columns, for example:

$ lscpu --parse=CPU,CORE,NODE,CACHE
# CPU,Core,Node,L1d:L1i:L2
0,0,0,0:0:0
1,1,0,1:1:0

Note that CPU caches are separated by ":" in the new format. The
output for --parse (without the list of the columns) is backwardly
compatible, it means:

$ lscpu --parse
# CPU,Core,Socket,Node,,L1d,L1i,L2
0,0,0,0,,0,0,0
1,1,0,0,,1,1,0

Signed-off-by: Karel Zak <kzak@redhat.com>