]> err.no Git - util-linux/log
util-linux
15 years agosfdisk: dump has to be $LANG insensitive
Karel Zak [Fri, 11 Sep 2009 12:00:50 +0000 (14:00 +0200)]
sfdisk: dump has to be $LANG insensitive

This stupid bug has been introduced by:

commit add5133f4ad5136aac3ce7627e615d14893d0aeb
Author: Pedro Ribeiro <p.m42.ribeiro@gmail.com>
Date:   Fri Oct 3 08:52:35 2008 +0200
fdisk: several strings without gettext calls

... so it shows that we need to improve our review process... :-(

Address-Red-Hat-Bug: #522718
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibuuid: remove .UE macro from libuuid man pages.
Milan Broz [Mon, 7 Sep 2009 10:47:04 +0000 (12:47 +0200)]
libuuid: remove .UE macro from libuuid man pages.

On some system it produces insertion of "()".
There is missing .UR anyway.

[kzak@redhat.com: - this is u-l-ng bug, we don't use UR+UE macros like the
                    original man pages in e2fsprogs]

Signed-off-by: Milan Broz <mbroz@redhat.com>
15 years agodocs: README width and language correction
Jan Sarenik [Wed, 2 Sep 2009 18:03:20 +0000 (20:03 +0200)]
docs: README width and language correction

Signed-off-by: Jan Sarenik <jsarenik@redhat.com>
15 years agocfdisk: more key alternatives
Jan Sarenik [Wed, 2 Sep 2009 18:03:19 +0000 (20:03 +0200)]
cfdisk: more key alternatives

Signed-off-by: Jan Sarenik <jsarenik@redhat.com>
15 years agortcwake: ignore the tm_isdst field returned from the RTC
Paul Fox [Thu, 13 Aug 2009 15:35:53 +0000 (11:35 -0400)]
rtcwake: ignore the tm_isdst field returned from the RTC

Signed-off-by: Paul Fox <pgf@laptop.org>
15 years agopartx: work properly with 512 sectors (dos PT)
Karel Zak [Thu, 6 Aug 2009 08:34:36 +0000 (10:34 +0200)]
partx: work properly with 512 sectors (dos PT)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agortcwake: add S5 support
Karel Zak [Tue, 18 Aug 2009 13:48:34 +0000 (15:48 +0200)]
rtcwake: add S5 support

Based on patch from
   Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
at
   https://bugzilla.redhat.com/show_bug.cgi?id=449115

Piergiorgio's note about S5:
> According to the ACPI specifications, chapter 4.7.2.4 "Real Time
> Clock Alarm", the wakeup from RTC, when supported, should work from
> *sleep* state S1-S3 and, optionally, from S4.
>
> Note 3 (same chapter) says that S5 is *not* a sleep state and should
> not be supported. Actually it also says that: "The OS will disable
> the RTC_EN bit prior to entering the G2/S5 or G3 states regardless."
>
> Nevertheless, on all PC supporting the RTC wakeup I tested, all were
> able to wake from S5.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomkswap: fix memory leaks, cleanup check_blocks()
Karel Zak [Mon, 7 Sep 2009 06:59:27 +0000 (08:59 +0200)]
mkswap: fix memory leaks, cleanup check_blocks()

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomkswap: unbreak -c ("check") option.
Peter De Wachter [Sat, 5 Sep 2009 19:19:56 +0000 (21:19 +0200)]
mkswap: unbreak -c ("check") option.

In the check_blocks() loop, current_page is not incremented. Because of this
bug, the loop does not end when the end of the device is reached.  Instead it
tries to continue reading, which of course fails, and eventually mkswap aborts
("too many bad pages").

Note that this can only be tested with swap partitions, mkswap ignores the -c
option for swap files.

Signed-off-by: Peter De Wachter <pdewacht@gmail.com>
15 years agolibblkid: fix buffer overflow in blkid_encode_string()
Florian Zumbiehl [Wed, 2 Sep 2009 20:52:55 +0000 (22:52 +0200)]
libblkid: fix buffer overflow in blkid_encode_string()

[kzak@redhat.com: - this is patch is originally from udev repository
                    commit 8cfcf9980a3a7037a12a3052c38e4981cb0f0190]

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibblkid: add *.ko.gz support to modules.dep parser
Karel Zak [Sun, 23 Aug 2009 18:33:10 +0000 (20:33 +0200)]
libblkid: add *.ko.gz support to modules.dep parser

Address-Red-Hat-Bug: #518572
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoreplace usleep() for systems that don't have them
Daniel Mierswa [Mon, 17 Aug 2009 19:22:02 +0000 (21:22 +0200)]
replace usleep() for systems that don't have them

This function is marked obsolete in POSIX.1-2001 and removed in
POSIX.1-2008.

Conditionally replaced with nanosleep().

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
15 years agohwclocks: use time limit for KDGHWCLK busy wait
Karel Zak [Thu, 20 Aug 2009 13:46:10 +0000 (15:46 +0200)]
hwclocks: use time limit for KDGHWCLK busy wait

Currently the busy wait in synchronize_to_clock_tick_kd() is
restricted by number of loops. It's better to use time limit
(1.5s). We already use this method for RTC.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: mention mtab for single mount point mount in mount.8
Peter Volkov [Tue, 18 Aug 2009 12:21:33 +0000 (14:21 +0200)]
mount: mention mtab for single mount point mount in mount.8

Karel Zak wrote: "This is very old (10+years) feature. The mount(8) is
trying to found mountpoint/device in fstab and then in mtab.

I guess the original purpose for this feature is user-friendly 'mount
/node -o remount'. Unfortunately, the code does not check for
MS_REMOUNT flag and consults mtab in all cases. (The code is
consulting fstab/mtab before mount options parsing.)"

This commit documents this feature.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: clean up mount.8
Karel Zak [Tue, 18 Aug 2009 08:56:56 +0000 (10:56 +0200)]
mount: clean up mount.8

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoRevert "mount: clean up mount.8"
Karel Zak [Tue, 18 Aug 2009 08:53:15 +0000 (10:53 +0200)]
Revert "mount: clean up mount.8"

This reverts commit 98c7944b52c54c86fb5b9d73fbead9442bfa0e30.

Unfortunately, the patch has been committed by "git commit -a" and
includes unwanted changes in configure.ac and sys-utils/Makefile.am...

Sorry.

15 years agomount: clean up mount.8
Karel Zak [Mon, 17 Aug 2009 15:40:04 +0000 (17:40 +0200)]
mount: clean up mount.8

 * use "filesystem" everywhere (currently, the mount.8 man page is inconsistent
   and uses "file system" and "filesystem")

 * fix "The extN" to "The extN filesystem" (reported by Theodore Tso)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: add info about ext{3,4} barriers to mount.8
Karel Zak [Mon, 17 Aug 2009 13:35:13 +0000 (15:35 +0200)]
mount: add info about ext{3,4} barriers to mount.8

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: test for basic functionality of sun labels
Zdenek Behan [Wed, 12 Aug 2009 21:55:16 +0000 (23:55 +0200)]
tests: test for basic functionality of sun labels

Tests the following:
* Creation and deletion of first two partitions
* setting sysid to one (randomly chosen) value
* setting readonly/mountable flags

Signed-off-by: Zdenek Behan <rain@matfyz.cz>
15 years agotests: fdisk doslabel test also checks setting partition active
Zdenek Behan [Mon, 3 Aug 2009 01:54:11 +0000 (03:54 +0200)]
tests: fdisk doslabel test also checks setting partition active

* Yet another test, this time for setting active partition

Signed-off-by: Zdenek Behan <rain@matfyz.cz>
15 years agotests: fdisk doslabel test also checks changing partition type
Zdenek Behan [Mon, 3 Aug 2009 01:46:27 +0000 (03:46 +0200)]
tests: fdisk doslabel test also checks changing partition type

* Changed apostrophes around test commands to quotes, this makes vim
syntax highlighting more happy, and makes the newlines stand out.

* Added check for changing partition type. After the change is done and
checked, the partition is deleted and re-created to not mess with the
other md5's already in place...

Signed-off-by: Zdenek Behan <rain@matfyz.cz>
15 years agofsck.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:50 +0000 (11:29 +0200)]
fsck.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoionice.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
ionice.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agohwclock.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
hwclock.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agogetopt.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
getopt.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoswapon.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
swapon.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomount.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
mount.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agolosetup.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
losetup.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agofstab.5: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
fstab.5: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agopg.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
pg.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomore.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
more.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agosfdisk.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
sfdisk.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agofdisk.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
fdisk.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agocfdisk.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
cfdisk.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agopartx.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
partx.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agodelpart.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
delpart.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoaddpart.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
addpart.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agosimpleinit.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
simpleinit.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoshutdown.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
shutdown.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agonewgrp.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
newgrp.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomesg.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
mesg.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agolast.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:05 +0000 (11:29 +0200)]
last.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoinitctl.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
initctl.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agochsh.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
chsh.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agochfn.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
chfn.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomkswap.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mkswap.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomkfs.minix.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mkfs.minix.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomkfs.bfs.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mkfs.bfs.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoisosize.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
isosize.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agofsck.minix.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
fsck.minix.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agofdformat.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
fdformat.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoelvtune.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
elvtune.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoblockdev.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
blockdev.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agowrite.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
write.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agowhereis.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
whereis.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agouuidgen.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
uuidgen.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agouuidd.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
uuidd.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agosetterm.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
setterm.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoscriptreplay.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
scriptreplay.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoreset.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
reset.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agorename.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
rename.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agonamei.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
namei.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomcookie.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
mcookie.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agokill.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
kill.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoddate.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
ddate.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agocal.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
cal.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agotunelp.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
tunelp.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoswitch_root.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
switch_root.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agosetsid.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
setsid.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agosetarch.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
setarch.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agortcwake.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
rtcwake.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agorenice.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
renice.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoreadprofile.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
readprofile.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agordev.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
rdev.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agopivot_root.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:29:04 +0000 (11:29 +0200)]
pivot_root.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agolscpu.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:19:19 +0000 (11:19 +0200)]
lscpu.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoldattach.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:18:42 +0000 (11:18 +0200)]
ldattach.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoipcs.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:18:14 +0000 (11:18 +0200)]
ipcs.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoipcrm.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:17:59 +0000 (11:17 +0200)]
ipcrm.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoipcmk.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:17:42 +0000 (11:17 +0200)]
ipcmk.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agodmesg.1: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:17:15 +0000 (11:17 +0200)]
dmesg.1: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoctrlaltdel.8: formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:16:45 +0000 (11:16 +0200)]
ctrlaltdel.8: formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoul.1: erroneous .SH instead of .Sh
Peter Breitenlohner [Wed, 22 Jul 2009 09:16:12 +0000 (11:16 +0200)]
ul.1: erroneous .SH instead of .Sh

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agohexdump.1: erroneous .Nm ""
Peter Breitenlohner [Wed, 22 Jul 2009 09:15:42 +0000 (11:15 +0200)]
hexdump.1: erroneous .Nm ""

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agocytune.8: missing description of `-S', formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:14:56 +0000 (11:14 +0200)]
cytune.8: missing description of `-S', formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agoumount.8: command line for umount helpers, formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:14:16 +0000 (11:14 +0200)]
umount.8: command line for umount helpers, formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agovipw.8: remove erroneous empty line, formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:13:49 +0000 (11:13 +0200)]
vipw.8: remove erroneous empty line, formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agomkfs.8: incomplete sentence and formatting
Peter Breitenlohner [Wed, 22 Jul 2009 09:13:21 +0000 (11:13 +0200)]
mkfs.8: incomplete sentence and formatting

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
15 years agodmesg: add -r to help output
Karel Zak [Mon, 17 Aug 2009 09:37:27 +0000 (11:37 +0200)]
dmesg: add -r to help output

