]> err.no Git - util-linux/log
util-linux
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>
15 years agoscriptreplay: fix typo in error message
Karel Zak [Mon, 20 Jul 2009 08:31:27 +0000 (10:31 +0200)]
scriptreplay: fix typo in error message

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: don't distribute generated *.pc files
Karel Zak [Fri, 17 Jul 2009 06:34:44 +0000 (08:34 +0200)]
build-sys: don't distribute generated *.pc files

Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: release++ (v2.16)
Karel Zak [Wed, 15 Jul 2009 21:46:31 +0000 (23:46 +0200)]
build-sys: release++ (v2.16)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update v2.16 ReleaseNotes
Karel Zak [Wed, 15 Jul 2009 21:40:21 +0000 (23:40 +0200)]
docs: update v2.16 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibuuid: generate uuid_generate_{random,time}.3 man page links
Karel Zak [Wed, 15 Jul 2009 23:09:47 +0000 (01:09 +0200)]
libuuid: generate uuid_generate_{random,time}.3 man page links

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update AUTHORS file
Karel Zak [Wed, 15 Jul 2009 21:30:16 +0000 (23:30 +0200)]
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: merge changes
Karel Zak [Wed, 15 Jul 2009 21:27:01 +0000 (23:27 +0200)]
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: update fr.po (from translationproject.org)
Nicolas Provost [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)]
po: update fr.po (from translationproject.org)

15 years agopo: update fi.po (from translationproject.org)
Lauri Nurmi [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)]
po: update fi.po (from translationproject.org)

15 years agopo: update cs.po (from translationproject.org)
Petr Pisar [Wed, 15 Jul 2009 21:22:58 +0000 (23:22 +0200)]
po: update cs.po (from translationproject.org)

15 years agomount: when a remount to rw fails, quit and return an error
Valerie Aurora [Tue, 14 Jul 2009 17:21:34 +0000 (13:21 -0400)]
mount: when a remount to rw fails, quit and return an error

A nice feature of mount is that when you attempt to mount a file
system read-write, and that fails because it can only be mounted
read-only, it goes ahead and retries the mount with the "ro" option
and returns success if that succeeds.  However, this code path is also
followed when you are doing a remount for the sole purpose of changing
the mount from read-only to read-write - the change fails, but mount
returns success.  Instead, check if we are attempting to remount and
fail out immediately, instead of retrying with the old "ro" option and
whee, happily "succeeding."

Signed-off-by: Valerie Aurora (Henson) <vaurora@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoswitch_root: add subroot support
Daniel Drake [Tue, 14 Jul 2009 12:41:33 +0000 (14:41 +0200)]
switch_root: add subroot support

The current switch_root can only switch to a new root that is the root
of a mount point.

This patch adds support for "subroots", where the new root is
somewhere below a mount point. It does this by adding in a few extra
steps to chroot into the subroot after the enclosing partition has
been moved and entered.

This will be used by OLPC, who sort-of have 2 copies of Fedora stored
on a single partition under different directory trees, where the
initramfs decides which one to boot into

[kzak@redhat.com:
    - port to the current u-l-ng switch_root code
    - don't use static buffer for "dir" in get_parent_mount()]

CC: Peter Jones <pjones@redhat.com>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix libuuid and libblkid version-info
Karel Zak [Mon, 13 Jul 2009 21:44:30 +0000 (23:44 +0200)]
build-sys: fix libuuid and libblkid version-info

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibblkid: add stdarg.h to blkidP.h
Karel Zak [Mon, 13 Jul 2009 18:31:33 +0000 (20:31 +0200)]
libblkid: add stdarg.h to blkidP.h

Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: improve $libdirname definition
Karel Zak [Mon, 13 Jul 2009 09:54:43 +0000 (11:54 +0200)]
build-sys: improve $libdirname definition

Reported-by: Robert Förster <Dessa@gmake.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix typo from 30688dde55f637c9b984809c685b61378b82805f
Robert Förster [Sat, 11 Jul 2009 22:44:08 +0000 (00:44 +0200)]
build-sys: fix typo from 30688dde55f637c9b984809c685b61378b82805f

the fixes the usage of exec_prefix so configure will prepend the prefix again.

Signed-off-by: Robert Förster <Dessa@gmake.de>
15 years agolibuuid: fix parallel building
Karel Zak [Sun, 5 Jul 2009 22:03:35 +0000 (00:03 +0200)]
libuuid: fix parallel building

 and remove some obsolete stuff from blkid/uuid Makefiles.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: rename to _execdir
Karel Zak [Fri, 3 Jul 2009 23:18:01 +0000 (01:18 +0200)]
build-sys: rename to _execdir

The variable name "usrlibexecdir" is very confusing (because we have
/usr/libexec). The "exec" prefix is required for user-defined
directories, see

   http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install

This patch renames all usr*execdir variables to usr*_execdir.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: improve symlinks creation in shlibs/
Karel Zak [Fri, 3 Jul 2009 23:10:15 +0000 (01:10 +0200)]
build-sys: improve symlinks creation in shlibs/

It's more safe to create symlinks in the target directory and use
$(LN_S) rather than directly call "ln -sf".

Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix exec/data install hooks
Karel Zak [Fri, 3 Jul 2009 22:39:08 +0000 (00:39 +0200)]
build-sys: fix exec/data install hooks

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