Commit Graph

4372 Commits

Author SHA1 Message Date
Karel Zak 1a30de89a0 docs: update v2.21-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-24 11:52:12 +01:00
Karel Zak 08910de2e4 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-24 11:44:38 +01:00
Karel Zak 1b8a611a36 po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-24 11:38:14 +01:00
Yuri Chornoivan 80923cd64a po: update uk.po (from translationproject.org) 2012-02-24 11:32:59 +01:00
Jakub Bogusz 782e91fc90 po: update pl.po (from translationproject.org) 2012-02-24 11:32:59 +01:00
Benno Schulenberg 9382b4ed77 po: update nl.po (from translationproject.org) 2012-02-24 11:32:59 +01:00
David Prévot 0918663a0f po: update fr.po (from translationproject.org) 2012-02-24 11:32:59 +01:00
Petr Písař fcb9f520b2 po: update cs.po (from translationproject.org) 2012-02-24 11:32:59 +01:00
Mike Frysinger 7615c34100 umount: respect fs search path
This brings search path support to umount to match existing behavior
in fsck and mount.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-02-24 10:54:07 +01:00
Petr Uzel 09b2d37a42 fdisk: update information about GNU Parted in fdisk.8
The support for resizing partitions and filesystems has been
removed from parted since version 3.0.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-02-24 10:50:15 +01:00
Karel Zak 94b0c44fb7 mount: distinguish between MS_COMMENT flags (netdev, nofail, ...)
Since util-linux 2.12h (year 2004) there is only one flag for all
dummy options like _netdev or nofail. Unfortunately it means that when
mount(8) composes the final mount options string for mtab (or for
mount.<type> helpers) the string is generated incorrectly.

Reported-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23 15:16:17 +01:00
Karel Zak 43bd19a56f mount: clear flags before options parsing
for example "mount -a" calls the mount options parser more than once

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23 14:53:14 +01:00
Karel Zak c06e950478 tests: add wall to build-sys tests
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23 12:38:13 +01:00
Karel Zak cad39614a6 libmount: clean up context docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23 12:31:56 +01:00
Karel Zak 1340d433cc docs: add note about mount(8) options to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23 12:31:31 +01:00
Chandan B Rajenda 179b923a19 lib/strutils: move array bounds check in string_to_idarray() to appropriate place.
string_to_idarray() will incorrectly exit with an error when the last element
of the passed in array gets filled. However it should only exit with an error
if there is more input. To fix this move the array bounds check.

Signed-off-by: Chandan B Rajenda <chandan@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2012-02-23 10:54:25 +01:00
Karel Zak 476b508e04 libblkid: add BLKID_PARTS_MAGIC to blkid_do_wipe() docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22 13:10:21 +01:00
Karel Zak 3fcf5e1b79 docs: update copyright years
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22 13:07:14 +01:00
Karel Zak ee3140752f libmount: cleanup docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22 13:02:17 +01:00
Karel Zak a0e3bbb815 libblkid: update docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22 12:15:15 +01:00
Dave Reisner a33df88c45 libmount: remove teaser proto for mnt_table_get_name
This function was never implemented, but the proto has existed since the
inception of the library. As the libmnt_table struct doesn't include a
member necessary to carry the name of the table, simply discard this
prototype. If ever a need to break ABI comes up, perhaps this could be
revisited.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-02-22 11:52:44 +01:00
Petr Uzel 89c6bb4dad docs: trivial documentation fixes and improvements
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-02-22 11:52:07 +01:00
Petr Uzel 96cf9d07af cytune.8: fix formatting
W: manual-page-warning /usr/share/man/man8/cytune.8.gz 178: warning:
macro `chars',' not defined (possibly missing space after `ch')

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-02-22 11:52:04 +01:00
Petr Uzel 8fc8888b04 build-sys: fix building of wall
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-02-22 11:51:59 +01:00
Davidlohr Bueso 88ffbf86e0 mkfs.bfs: add setlocale
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2012-02-22 11:51:57 +01:00
Karel Zak bdc1764e23 docs: add note about losetup to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 20:31:40 +01:00
Karel Zak 838b8e0f71 docs: add note about fdisk to TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 18:59:50 +01:00
Karel Zak 2738f9ba25 tests: make minix tests more robust
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 16:14:08 +01:00
Karel Zak bc87f88512 unshare: add note about MS_SHARED to unshare.1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 15:32:50 +01:00
Karel Zak 4cc5a3e245 build-sys: add tools/ to EXTRA_DIST
Reported-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 12:12:09 +01:00
Karel Zak bb4f071520 lib/fsprobe: mar this internal API as deprecated
The fsprobe has been added many years ago to provide unified API for

	- built-in libblkid
	- e2fsprogs libblkid
	- udev libvolume_id