On Tue, Aug 04, 2009 at 05:52:38PM +0200, Dalibor Straka wrote:
> while I was reading the source, I've noticed missing option in the
> help message for "-r". So I'm sending one-line patch for dmesg.

Reported-by: Dalibor Straka <dast@panelnet.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: fix grammar glitch in german translation
Hendrik Lönngren [Thu, 13 Aug 2009 18:15:49 +0000 (20:15 +0200)]
po: fix grammar glitch in german translation

Removed an erroneous plural ending from the German translation for
"sectors/track" in fdisk, which currently would read "sectors/tracks".

Signed-off-by: Hendrik Lönngren <wikibugs@gmail.com>
15 years agolibblkid: allow linking with uClibc
Daniel Mierswa [Mon, 17 Aug 2009 05:43:10 +0000 (07:43 +0200)]
libblkid: allow linking with uClibc

uClibc uses lseek64 as llseek, so use it.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
15 years agoreplace bcopy,bzero,index and rindex
Daniel Mierswa [Mon, 17 Aug 2009 05:27:39 +0000 (07:27 +0200)]
replace bcopy,bzero,index and rindex

Those 4 functions are marked as LEGACY in POSIX.1-2001 and removed in
POSIX.1-2008.

Replaced with memmove,memset,strchr and strrchr.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
15 years agolibblkid: fix cache->probe memory leak
Karel Zak [Mon, 17 Aug 2009 08:53:42 +0000 (10:53 +0200)]
libblkid: fix cache->probe memory leak

