]>
err.no Git - util-linux/log
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>
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>
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Karel Zak [Wed, 15 Jul 2009 21:27:01 +0000 (23:27 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Nicolas Provost [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)]
po: update fr.po (from translationproject.org)
Lauri Nurmi [Wed, 15 Jul 2009 21:22:59 +0000 (23:22 +0200)]
po: update fi.po (from translationproject.org)
Petr Pisar [Wed, 15 Jul 2009 21:22:58 +0000 (23:22 +0200)]
po: update cs.po (from translationproject.org)
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>
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>
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>
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>
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>