these all is unnecessary as we strictly depends on built-in libblkid.

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-13 15:10:55 +01:00
Karel Zak fab1f6717e login: add LOGIN_RETRIES, cleanup retries check code
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-10 14:47:59 +01:00
Harald Hoyer 37305c65e7 setsid: add "+" to getopt_long()
otherwise setsid wants to interpret <program> arguments

$ setsid sh -i
setsid: invalid option -- 'i'

Usage:
 setsid [options] <program> [arguments ...]

Signed-off-by: Harald Hoyer <harald@redhat.com>
2012-02-09 15:33:33 +01:00
Sami Kerola 0b077eab51 tunelp: free allocation, use xalloc
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-08 14:29:34 +01:00
Sami Kerola dd41e06795 switch_root: close open file after usage [cppcheck]
[sys-utils/switch_root.c:159]: (error) Resource leak: cfd

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 14:23:28 +01:00
Sami Kerola 4b11df2cf5 chcpu: use appropriate variable type [cppcheck]
[sys-utils/chcpu.c:251]: (style) Checking if unsigned variable 'maxcpus' is less than zero.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 14:17:29 +01:00
Sami Kerola 2f5a248420 taskset: use appropriate variable type [cppcheck]
[schedutils/taskset.c:182]: (style) Checking if unsigned variable 'ncpus' is less than zero.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 14:13:34 +01:00
Sami Kerola 358ef9c0d1 libblkid: verify arroy bound before reference [cppcheck]
[libblkid/src/read.c:428]: (style) Array index end is used before limits check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 14:08:49 +01:00
Sami Kerola a23facd637 libblkid: allow return value to indicate error [cppcheck]
[libblkid/src/probe.c:1207]: (style) Checking if unsigned variable 'len' is less than zero.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 14:07:12 +01:00
Sami Kerola 07023b0736 libblkid: clarify operation order [cppcheck]
[libblkid/src/cache.c:265]: (style) Suspicious condition (assignment+comparison), it can be clarified with parentheses

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 14:05:39 +01:00
Sami Kerola 823a6aa118 sfdisk: free variable which got the allocation [cppcheck]
[fdisk/sfdisk.c:358]: (error) Memory leak: ss

[kzak@redhat.com: - free after error]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-08 13:39:09 +01:00
Sami Kerola 521349a127 fdisk: remove redundant declaration [cppcheck]
fdisk.h:116:12: warning: redundant redeclaration of 'valid_part_table_flag' [-Wredundant-decls]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 13:28:43 +01:00
Sami Kerola 82cdf1b194 raw: remove unnecessary return [cppcheck]
[disk-utils/raw.c:171]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 12:52:46 +01:00
Sami Kerola 2e24868683 mkfs.cramfs: check blocksize user input [cppcheck]
Enhance user input checking and error messaging, while fixing
cppcheck warning.

[disk-utils/mkfs.cramfs.c:729]: (style) Checking if unsigned variable 'blksize' is less than zero.

[kzak@redhat.com: fix coding style]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-08 12:46:11 +01:00
Sami Kerola 33f28cd7a7 mkfs.cramfs: close open file after usage [cppcheck]
[disk-utils/mkfs.cramfs.c:913]: (error) Resource leak: fd

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-08 12:39:10 +01:00
Karel Zak 04f7020ead libblkid: improve reiserfs and btrfs min. size limits
Reported-by: Rogier Goossens <goossens.rogier@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-08 11:56:38 +01:00
Paul Menzel 1f338fe170 flock: add missing word »be« to flock.1 2012-02-08 11:49:03 +01:00
Paul Menzel 387bae9350 flock: fix flock.1 grammar by removing »s« 2012-02-08 11:48:44 +01:00
Karel Zak 0892d88d1a tools: use gpg-aggent in ko-release-gen
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-07 11:30:56 +01:00
Karel Zak 1e96245901 build-sys: release++ (v2.21-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-06 18:28:42 +01:00