Fixes:

 * stupid bug, blkid_put_cache() does not deallocate the probe struct

 * the cache->probe initialization in verify.c should be also more
   robust

Reported-By: Jean-Pierre Demailly <Jean-Pierre.Demailly@ujf-grenoble.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibblkid: fix ext2 detection on systems with ext4 only
Karel Zak [Thu, 13 Aug 2009 19:55:43 +0000 (21:55 +0200)]
libblkid: fix ext2 detection on systems with ext4 only

Address-Red-Hat-Bug: #513104
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotailf: report inotify_add_watch() problems
Karel Zak [Tue, 11 Aug 2009 13:22:35 +0000 (15:22 +0200)]
tailf: report inotify_add_watch() problems

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibblkid: fix FALSE definition
Karel Zak [Mon, 3 Aug 2009 21:33:22 +0000 (23:33 +0200)]
libblkid: fix FALSE definition

Ah, I need brown paper bag! Grrr...

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update "The Perfect Patch" URL
Karel Zak [Tue, 21 Jul 2009 13:43:29 +0000 (15:43 +0200)]
docs: update "The Perfect Patch" URL

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agocal: fix broken computation for Sep 1752
Peter Breitenlohner [Fri, 17 Jul 2009 11:39:07 +0000 (13:39 +0200)]
cal: fix broken computation for Sep 1752

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Pádraig Brady <P@draigBrady.com>
15 years agocal: fix (harmless) typo
Peter Breitenlohner [Fri, 17 Jul 2009 11:12:48 +0000 (13:12 +0200)]
cal: fix (harmless) typo

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Pádraig Brady <P@draigBrady.com>
15 years agopg: compiler warning with NLS disabled
Peter Breitenlohner [Mon, 20 Jul 2009 09:35:47 +0000 (11:35 +0200)]
pg: compiler warning with NLS disabled

Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>