forked from pool/util-linux
This commit is contained in:
parent
75a20a0ded
commit
5a0dbc67f8
@ -1,13 +0,0 @@
|
|||||||
Index: util-linux-ng-2.13.0.1+git20071121/hwclock/rtc.c
|
|
||||||
===================================================================
|
|
||||||
--- util-linux-ng-2.13.0.1+git20071121.orig/hwclock/rtc.c
|
|
||||||
+++ util-linux-ng-2.13.0.1+git20071121/hwclock/rtc.c
|
|
||||||
@@ -225,7 +225,7 @@ int ret;
|
|
||||||
} else {
|
|
||||||
int rc; /* Return code from ioctl */
|
|
||||||
/* Turn on update interrupts (one per second) */
|
|
||||||
-#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__)
|
|
||||||
+#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) || defined(__i386__)
|
|
||||||
/* Not all alpha kernels reject RTC_UIE_ON, but probably they should. */
|
|
||||||
rc = -1;
|
|
||||||
errno = EINVAL;
|
|
@ -1,19 +0,0 @@
|
|||||||
Index: util-linux-ng-2.13.1/fdisk/cfdisk.c
|
|
||||||
===================================================================
|
|
||||||
--- util-linux-ng-2.13.1.orig/fdisk/cfdisk.c
|
|
||||||
+++ util-linux-ng-2.13.1/fdisk/cfdisk.c
|
|
||||||
@@ -1869,10 +1869,12 @@ write_part_table(void) {
|
|
||||||
clear_warning();
|
|
||||||
if (len == GS_ESCAPE)
|
|
||||||
return;
|
|
||||||
- else if (strcasecmp(response, _("no")) == 0) {
|
|
||||||
+ else if (strcasecmp(response, _("no")) == 0 ||
|
|
||||||
+ strcasecmp(response, "no") == 0) {
|
|
||||||
print_warning(_("Did not write partition table to disk"));
|
|
||||||
return;
|
|
||||||
- } else if (strcasecmp(response, _("yes")) == 0)
|
|
||||||
+ } else if (strcasecmp(response, _("yes")) == 0 ||
|
|
||||||
+ strcasecmp(response, "yes") == 0)
|
|
||||||
done = TRUE;
|
|
||||||
else
|
|
||||||
print_warning(_("Please enter `yes' or `no'"));
|
|
@ -1,123 +0,0 @@
|
|||||||
mount: retry on ENOMEDIUM
|
|
||||||
|
|
||||||
From: Matthias Koenig <mkoenig@suse.de>
|
|
||||||
|
|
||||||
Due to a change in kernel behaviour when opening CDROM devices,
|
|
||||||
we need to retry the open/mount call when ENOMEDIUM is returned.
|
|
||||||
|
|
||||||
Explanation from Tejun Heo:
|
|
||||||
Okay, the difference is from the addition of cdrom_get_media_event()
|
|
||||||
call to both sr_drive_status() and ide_cdrom_drive_status().
|
|
||||||
Previously, the cdrom driver can't differentiate between tray closed
|
|
||||||
w/ no media and tray open and always returned tray open, which
|
|
||||||
triggers close and retry in the open logic which probably have delayed
|
|
||||||
things enough to get the media recognized.
|
|
||||||
|
|
||||||
Now the cdrom driver can discern between tray closed w/o media and
|
|
||||||
device not ready for other reasons and returns -ENOMEDIUM on the
|
|
||||||
former. This is all good and dandy but the problem seems that some
|
|
||||||
drives report no media right after the tray is closed but it hasn't
|
|
||||||
properly detected the media yet.
|
|
||||||
|
|
||||||
It seems the only way to work around the problem is via sensible
|
|
||||||
retries (e.g. try three times 5 secs apart) and I don't think we can
|
|
||||||
add that type of retry logic into cdrom open path. Please note that
|
|
||||||
the previous logic wasn't water proof. Some drives can take longer to
|
|
||||||
recognize the media is there and could have failed the in-kernel retry
|
|
||||||
too. Also, reading the media can take quite some time and during that
|
|
||||||
period the drive reports media present but device not ready. The
|
|
||||||
driver will retry the command (e.g. READ TOC for open) five times but
|
|
||||||
all of them can fail w/ EMEDIUMTYPE.
|
|
||||||
|
|
||||||
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
|
|
||||||
---
|
|
||||||
|
|
||||||
mount/fsprobe_volumeid.c | 15 +++++++++++++--
|
|
||||||
mount/mount.c | 11 +++++++++++
|
|
||||||
2 files changed, 24 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/mount/fsprobe_volumeid.c b/mount/fsprobe_volumeid.c
|
|
||||||
index 7c98dc6..1ef788c 100644
|
|
||||||
--- a/mount/fsprobe_volumeid.c
|
|
||||||
+++ b/mount/fsprobe_volumeid.c
|
|
||||||
@@ -3,6 +3,7 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
+#include <errno.h>
|
|
||||||
#include <sys/mount.h>
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
@@ -15,6 +16,8 @@
|
|
||||||
#include "pathnames.h"
|
|
||||||
#include "sundries.h"
|
|
||||||
|
|
||||||
+#define MAX_RETRIES 5
|
|
||||||
+
|
|
||||||
enum probe_type {
|
|
||||||
VOLUME_ID_NONE,
|
|
||||||
VOLUME_ID_LABEL,
|
|
||||||
@@ -30,10 +33,18 @@ static char
|
|
||||||
struct volume_id *id;
|
|
||||||
const char *val;
|
|
||||||
char *value = NULL;
|
|
||||||
+ int retries = 0;
|
|
||||||
|
|
||||||
+retry:
|
|
||||||
fd = open(device, O_RDONLY);
|
|
||||||
- if (fd < 0)
|
|
||||||
- return NULL;
|
|
||||||
+ if (fd < 0) {
|
|
||||||
+ if (errno == ENOMEDIUM && retries < MAX_RETRIES) {
|
|
||||||
+ ++retries;
|
|
||||||
+ sleep(3);
|
|
||||||
+ goto retry;
|
|
||||||
+ } else
|
|
||||||
+ return NULL;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
id = volume_id_open_fd(fd);
|
|
||||||
if (!id) {
|
|
||||||
diff --git a/mount/mount.c b/mount/mount.c
|
|
||||||
index bed792d..5d50bca 100644
|
|
||||||
--- a/mount/mount.c
|
|
||||||
+++ b/mount/mount.c
|
|
||||||
@@ -1061,6 +1061,7 @@ cdrom_setspeed(const char *spec) {
|
|
||||||
static int
|
|
||||||
try_mount_one (const char *spec0, const char *node0, const char *types0,
|
|
||||||
const char *opts0, int freq, int pass, int ro) {
|
|
||||||
+#define MAX_RETRIES 5
|
|
||||||
int res = 0, status = 0, special = 0;
|
|
||||||
int mnt5_res = 0; /* only for gcc */
|
|
||||||
int mnt_err;
|
|
||||||
@@ -1072,6 +1073,7 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
|
|
||||||
int loop = 0;
|
|
||||||
const char *loopdev = 0, *loopfile = 0;
|
|
||||||
struct stat statbuf;
|
|
||||||
+ int retries = 0; /* Nr of retries for mount in case of ENOMEDIUM */
|
|
||||||
|
|
||||||
/* copies for freeing on exit */
|
|
||||||
const char *opts1, *spec1, *node1, *types1, *extra_opts1;
|
|
||||||
@@ -1134,6 +1136,7 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
+mount_retry:
|
|
||||||
block_signals (SIG_BLOCK);
|
|
||||||
|
|
||||||
if (!fake) {
|
|
||||||
@@ -1363,6 +1366,14 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
+ case ENOMEDIUM:
|
|
||||||
+ if (retries < MAX_RETRIES) {
|
|
||||||
+ ++retries;
|
|
||||||
+ sleep(3);
|
|
||||||
+ goto mount_retry;
|
|
||||||
+ }
|
|
||||||
+ error(_("mount: No medium found on %s"), spec);
|
|
||||||
+ break;
|
|
||||||
default:
|
|
||||||
error ("mount: %s", strerror (mnt_err)); break;
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
Index: util-linux-ng-2.14.1/disk-utils/mkfs.minix.c
|
|
||||||
===================================================================
|
|
||||||
--- util-linux-ng-2.14.1.orig/disk-utils/mkfs.minix.c 2008-09-10 11:02:42.000000000 +0200
|
|
||||||
+++ util-linux-ng-2.14.1/disk-utils/mkfs.minix.c 2008-10-23 17:25:49.000000000 +0200
|
|
||||||
@@ -653,9 +653,14 @@ main(int argc, char ** argv) {
|
|
||||||
die(_("cannot determine sector size for %s"));
|
|
||||||
if (BLOCK_SIZE < sectorsize)
|
|
||||||
die(_("block size smaller than physical sector size of %s"));
|
|
||||||
- if (!BLOCKS && blkdev_get_size(DEV, &BLOCKS) == -1)
|
|
||||||
- die(_("cannot determine size of %s"));
|
|
||||||
+ if (!BLOCKS) {
|
|
||||||
+ if (blkdev_get_size(DEV, &BLOCKS) == -1)
|
|
||||||
+ die(_("cannot determine size of %s"));
|
|
||||||
+ BLOCKS /= BLOCK_SIZE;
|
|
||||||
+ }
|
|
||||||
} else if (!S_ISBLK(statbuf.st_mode)) {
|
|
||||||
+ if (!BLOCKS)
|
|
||||||
+ BLOCKS = statbuf.st_size / BLOCK_SIZE;
|
|
||||||
check=0;
|
|
||||||
} else if (statbuf.st_rdev == 0x0300 || statbuf.st_rdev == 0x0340)
|
|
||||||
die(_("will not try to make filesystem on '%s'"));
|
|
@ -1,14 +0,0 @@
|
|||||||
Index: util-linux-ng-2.14.1/fdisk/partname.c
|
|
||||||
===================================================================
|
|
||||||
--- util-linux-ng-2.14.1.orig/fdisk/partname.c 2008-05-29 01:01:02.000000000 +0200
|
|
||||||
+++ util-linux-ng-2.14.1/fdisk/partname.c 2008-10-27 17:01:15.000000000 +0100
|
|
||||||
@@ -1,6 +1,9 @@
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
+#include <sys/types.h>
|
|
||||||
+#include <fcntl.h>
|
|
||||||
+#include "blkdev.h"
|
|
||||||
#include "common.h"
|
|
||||||
|
|
||||||
/*
|
|
@ -17,10 +17,10 @@ Date: Thu Jul 17 14:19:40 2008 +0200
|
|||||||
Signed-off-by: Cai Qian <qcai@redhat.com>
|
Signed-off-by: Cai Qian <qcai@redhat.com>
|
||||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
|
||||||
Index: util-linux-ng-2.14.1/README.licensing
|
Index: util-linux-ng-2.14.2-rc2/README.licensing
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1.orig/README.licensing 2008-09-10 11:02:42.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/README.licensing 2009-01-22 12:32:48.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1/README.licensing 2008-10-01 17:18:31.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/README.licensing 2009-02-05 15:27:37.000000000 +0100
|
||||||
@@ -2,6 +2,8 @@
|
@@ -2,6 +2,8 @@
|
||||||
The project utils-linux-ng doesn't use same license for all code. There are
|
The project utils-linux-ng doesn't use same license for all code. There are
|
||||||
code with:
|
code with:
|
||||||
@ -30,10 +30,10 @@ Index: util-linux-ng-2.14.1/README.licensing
|
|||||||
* GPLv2+ (GNU General Public License version 2, or any later version)
|
* GPLv2+ (GNU General Public License version 2, or any later version)
|
||||||
|
|
||||||
* GPLv2 (GNU General Public License version 2)
|
* GPLv2 (GNU General Public License version 2)
|
||||||
Index: util-linux-ng-2.14.1/po/POTFILES.in
|
Index: util-linux-ng-2.14.2-rc2/po/POTFILES.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1.orig/po/POTFILES.in 2008-09-10 11:02:43.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/po/POTFILES.in 2009-01-22 12:32:48.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1/po/POTFILES.in 2008-10-01 17:18:31.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/po/POTFILES.in 2009-02-05 15:27:37.000000000 +0100
|
||||||
@@ -98,6 +98,7 @@ sys-utils/flock.c
|
@@ -98,6 +98,7 @@ sys-utils/flock.c
|
||||||
sys-utils/ipcrm.c
|
sys-utils/ipcrm.c
|
||||||
sys-utils/ipcs.c
|
sys-utils/ipcs.c
|
||||||
@ -42,28 +42,28 @@ Index: util-linux-ng-2.14.1/po/POTFILES.in
|
|||||||
sys-utils/rdev.c
|
sys-utils/rdev.c
|
||||||
sys-utils/readprofile.c
|
sys-utils/readprofile.c
|
||||||
sys-utils/renice.c
|
sys-utils/renice.c
|
||||||
Index: util-linux-ng-2.14.1/sys-utils/Makefile.am
|
Index: util-linux-ng-2.14.2-rc2/sys-utils/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1.orig/sys-utils/Makefile.am 2008-09-10 11:02:43.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/sys-utils/Makefile.am 2009-01-22 12:32:48.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1/sys-utils/Makefile.am 2008-10-01 17:19:50.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/sys-utils/Makefile.am 2009-02-05 15:28:58.000000000 +0100
|
||||||
@@ -11,11 +11,11 @@ dist_man_MANS = flock.1 ipcrm.1 ipcs.1 r
|
@@ -11,11 +11,11 @@ dist_man_MANS = flock.1 ipcrm.1 ipcs.1 r
|
||||||
if LINUX
|
if LINUX
|
||||||
bin_PROGRAMS += dmesg
|
bin_PROGRAMS += dmesg
|
||||||
sbin_PROGRAMS += ctrlaltdel
|
sbin_PROGRAMS += ctrlaltdel
|
||||||
-usrbinexec_PROGRAMS += cytune setarch
|
-usrbinexec_PROGRAMS += cytune setarch
|
||||||
+usrbinexec_PROGRAMS += cytune setarch lscpu
|
+usrbinexec_PROGRAMS += cytune setarch lscpu
|
||||||
usrsbinexec_PROGRAMS += tunelp rtcwake
|
usrsbinexec_PROGRAMS += ldattach tunelp rtcwake
|
||||||
|
|
||||||
dist_man_MANS += dmesg.1 ctrlaltdel.8 cytune.8 setarch.8 \
|
dist_man_MANS += dmesg.1 ctrlaltdel.8 cytune.8 setarch.8 \
|
||||||
- tunelp.8 rtcwake.8
|
- tunelp.8 rtcwake.8 ldattach.8
|
||||||
+ tunelp.8 rtcwake.8 lscpu.1
|
+ tunelp.8 rtcwake.8 ldattach.8 lscpu.1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cytune_SOURCES = cytune.c cyclades.h
|
cytune_SOURCES = cytune.c cyclades.h
|
||||||
Index: util-linux-ng-2.14.1/sys-utils/lscpu.1
|
Index: util-linux-ng-2.14.2-rc2/sys-utils/lscpu.1
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
+++ util-linux-ng-2.14.1/sys-utils/lscpu.1 2008-10-01 17:18:31.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/sys-utils/lscpu.1 2009-02-05 15:27:37.000000000 +0100
|
||||||
@@ -0,0 +1,29 @@
|
@@ -0,0 +1,29 @@
|
||||||
+.\" Process this file with
|
+.\" Process this file with
|
||||||
+.\" groff -man -Tascii lscpu.1
|
+.\" groff -man -Tascii lscpu.1
|
||||||
@ -94,10 +94,10 @@ Index: util-linux-ng-2.14.1/sys-utils/lscpu.1
|
|||||||
+.SH AVAILABILITY
|
+.SH AVAILABILITY
|
||||||
+The setarch command is part of the util-linux-ng package and is available from
|
+The setarch command is part of the util-linux-ng package and is available from
|
||||||
+ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
|
+ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
|
||||||
Index: util-linux-ng-2.14.1/sys-utils/lscpu.c
|
Index: util-linux-ng-2.14.2-rc2/sys-utils/lscpu.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
+++ util-linux-ng-2.14.1/sys-utils/lscpu.c 2008-10-01 17:18:31.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/sys-utils/lscpu.c 2009-02-05 15:27:37.000000000 +0100
|
||||||
@@ -0,0 +1,529 @@
|
@@ -0,0 +1,529 @@
|
||||||
+/*
|
+/*
|
||||||
+ * lscpu - CPU architecture information helper
|
+ * lscpu - CPU architecture information helper
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
Index: util-linux-ng-2.14.1/mount/lomount.c
|
|
||||||
===================================================================
|
|
||||||
--- util-linux-ng-2.14.1.orig/mount/lomount.c 2008-09-10 11:02:43.000000000 +0200
|
|
||||||
+++ util-linux-ng-2.14.1/mount/lomount.c 2008-11-07 14:00:28.000000000 +0100
|
|
||||||
@@ -653,7 +653,8 @@ set_loop(const char *device, const char
|
|
||||||
|
|
||||||
mode = (*options & SETLOOP_RDONLY) ? O_RDONLY : O_RDWR;
|
|
||||||
if ((ffd = open(file, mode)) < 0) {
|
|
||||||
- if (!(*options & SETLOOP_RDONLY) && errno == EROFS)
|
|
||||||
+ if (!(*options & SETLOOP_RDONLY) &&
|
|
||||||
+ (errno == EROFS || errno == EACCES))
|
|
||||||
ffd = open(file, mode = O_RDONLY);
|
|
||||||
if (ffd < 0) {
|
|
||||||
perror(file);
|
|
68
util-linux-2.14.2-mount_allow_loop_suid_umount.patch
Normal file
68
util-linux-2.14.2-mount_allow_loop_suid_umount.patch
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
Index: util-linux-ng-2.14.2/mount/umount.c
|
||||||
|
===================================================================
|
||||||
|
--- util-linux-ng-2.14.2.orig/mount/umount.c 2009-02-11 17:00:35.000000000 +0100
|
||||||
|
+++ util-linux-ng-2.14.2/mount/umount.c 2009-02-12 13:09:44.000000000 +0100
|
||||||
|
@@ -465,6 +465,42 @@ get_value(const char *list, const char *
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
+#define LOOP_DEV_PATH "/dev/loop"
|
||||||
|
+/* check if mc contains a loop device which is associated
|
||||||
|
+ * with the file in fs
|
||||||
|
+ */
|
||||||
|
+static int
|
||||||
|
+valid_loop(struct mntentchn *mc, struct mntentchn *fs)
|
||||||
|
+{
|
||||||
|
+ unsigned long long offset=0;
|
||||||
|
+ char *p;
|
||||||
|
+
|
||||||
|
+ /* 1. check if it begins with /dev/loop */
|
||||||
|
+ if (strncmp(LOOP_DEV_PATH, mc->m.mnt_fsname, sizeof(LOOP_DEV_PATH)-1) != 0)
|
||||||
|
+ return 0;
|
||||||
|
+
|
||||||
|
+ /* 2. check for loop option in fstab */
|
||||||
|
+ if (!contains(fs->m.mnt_opts, "loop"))
|
||||||
|
+ return 0;
|
||||||
|
+
|
||||||
|
+ /* 3. check for offset option in fstab */
|
||||||
|
+ if (p=get_value(fs->m.mnt_opts, "offset="))
|
||||||
|
+ offset = strtoull(p, NULL, 10);
|
||||||
|
+
|
||||||
|
+ /* 4. check association */
|
||||||
|
+ if (loopfile_used_with(mc->m.mnt_fsname, fs->m.mnt_fsname, offset)) {
|
||||||
|
+ if (verbose > 1)
|
||||||
|
+ printf(_("device %s is associated with %s\n"),
|
||||||
|
+ mc->m.mnt_fsname, fs->m.mnt_fsname);
|
||||||
|
+ return 1;
|
||||||
|
+ } else {
|
||||||
|
+ if (verbose > 1)
|
||||||
|
+ printf(_("device %s is not associated with %s\n"),
|
||||||
|
+ mc->m.mnt_fsname, fs->m.mnt_fsname);
|
||||||
|
+ return 0;
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
static int
|
||||||
|
umount_file (char *arg) {
|
||||||
|
struct mntentchn *mc, *fs;
|
||||||
|
@@ -530,14 +566,18 @@ umount_file (char *arg) {
|
||||||
|
the pair (spec,file) in fstab. */
|
||||||
|
fs = getfs_by_specdir(mc->m.mnt_fsname, mc->m.mnt_dir);
|
||||||
|
if (!fs) {
|
||||||
|
- if (!getfs_by_spec (file) && !getfs_by_dir (file))
|
||||||
|
+ fs = getfs_by_dir(file);
|
||||||
|
+ if (!getfs_by_spec (file) && !fs)
|
||||||
|
die (2,
|
||||||
|
_("umount: %s is not in the fstab "
|
||||||
|
"(and you are not root)"),
|
||||||
|
file);
|
||||||
|
- else
|
||||||
|
+
|
||||||
|
+ /* spec could be a file which is loop mounted */
|
||||||
|
+ if (fs && !valid_loop(mc, fs))
|
||||||
|
die (2, _("umount: %s mount disagrees with "
|
||||||
|
"the fstab"), file);
|
||||||
|
+
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
35
util-linux-2.14.2-schedutils_fix_email.patch
Normal file
35
util-linux-2.14.2-schedutils_fix_email.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Index: util-linux-ng-2.14.2-rc2/schedutils/ionice.1
|
||||||
|
===================================================================
|
||||||
|
--- util-linux-ng-2.14.2-rc2.orig/schedutils/ionice.1 2009-01-22 12:53:14.000000000 +0100
|
||||||
|
+++ util-linux-ng-2.14.2-rc2/schedutils/ionice.1 2009-02-05 18:08:51.000000000 +0100
|
||||||
|
@@ -76,7 +76,7 @@ Linux supports io scheduling priorities
|
||||||
|
io scheduler.
|
||||||
|
|
||||||
|
.SH AUTHORS
|
||||||
|
-Jens Axboe <axboe@suse.de>
|
||||||
|
+Jens Axboe <jens@axboe.dk>
|
||||||
|
|
||||||
|
.SH AVAILABILITY
|
||||||
|
The ionice command is part of the util-linux-ng package and is available from
|
||||||
|
Index: util-linux-ng-2.14.2-rc2/schedutils/ionice.c
|
||||||
|
===================================================================
|
||||||
|
--- util-linux-ng-2.14.2-rc2.orig/schedutils/ionice.c 2009-02-05 17:53:20.000000000 +0100
|
||||||
|
+++ util-linux-ng-2.14.2-rc2/schedutils/ionice.c 2009-02-05 18:09:46.000000000 +0100
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
/*
|
||||||
|
* ionice: set or get process io scheduling class and priority
|
||||||
|
*
|
||||||
|
- * Copyright (C) 2005 Jens Axboe <axboe@suse.de> SUSE Labs
|
||||||
|
+ * Copyright (C) 2005 Jens Axboe <jens@axboe.dk>
|
||||||
|
*
|
||||||
|
* Released under the terms of the GNU General Public License version 2
|
||||||
|
*
|
||||||
|
@@ -51,7 +51,7 @@ static void usage(void)
|
||||||
|
printf("\t\t\t1: realtime, 2: best-effort, 3: idle\n");
|
||||||
|
printf("\t-p\tProcess pid\n");
|
||||||
|
printf("\t-h\tThis help page\n");
|
||||||
|
- printf("\nJens Axboe <axboe@suse.de> (C) 2005\n");
|
||||||
|
+ printf("\nJens Axboe <jens@axboe.dk> (C) 2005\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
19
util-linux-2.14.2-schedutils_ionice_enosys.patch
Normal file
19
util-linux-2.14.2-schedutils_ionice_enosys.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Index: util-linux-ng-2.14.2-rc2/schedutils/ionice.c
|
||||||
|
===================================================================
|
||||||
|
--- util-linux-ng-2.14.2-rc2.orig/schedutils/ionice.c 2009-01-22 12:32:48.000000000 +0100
|
||||||
|
+++ util-linux-ng-2.14.2-rc2/schedutils/ionice.c 2009-02-05 17:53:20.000000000 +0100
|
||||||
|
@@ -115,8 +115,12 @@ int main(int argc, char *argv[])
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {
|
||||||
|
- perror("ioprio_set");
|
||||||
|
- exit(EXIT_FAILURE);
|
||||||
|
+ if (errno == ENOSYS)
|
||||||
|
+ fprintf(stderr, "Warning: omitting unsupported ioprio_set() call\n");
|
||||||
|
+ else {
|
||||||
|
+ perror("ioprio_set");
|
||||||
|
+ exit(EXIT_FAILURE);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
if (argv[optind]) {
|
@ -40,10 +40,10 @@ Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
|
|||||||
create mode 100644 mount/sha512.c
|
create mode 100644 mount/sha512.c
|
||||||
create mode 100644 mount/sha512.h
|
create mode 100644 mount/sha512.h
|
||||||
|
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/Makefile.am
|
Index: util-linux-ng-2.14.2-rc2/mount/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1-rc2.orig/mount/Makefile.am 2008-08-22 11:11:26.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/mount/Makefile.am 2009-01-22 12:32:48.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/Makefile.am 2008-09-09 17:07:40.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/Makefile.am 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -17,6 +17,7 @@ headers_common = fstab.h mount_mntent.h
|
@@ -17,6 +17,7 @@ headers_common = fstab.h mount_mntent.h
|
||||||
getusername.h loop.h sundries.h
|
getusername.h loop.h sundries.h
|
||||||
|
|
||||||
@ -62,10 +62,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/Makefile.am
|
|||||||
losetup_CPPFLAGS = -DMAIN $(AM_CPPFLAGS)
|
losetup_CPPFLAGS = -DMAIN $(AM_CPPFLAGS)
|
||||||
|
|
||||||
|
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
Index: util-linux-ng-2.14.2-rc2/mount/lomount.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1-rc2.orig/mount/lomount.c 2008-08-22 11:11:26.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/mount/lomount.c 2009-02-05 16:50:51.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/lomount.c 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/lomount.c 2009-02-05 16:52:14.000000000 +0100
|
||||||
@@ -24,6 +24,12 @@
|
@@ -24,6 +24,12 @@
|
||||||
#include "sundries.h"
|
#include "sundries.h"
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
@ -79,7 +79,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
|
|
||||||
#ifndef HAVE_VERSIONSORT
|
#ifndef HAVE_VERSIONSORT
|
||||||
# include "strverscmp.h"
|
# include "strverscmp.h"
|
||||||
@@ -360,12 +366,22 @@ show_loop_fd(int fd, char *device) {
|
@@ -367,12 +373,22 @@ show_loop_fd(int fd, char *device) {
|
||||||
|
|
||||||
if (loopinfo64.lo_encrypt_type ||
|
if (loopinfo64.lo_encrypt_type ||
|
||||||
loopinfo64.lo_crypt_name[0]) {
|
loopinfo64.lo_crypt_name[0]) {
|
||||||
@ -105,7 +105,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
return 0;
|
return 0;
|
||||||
@@ -619,7 +635,7 @@ xgetpass(int pfd, const char *prompt) {
|
@@ -626,7 +642,7 @@ xgetpass(int pfd, const char *prompt) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pass == NULL)
|
if (pass == NULL)
|
||||||
@ -114,7 +114,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
|
|
||||||
pass[i] = 0;
|
pass[i] = 0;
|
||||||
return pass;
|
return pass;
|
||||||
@@ -633,12 +649,31 @@ digits_only(const char *s) {
|
@@ -640,6 +656,24 @@ digits_only(const char *s) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,6 +136,11 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
+ memcpy(buf, tmpbuf, MIN(buflen, sizeof(tmpbuf)));
|
+ memcpy(buf, tmpbuf, MIN(buflen, sizeof(tmpbuf)));
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
/*
|
||||||
|
* return codes:
|
||||||
|
* 0 - success
|
||||||
|
@@ -648,10 +682,11 @@ digits_only(const char *s) {
|
||||||
|
*/
|
||||||
int
|
int
|
||||||
set_loop(const char *device, const char *file, unsigned long long offset,
|
set_loop(const char *device, const char *file, unsigned long long offset,
|
||||||
- unsigned long long sizelimit, const char *encryption, int pfd, int *options) {
|
- unsigned long long sizelimit, const char *encryption, int pfd, int *options) {
|
||||||
@ -148,7 +153,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
char *filename;
|
char *filename;
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
@@ -672,13 +707,37 @@ set_loop(const char *device, const char
|
@@ -689,13 +724,37 @@ set_loop(const char *device, const char
|
||||||
filename = (char *) file;
|
filename = (char *) file;
|
||||||
xstrncpy((char *)loopinfo64.lo_file_name, filename, LO_NAME_SIZE);
|
xstrncpy((char *)loopinfo64.lo_file_name, filename, LO_NAME_SIZE);
|
||||||
|
|
||||||
@ -188,7 +193,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -699,20 +758,70 @@ set_loop(const char *device, const char
|
@@ -716,20 +775,70 @@ set_loop(const char *device, const char
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -271,7 +276,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ioctl(fd, LOOP_SET_FD, ffd) < 0) {
|
if (ioctl(fd, LOOP_SET_FD, ffd) < 0) {
|
||||||
@@ -863,7 +972,13 @@ usage(void) {
|
@@ -880,7 +989,13 @@ usage(void) {
|
||||||
|
|
||||||
fprintf(stderr, _("\nOptions:\n"
|
fprintf(stderr, _("\nOptions:\n"
|
||||||
" -e | --encryption <type> enable data encryption with specified <name/num>\n"
|
" -e | --encryption <type> enable data encryption with specified <name/num>\n"
|
||||||
@ -285,7 +290,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
" -o | --offset <num> start at offset <num> into file\n"
|
" -o | --offset <num> start at offset <num> into file\n"
|
||||||
" --sizelimit <num> loop limited to only <num> bytes of the file\n"
|
" --sizelimit <num> loop limited to only <num> bytes of the file\n"
|
||||||
" -p | --pass-fd <num> read passphrase from file descriptor <num>\n"
|
" -p | --pass-fd <num> read passphrase from file descriptor <num>\n"
|
||||||
@@ -876,11 +991,14 @@ usage(void) {
|
@@ -893,11 +1008,14 @@ usage(void) {
|
||||||
int
|
int
|
||||||
main(int argc, char **argv) {
|
main(int argc, char **argv) {
|
||||||
char *p, *offset, *sizelimit, *encryption, *passfd, *device, *file, *assoc;
|
char *p, *offset, *sizelimit, *encryption, *passfd, *device, *file, *assoc;
|
||||||
@ -300,7 +305,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
unsigned long long off, slimit;
|
unsigned long long off, slimit;
|
||||||
struct option longopts[] = {
|
struct option longopts[] = {
|
||||||
{ "all", 0, 0, 'a' },
|
{ "all", 0, 0, 'a' },
|
||||||
@@ -888,6 +1006,8 @@ main(int argc, char **argv) {
|
@@ -905,6 +1023,8 @@ main(int argc, char **argv) {
|
||||||
{ "encryption", 1, 0, 'e' },
|
{ "encryption", 1, 0, 'e' },
|
||||||
{ "find", 0, 0, 'f' },
|
{ "find", 0, 0, 'f' },
|
||||||
{ "help", 0, 0, 'h' },
|
{ "help", 0, 0, 'h' },
|
||||||
@ -309,7 +314,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
{ "associated", 1, 0, 'j' },
|
{ "associated", 1, 0, 'j' },
|
||||||
{ "offset", 1, 0, 'o' },
|
{ "offset", 1, 0, 'o' },
|
||||||
{ "sizelimit", 1, 0, 128 },
|
{ "sizelimit", 1, 0, 128 },
|
||||||
@@ -906,12 +1026,13 @@ main(int argc, char **argv) {
|
@@ -923,12 +1043,13 @@ main(int argc, char **argv) {
|
||||||
off = 0;
|
off = 0;
|
||||||
slimit = 0;
|
slimit = 0;
|
||||||
assoc = offset = sizelimit = encryption = passfd = NULL;
|
assoc = offset = sizelimit = encryption = passfd = NULL;
|
||||||
@ -324,7 +329,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
longopts, NULL)) != -1) {
|
longopts, NULL)) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'a':
|
case 'a':
|
||||||
@@ -933,6 +1054,12 @@ main(int argc, char **argv) {
|
@@ -950,6 +1071,12 @@ main(int argc, char **argv) {
|
||||||
case 'j':
|
case 'j':
|
||||||
assoc = optarg;
|
assoc = optarg;
|
||||||
break;
|
break;
|
||||||
@ -337,7 +342,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
case 'o':
|
case 'o':
|
||||||
offset = optarg;
|
offset = optarg;
|
||||||
break;
|
break;
|
||||||
@@ -1011,8 +1138,11 @@ main(int argc, char **argv) {
|
@@ -1028,8 +1155,11 @@ main(int argc, char **argv) {
|
||||||
else {
|
else {
|
||||||
if (passfd && sscanf(passfd, "%d", &pfd) != 1)
|
if (passfd && sscanf(passfd, "%d", &pfd) != 1)
|
||||||
usage();
|
usage();
|
||||||
@ -349,11 +354,11 @@ Index: util-linux-ng-2.14.1-rc2/mount/lomount.c
|
|||||||
+ pfd, &ro, keysz);
|
+ pfd, &ro, keysz);
|
||||||
if (res == 2 && find) {
|
if (res == 2 && find) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf("stolen loop=%s...trying again\n",
|
printf(_("stolen loop=%s...trying again\n"),
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/losetup.8
|
Index: util-linux-ng-2.14.2-rc2/mount/losetup.8
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1-rc2.orig/mount/losetup.8 2008-05-29 01:01:02.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/mount/losetup.8 2008-05-29 01:01:02.000000000 +0200
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/losetup.8 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/losetup.8 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -80,9 +80,18 @@ find the first unused loop device. If a
|
@@ -80,9 +80,18 @@ find the first unused loop device. If a
|
||||||
argument is present, use this device. Otherwise, print its name
|
argument is present, use this device. Otherwise, print its name
|
||||||
.IP "\fB\-h, \-\-help\fP"
|
.IP "\fB\-h, \-\-help\fP"
|
||||||
@ -382,13 +387,13 @@ Index: util-linux-ng-2.14.1-rc2/mount/losetup.8
|
|||||||
|
|
||||||
Cryptoloop is deprecated in favor of dm-crypt. For more details see
|
Cryptoloop is deprecated in favor of dm-crypt. For more details see
|
||||||
.B cryptsetup(8).
|
.B cryptsetup(8).
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/mount.8
|
Index: util-linux-ng-2.14.2-rc2/mount/mount.8
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1-rc2.orig/mount/mount.8 2008-08-22 11:11:26.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/mount/mount.8 2009-01-22 12:32:48.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/mount.8 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/mount.8 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -618,6 +618,15 @@ This option implies the options
|
@@ -767,6 +767,15 @@ Every time the inode is modified, the i_
|
||||||
.B nofail
|
.B noiversion
|
||||||
Do not report errors for this device if it does not exist.
|
Do not increment the i_version inode field.
|
||||||
.TP
|
.TP
|
||||||
+.B encryption
|
+.B encryption
|
||||||
+Specifies an encryption algorithm to use. Used in conjunction with the
|
+Specifies an encryption algorithm to use. Used in conjunction with the
|
||||||
@ -402,7 +407,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.8
|
|||||||
.B mand
|
.B mand
|
||||||
Allow mandatory locks on this filesystem. See
|
Allow mandatory locks on this filesystem. See
|
||||||
.BR fcntl (2).
|
.BR fcntl (2).
|
||||||
@@ -2049,6 +2058,10 @@ that are really options to
|
@@ -2222,6 +2231,10 @@ that are really options to
|
||||||
.BR \%losetup (8).
|
.BR \%losetup (8).
|
||||||
(These options can be used in addition to those specific
|
(These options can be used in addition to those specific
|
||||||
to the filesystem type.)
|
to the filesystem type.)
|
||||||
@ -413,10 +418,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.8
|
|||||||
|
|
||||||
If no explicit loop device is mentioned
|
If no explicit loop device is mentioned
|
||||||
(but just an option `\fB\-o loop\fP' is given), then
|
(but just an option `\fB\-o loop\fP' is given), then
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
Index: util-linux-ng-2.14.2-rc2/mount/mount.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1-rc2.orig/mount/mount.c 2008-09-09 16:50:12.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/mount/mount.c 2009-02-05 16:50:51.000000000 +0100
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/mount.c 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/mount.c 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -87,6 +87,9 @@ static int suid = 0;
|
@@ -87,6 +87,9 @@ static int suid = 0;
|
||||||
/* Contains the fd to read the passphrase from, if any. */
|
/* Contains the fd to read the passphrase from, if any. */
|
||||||
static int pfd = -1;
|
static int pfd = -1;
|
||||||
@ -427,7 +432,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
/* Map from -o and fstab option strings to the flag argument to mount(2). */
|
/* Map from -o and fstab option strings to the flag argument to mount(2). */
|
||||||
struct opt_map {
|
struct opt_map {
|
||||||
const char *opt; /* option name */
|
const char *opt; /* option name */
|
||||||
@@ -184,6 +187,7 @@ static int opt_nofail = 0;
|
@@ -188,6 +191,7 @@ static int opt_nofail = 0;
|
||||||
|
|
||||||
static const char *opt_loopdev, *opt_vfstype, *opt_offset, *opt_sizelimit,
|
static const char *opt_loopdev, *opt_vfstype, *opt_offset, *opt_sizelimit,
|
||||||
*opt_encryption, *opt_speed, *opt_comment, *opt_uhelper;
|
*opt_encryption, *opt_speed, *opt_comment, *opt_uhelper;
|
||||||
@ -435,7 +440,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
|
|
||||||
static int mounted (const char *spec0, const char *node0);
|
static int mounted (const char *spec0, const char *node0);
|
||||||
static int check_special_mountprog(const char *spec, const char *node,
|
static int check_special_mountprog(const char *spec, const char *node,
|
||||||
@@ -199,6 +203,8 @@ static struct string_opt_map {
|
@@ -203,6 +207,8 @@ static struct string_opt_map {
|
||||||
{ "offset=", 0, &opt_offset },
|
{ "offset=", 0, &opt_offset },
|
||||||
{ "sizelimit=", 0, &opt_sizelimit },
|
{ "sizelimit=", 0, &opt_sizelimit },
|
||||||
{ "encryption=", 0, &opt_encryption },
|
{ "encryption=", 0, &opt_encryption },
|
||||||
@ -444,7 +449,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
{ "speed=", 0, &opt_speed },
|
{ "speed=", 0, &opt_speed },
|
||||||
{ "comment=", 1, &opt_comment },
|
{ "comment=", 1, &opt_comment },
|
||||||
{ "uhelper=", 0, &opt_uhelper },
|
{ "uhelper=", 0, &opt_uhelper },
|
||||||
@@ -898,7 +904,8 @@ loop_check(const char **spec, const char
|
@@ -910,7 +916,8 @@ loop_check(const char **spec, const char
|
||||||
*type = opt_vfstype;
|
*type = opt_vfstype;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -454,7 +459,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
*loopfile = *spec;
|
*loopfile = *spec;
|
||||||
|
|
||||||
if (*loop) {
|
if (*loop) {
|
||||||
@@ -930,7 +937,7 @@ loop_check(const char **spec, const char
|
@@ -942,7 +949,7 @@ loop_check(const char **spec, const char
|
||||||
printf(_("mount: going to use the loop device %s\n"), *loopdev);
|
printf(_("mount: going to use the loop device %s\n"), *loopdev);
|
||||||
|
|
||||||
if ((res = set_loop(*loopdev, *loopfile, offset, sizelimit,
|
if ((res = set_loop(*loopdev, *loopfile, offset, sizelimit,
|
||||||
@ -463,7 +468,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
if (res == 2) {
|
if (res == 2) {
|
||||||
/* loop dev has been grabbed by some other process,
|
/* loop dev has been grabbed by some other process,
|
||||||
try again, if not given explicitly */
|
try again, if not given explicitly */
|
||||||
@@ -1661,6 +1668,7 @@ static struct option longopts[] = {
|
@@ -1699,6 +1706,7 @@ static struct option longopts[] = {
|
||||||
{ "options", 1, 0, 'o' },
|
{ "options", 1, 0, 'o' },
|
||||||
{ "test-opts", 1, 0, 'O' },
|
{ "test-opts", 1, 0, 'O' },
|
||||||
{ "pass-fd", 1, 0, 'p' },
|
{ "pass-fd", 1, 0, 'p' },
|
||||||
@ -471,7 +476,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
{ "types", 1, 0, 't' },
|
{ "types", 1, 0, 't' },
|
||||||
{ "bind", 0, 0, 128 },
|
{ "bind", 0, 0, 128 },
|
||||||
{ "move", 0, 0, 133 },
|
{ "move", 0, 0, 133 },
|
||||||
@@ -1822,6 +1830,7 @@ main(int argc, char *argv[]) {
|
@@ -1860,6 +1868,7 @@ main(int argc, char *argv[]) {
|
||||||
char *options = NULL, *test_opts = NULL, *node;
|
char *options = NULL, *test_opts = NULL, *node;
|
||||||
const char *spec = NULL;
|
const char *spec = NULL;
|
||||||
char *label = NULL;
|
char *label = NULL;
|
||||||
@ -479,7 +484,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
char *uuid = NULL;
|
char *uuid = NULL;
|
||||||
char *types = NULL;
|
char *types = NULL;
|
||||||
char *p;
|
char *p;
|
||||||
@@ -1852,7 +1861,7 @@ main(int argc, char *argv[]) {
|
@@ -1890,7 +1899,7 @@ main(int argc, char *argv[]) {
|
||||||
initproctitle(argc, argv);
|
initproctitle(argc, argv);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -488,7 +493,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
longopts, NULL)) != -1) {
|
longopts, NULL)) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'a': /* mount everything in fstab */
|
case 'a': /* mount everything in fstab */
|
||||||
@@ -1870,6 +1879,9 @@ main(int argc, char *argv[]) {
|
@@ -1908,6 +1917,9 @@ main(int argc, char *argv[]) {
|
||||||
case 'i':
|
case 'i':
|
||||||
external_allowed = 0;
|
external_allowed = 0;
|
||||||
break;
|
break;
|
||||||
@ -498,7 +503,7 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
case 'l':
|
case 'l':
|
||||||
list_with_volumelabel = 1;
|
list_with_volumelabel = 1;
|
||||||
break;
|
break;
|
||||||
@@ -2000,6 +2012,9 @@ main(int argc, char *argv[]) {
|
@@ -2038,6 +2050,9 @@ main(int argc, char *argv[]) {
|
||||||
|
|
||||||
atexit(unlock_mtab);
|
atexit(unlock_mtab);
|
||||||
|
|
||||||
@ -508,10 +513,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/mount.c
|
|||||||
switch (argc+specseen) {
|
switch (argc+specseen) {
|
||||||
case 0:
|
case 0:
|
||||||
/* mount -a */
|
/* mount -a */
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/rmd160.c
|
Index: util-linux-ng-2.14.2-rc2/mount/rmd160.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/rmd160.c 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/rmd160.c 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -0,0 +1,532 @@
|
@@ -0,0 +1,532 @@
|
||||||
+/* rmd160.c - RIPE-MD160
|
+/* rmd160.c - RIPE-MD160
|
||||||
+ * Copyright (C) 1998 Free Software Foundation, Inc.
|
+ * Copyright (C) 1998 Free Software Foundation, Inc.
|
||||||
@ -1045,10 +1050,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/rmd160.c
|
|||||||
+ rmd160_final( &hd );
|
+ rmd160_final( &hd );
|
||||||
+ memcpy( outbuf, hd.buf, 20 );
|
+ memcpy( outbuf, hd.buf, 20 );
|
||||||
+}
|
+}
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/rmd160.h
|
Index: util-linux-ng-2.14.2-rc2/mount/rmd160.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/rmd160.h 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/rmd160.h 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
+#ifndef RMD160_H
|
+#ifndef RMD160_H
|
||||||
+#define RMD160_H
|
+#define RMD160_H
|
||||||
@ -1061,10 +1066,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/rmd160.h
|
|||||||
+#endif /*RMD160_H*/
|
+#endif /*RMD160_H*/
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/sha512.c
|
Index: util-linux-ng-2.14.2-rc2/mount/sha512.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/sha512.c 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/sha512.c 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -0,0 +1,432 @@
|
@@ -0,0 +1,432 @@
|
||||||
+/*
|
+/*
|
||||||
+ * sha512.c
|
+ * sha512.c
|
||||||
@ -1498,10 +1503,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/sha512.c
|
|||||||
+ memset(&ctx, 0, sizeof(ctx));
|
+ memset(&ctx, 0, sizeof(ctx));
|
||||||
+}
|
+}
|
||||||
+#endif
|
+#endif
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/sha512.h
|
Index: util-linux-ng-2.14.2-rc2/mount/sha512.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/sha512.h 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/sha512.h 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -0,0 +1,45 @@
|
@@ -0,0 +1,45 @@
|
||||||
+/*
|
+/*
|
||||||
+ * sha512.h
|
+ * sha512.h
|
||||||
@ -1548,10 +1553,10 @@ Index: util-linux-ng-2.14.1-rc2/mount/sha512.h
|
|||||||
+/* no sha384_write(), use sha512_write() */
|
+/* no sha384_write(), use sha512_write() */
|
||||||
+/* no sha384_final(), use sha512_final(), result in ctx->sha_out[0...47] */
|
+/* no sha384_final(), use sha512_final(), result in ctx->sha_out[0...47] */
|
||||||
+extern void sha384_hash_buffer(const unsigned char *, size_t, unsigned char *, size_t);
|
+extern void sha384_hash_buffer(const unsigned char *, size_t, unsigned char *, size_t);
|
||||||
Index: util-linux-ng-2.14.1-rc2/mount/lomount.h
|
Index: util-linux-ng-2.14.2-rc2/mount/lomount.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- util-linux-ng-2.14.1-rc2.orig/mount/lomount.h 2008-07-02 15:08:50.000000000 +0200
|
--- util-linux-ng-2.14.2-rc2.orig/mount/lomount.h 2008-07-02 15:08:50.000000000 +0200
|
||||||
+++ util-linux-ng-2.14.1-rc2/mount/lomount.h 2008-09-09 17:06:21.000000000 +0200
|
+++ util-linux-ng-2.14.2-rc2/mount/lomount.h 2009-02-05 16:50:57.000000000 +0100
|
||||||
@@ -1,5 +1,6 @@
|
@@ -1,5 +1,6 @@
|
||||||
-extern int set_loop(const char *, const char *, unsigned long long, unsigned long long,
|
-extern int set_loop(const char *, const char *, unsigned long long, unsigned long long,
|
||||||
- const char *, int, int *);
|
- const char *, int, int *);
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bf289c5399ab78674d9662ff2906a63ab540e88bf8bb1d3c7326dc8b1bef802c
|
|
||||||
size 2929618
|
|
3
util-linux-ng-2.14.2.tar.bz2
Normal file
3
util-linux-ng-2.14.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:108e63e9a007f6a8c0eff841dd38e0fe3b635c98b35bfac2d89b4b1a1ce0630e
|
||||||
|
size 2956769
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 12 17:12:28 CET 2009 - mkoenig@suse.de
|
||||||
|
|
||||||
|
- update to version 2.14.2
|
||||||
|
chrt:
|
||||||
|
* support CFS SCHED_IDLE priority and document it
|
||||||
|
fdisk:
|
||||||
|
* cannot create partition with starting beyond 1 TB
|
||||||
|
* remove obsolete information from man page
|
||||||
|
hwclock:
|
||||||
|
* remove "cli" and "sti" from i386 CMOS code
|
||||||
|
* remove x86_64-specific bogon
|
||||||
|
losetup:
|
||||||
|
* add warning about read-only mode
|
||||||
|
* missing EBUSY error hint message
|
||||||
|
more:
|
||||||
|
* minor fixes to magic()
|
||||||
|
mount:
|
||||||
|
* add i_version support
|
||||||
|
* add info about /proc/mounts to mount.1
|
||||||
|
* add info about semantics of read-only mount to mount.8
|
||||||
|
* add rootcontext= SELinux mount option
|
||||||
|
* clean up SPEC canonicalization
|
||||||
|
* create separate section for fs-independent options in mount.8
|
||||||
|
* finalize support of quoted LABELs/UUIDs
|
||||||
|
* mtab created multiple times with -a option
|
||||||
|
* suggest to use blockdev --setro rather than losetup
|
||||||
|
- catch ENOSYS in ionice to allow execution in virtualized
|
||||||
|
environments which don't support ioprio_{get,set} calls [bnc#444637]
|
||||||
|
- umount: fix suid check for user mounted loop devices [bnc#461732]
|
||||||
|
- fix doc [bnc#456375]
|
||||||
|
- remove patches:
|
||||||
|
util-linux-2.13.1-fdisk_cfdisk_yesno.patch
|
||||||
|
util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch
|
||||||
|
util-linux-2.14.1-disk-utils_mkfs.minix_file_size_detection.patch
|
||||||
|
util-linux-2.14.1-fdisk_missing_include.patch
|
||||||
|
util-linux-2.14.1-mount_loop_ro_fix.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 7 18:28:58 CET 2009 - schwab@suse.de
|
Sat Feb 7 18:28:58 CET 2009 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package util-linux (Version 2.14.1)
|
# spec file for package util-linux (Version 2.14.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -28,8 +28,8 @@ PreReq: %install_info_prereq permissions
|
|||||||
License: BSD 3-Clause; GPL v2 or later
|
License: BSD 3-Clause; GPL v2 or later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.14.1
|
Version: 2.14.2
|
||||||
Release: 13
|
Release: 1
|
||||||
Requires: %name-lang = %{version}
|
Requires: %name-lang = %{version}
|
||||||
Summary: A collection of basic system utilities
|
Summary: A collection of basic system utilities
|
||||||
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
|
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2
|
||||||
@ -39,8 +39,6 @@ Source3: nologin.8
|
|||||||
Source4: raw.init
|
Source4: raw.init
|
||||||
Source5: etc.raw
|
Source5: etc.raw
|
||||||
Source6: etc_filesystems
|
Source6: etc_filesystems
|
||||||
Source7: v2.14.1-ChangeLog
|
|
||||||
Source8: v2.14.1-ReleaseNotes
|
|
||||||
%define time_ver 1.7
|
%define time_ver 1.7
|
||||||
%define which_ver 2.19
|
%define which_ver 2.19
|
||||||
%define adjtimex_ver 1.20
|
%define adjtimex_ver 1.20
|
||||||
@ -57,6 +55,9 @@ Source28: mkzimage_cmdline.8
|
|||||||
Source29: mkzimage_cmdline.c
|
Source29: mkzimage_cmdline.c
|
||||||
Source30: README.largedisk
|
Source30: README.largedisk
|
||||||
Source31: addnote.c
|
Source31: addnote.c
|
||||||
|
Source32: v2.14-ReleaseNotes
|
||||||
|
Source33: v2.14.1-ReleaseNotes
|
||||||
|
Source34: v2.14.2-ReleaseNotes
|
||||||
##
|
##
|
||||||
## util-linux patches
|
## util-linux patches
|
||||||
##
|
##
|
||||||
@ -66,25 +67,30 @@ Patch1: util-linux-2.12-misc_utils_hostid.patch
|
|||||||
Patch2: util-linux-2.12r-fdisk_cyl.patch
|
Patch2: util-linux-2.12r-fdisk_cyl.patch
|
||||||
# 241372 - remove legacy warnings from fdisk
|
# 241372 - remove legacy warnings from fdisk
|
||||||
Patch3: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
Patch3: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
||||||
# 338419
|
# lscpu hypervisor detection needed for FATE#303051
|
||||||
Patch4: util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch
|
|
||||||
#
|
|
||||||
Patch5: util-linux-2.13.1-fdisk_cfdisk_yesno.patch
|
|
||||||
Patch6: fix-hang-on-stale-nfs.diff
|
|
||||||
Patch7: util-linux-2.14-mount_retry_on_nomedium.patch
|
|
||||||
Patch8: util-linux-2.14.1-lscpu.patch
|
Patch8: util-linux-2.14.1-lscpu.patch
|
||||||
Patch9: util-linux-2.14.1-lscpu_sysroot_option.patch
|
Patch9: util-linux-2.14.1-lscpu_sysroot_option.patch
|
||||||
Patch10: util-linux-2.14.1-lscpu_add_hypervisor_detection.patch
|
Patch10: util-linux-2.14.1-lscpu_add_hypervisor_detection.patch
|
||||||
|
# bnc#433028
|
||||||
Patch11: util-linux-2.14.1-mount_swap_pagesize.patch
|
Patch11: util-linux-2.14.1-mount_swap_pagesize.patch
|
||||||
Patch12: util-linux-2.14.1-sys-utils_lscpu_exit.patch
|
Patch12: util-linux-2.14.1-sys-utils_lscpu_exit.patch
|
||||||
Patch13: util-linux-2.14.1-disk-utils_mkfs.minix_file_size_detection.patch
|
|
||||||
Patch14: util-linux-2.14.1-fdisk_missing_include.patch
|
|
||||||
Patch15: util-linux-2.14.1-fdisk_cylinder.patch
|
Patch15: util-linux-2.14.1-fdisk_cylinder.patch
|
||||||
Patch16: util-linux-2.14.1-mount_loop_ro_fix.patch
|
# bnc#444966
|
||||||
Patch17: util-linux-2.14.1-mount_race.patch
|
Patch17: util-linux-2.14.1-mount_race.patch
|
||||||
|
# bnc#447036
|
||||||
Patch18: util-linux-2.14.1-mount_skip_sync.patch
|
Patch18: util-linux-2.14.1-mount_skip_sync.patch
|
||||||
|
# bnc#441106
|
||||||
Patch19: util-linux-2.14.1-hwclock_adjust_and_hctosys.patch
|
Patch19: util-linux-2.14.1-hwclock_adjust_and_hctosys.patch
|
||||||
|
# bnc#450675
|
||||||
Patch20: util-linux-2.14.1-disk_utils_raw_should_use_ioctl_to_create_device.patch
|
Patch20: util-linux-2.14.1-disk_utils_raw_should_use_ioctl_to_create_device.patch
|
||||||
|
# bnc#449646
|
||||||
|
Patch21: fix-hang-on-stale-nfs.diff
|
||||||
|
# bnc#444637
|
||||||
|
Patch22: util-linux-2.14.2-schedutils_ionice_enosys.patch
|
||||||
|
# bnc#456375
|
||||||
|
Patch23: util-linux-2.14.2-schedutils_fix_email.patch
|
||||||
|
# bnc#461732
|
||||||
|
Patch24: util-linux-2.14.2-mount_allow_loop_suid_umount.patch
|
||||||
# crypto patch
|
# crypto patch
|
||||||
Patch30: util-linux-mount_losetup_crypto.patch
|
Patch30: util-linux-mount_losetup_crypto.patch
|
||||||
##
|
##
|
||||||
@ -125,25 +131,22 @@ Authors:
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
%patch6
|
|
||||||
%patch7 -p1
|
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
%patch16 -p1
|
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
%patch19 -p1
|
%patch19 -p1
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
|
%patch21
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
|
%patch24 -p1
|
||||||
%patch30 -p1
|
%patch30 -p1
|
||||||
cp %{SOURCE7} %{SOURCE8} .
|
cp %{SOURCE32} %{SOURCE33} %{SOURCE34} .
|
||||||
#
|
#
|
||||||
cd adjtimex-*
|
cd adjtimex-*
|
||||||
%patch50 -p1
|
%patch50 -p1
|
||||||
@ -382,8 +385,9 @@ fi
|
|||||||
%files
|
%files
|
||||||
# Common files for all archs
|
# Common files for all archs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc v2.14-ReleaseNotes
|
||||||
%doc v2.14.1-ReleaseNotes
|
%doc v2.14.1-ReleaseNotes
|
||||||
%doc v2.14.1-ChangeLog
|
%doc v2.14.2-ReleaseNotes
|
||||||
%doc login-utils/README.getty
|
%doc login-utils/README.getty
|
||||||
%doc login-utils/README.modems-with-agetty
|
%doc login-utils/README.modems-with-agetty
|
||||||
%doc login-utils/README.poeigl
|
%doc login-utils/README.poeigl
|
||||||
@ -529,6 +533,8 @@ fi
|
|||||||
%{_mandir}/man8/fsck.minix.8.gz
|
%{_mandir}/man8/fsck.minix.8.gz
|
||||||
%{_mandir}/man8/isosize.8.gz
|
%{_mandir}/man8/isosize.8.gz
|
||||||
%{_mandir}/man8/ldattach.8.gz
|
%{_mandir}/man8/ldattach.8.gz
|
||||||
|
#%{_mandir}/man8/linux32.8.gz
|
||||||
|
#%{_mandir}/man8/linux64.8.gz
|
||||||
%{_mandir}/man8/losetup.8.gz
|
%{_mandir}/man8/losetup.8.gz
|
||||||
%{_mandir}/man8/mkfs.8.gz
|
%{_mandir}/man8/mkfs.8.gz
|
||||||
%{_mandir}/man8/mkswap.8.gz
|
%{_mandir}/man8/mkswap.8.gz
|
||||||
@ -593,25 +599,69 @@ fi
|
|||||||
# setarch links
|
# setarch links
|
||||||
#%ifarch %ix86 x86_64
|
#%ifarch %ix86 x86_64
|
||||||
#/usr/bin/i386
|
#/usr/bin/i386
|
||||||
|
#%{_mandir}/man8/i386.8.gz
|
||||||
#%endif
|
#%endif
|
||||||
#%ifarch x86_64
|
#%ifarch x86_64
|
||||||
#/usr/bin/x86_64
|
#/usr/bin/x86_64
|
||||||
|
#%{_mandir}/man8/x86_64.8.gz
|
||||||
#%endif
|
#%endif
|
||||||
#%ifarch s390 s390x
|
#%ifarch s390 s390x
|
||||||
#/usr/bin/s390
|
#/usr/bin/s390
|
||||||
#/usr/bin/s390x
|
#/usr/bin/s390x
|
||||||
|
#%{_mandir}/man8/s390.8.gz
|
||||||
|
#%{_mandir}/man8/s390x.8.gz
|
||||||
#%endif
|
#%endif
|
||||||
#%ifarch ppc ppc64
|
#%ifarch ppc ppc64
|
||||||
#/usr/bin/ppc
|
#/usr/bin/ppc
|
||||||
#/usr/bin/ppc32
|
#/usr/bin/ppc32
|
||||||
#/usr/bin/ppc64
|
#/usr/bin/ppc64
|
||||||
|
#%{_mandir}/man8/ppc.8.gz
|
||||||
|
#%{_mandir}/man8/ppc32.8.gz
|
||||||
|
#%{_mandir}/man8/ppc64.8.gz
|
||||||
#%endif
|
#%endif
|
||||||
#%ifarch ia64
|
#%ifarch ia64
|
||||||
#/usr/bin/i386
|
#/usr/bin/i386
|
||||||
#/usr/bin/ia64
|
#/usr/bin/ia64
|
||||||
|
#%{_mandir}/man8/i386.8.gz
|
||||||
|
#%{_mandir}/man8/ia64.8.gz
|
||||||
#%endif
|
#%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 12 2009 mkoenig@suse.de
|
||||||
|
- update to version 2.14.2
|
||||||
|
chrt:
|
||||||
|
* support CFS SCHED_IDLE priority and document it
|
||||||
|
fdisk:
|
||||||
|
* cannot create partition with starting beyond 1 TB
|
||||||
|
* remove obsolete information from man page
|
||||||
|
hwclock:
|
||||||
|
* remove "cli" and "sti" from i386 CMOS code
|
||||||
|
* remove x86_64-specific bogon
|
||||||
|
losetup:
|
||||||
|
* add warning about read-only mode
|
||||||
|
* missing EBUSY error hint message
|
||||||
|
more:
|
||||||
|
* minor fixes to magic()
|
||||||
|
mount:
|
||||||
|
* add i_version support
|
||||||
|
* add info about /proc/mounts to mount.1
|
||||||
|
* add info about semantics of read-only mount to mount.8
|
||||||
|
* add rootcontext= SELinux mount option
|
||||||
|
* clean up SPEC canonicalization
|
||||||
|
* create separate section for fs-independent options in mount.8
|
||||||
|
* finalize support of quoted LABELs/UUIDs
|
||||||
|
* mtab created multiple times with -a option
|
||||||
|
* suggest to use blockdev --setro rather than losetup
|
||||||
|
- catch ENOSYS in ionice to allow execution in virtualized
|
||||||
|
environments which don't support ioprio_{get,set} calls [bnc#444637]
|
||||||
|
- umount: fix suid check for user mounted loop devices [bnc#461732]
|
||||||
|
- fix doc [bnc#456375]
|
||||||
|
- remove patches:
|
||||||
|
util-linux-2.13.1-fdisk_cfdisk_yesno.patch
|
||||||
|
util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch
|
||||||
|
util-linux-2.14.1-disk-utils_mkfs.minix_file_size_detection.patch
|
||||||
|
util-linux-2.14.1-fdisk_missing_include.patch
|
||||||
|
util-linux-2.14.1-mount_loop_ro_fix.patch
|
||||||
* Sat Feb 07 2009 schwab@suse.de
|
* Sat Feb 07 2009 schwab@suse.de
|
||||||
- Fix info dir entry for which.
|
- Fix info dir entry for which.
|
||||||
* Wed Jan 07 2009 mkoenig@suse.de
|
* Wed Jan 07 2009 mkoenig@suse.de
|
||||||
|
418
v2.14-ReleaseNotes
Normal file
418
v2.14-ReleaseNotes
Normal file
@ -0,0 +1,418 @@
|
|||||||
|
|
||||||
|
Util-linux-ng 2.14 Release Notes (09-Jun-2008)
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
Release highlights
|
||||||
|
------------------
|
||||||
|
|
||||||
|
mount(8) supports new "nofail" mount option.
|
||||||
|
|
||||||
|
mount(8) supports auto-destruction of loop devices.
|
||||||
|
|
||||||
|
losetup(8) supports new command line option "-j" to show status of all
|
||||||
|
loop devices associated with given file.
|
||||||
|
|
||||||
|
losetup(8) supports unlimited number of loop devices.
|
||||||
|
|
||||||
|
losetup(8) supports new command line option "--sizelimit" to set data end.
|
||||||
|
|
||||||
|
ldattach(8) command has been added to util-linux-ng. The ldattach
|
||||||
|
daemon opens the specified device file and attaches the line discipline
|
||||||
|
to it for processing of the sent and/or received data.
|
||||||
|
|
||||||
|
setterm(8) supports new command line option "-blank [force|poke]" for
|
||||||
|
TIOCL_{BLANKED,BLANK}SCREEN.
|
||||||
|
|
||||||
|
tailf(8) has been reimplemented to use inotify.
|
||||||
|
|
||||||
|
tailf(8) supports new command line option "-n" to specifying output lines.
|
||||||
|
|
||||||
|
mkswap(8) supports new command line option "-U" to set UUID explicitly.
|
||||||
|
|
||||||
|
fdisk(8) has been fixed to calculate partition size in 2^N.
|
||||||
|
|
||||||
|
cal(8) supports highlighting an arbitrary date.
|
||||||
|
|
||||||
|
agetty(8) makes username-in-uppercase feature optional (off by default).
|
||||||
|
Users who use uppercase-only terminals need to use the option "-U" now.
|
||||||
|
|
||||||
|
losetup(8), mount(8), umount(8), fdisk(8) and sfdisk(8) support static
|
||||||
|
linking when compiled with --enable-static-programs.
|
||||||
|
|
||||||
|
hwclock(8) supports new command line option "adjfile" to override
|
||||||
|
the default /etc/adjtime.
|
||||||
|
|
||||||
|
scriptreplay(1) command has been re-written from Perl to C.
|
||||||
|
|
||||||
|
|
||||||
|
Deprecated
|
||||||
|
----------
|
||||||
|
|
||||||
|
The losetup(8) '-s' option (introduced by util-linux-ng-2.13) is deprecated
|
||||||
|
now. This short form of the option '--show' could be in collision with
|
||||||
|
Loop-AES losetup implementation where the same option is used for the loop
|
||||||
|
sizelimit.
|
||||||
|
|
||||||
|
|
||||||
|
Fixed security issues
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
CVE-2008-1926 - audit log injection via login
|
||||||
|
|
||||||
|
The problem was originally reported for OpenSSH few months
|
||||||
|
ago (CVE-2007-3102). The login(1) is affected by the same
|
||||||
|
bug when built with the option "--with-audit".
|
||||||
|
|
||||||
|
|
||||||
|
Stable maintenance releases between v2.13 and v2.14
|
||||||
|
---------------------------------------------------
|
||||||
|
|
||||||
|
util-linux-ng 2.13.1.1 [22-Apr-2008]
|
||||||
|
|
||||||
|
* ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1.1-ReleaseNotes
|
||||||
|
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1.1-ChangeLog
|
||||||
|
|
||||||
|
util-linux-ng 2.13.1 [16-Jan-2008]
|
||||||
|
|
||||||
|
* ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1-ReleaseNotes
|
||||||
|
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1-ChangeLog
|
||||||
|
|
||||||
|
|
||||||
|
ChangeLog between v2.13 and v2.14
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
For more details see ChangeLog files at:
|
||||||
|
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.14/
|
||||||
|
|
||||||
|
agetty:
|
||||||
|
- cleanup MAXHOSTNAMELEN [Karel Zak]
|
||||||
|
- make username-in-uppercase feature optional (off by default.) [Hamish Coleman]
|
||||||
|
- non-linux support (use pathnames.h) [Karel Zak]
|
||||||
|
- replace termio with termios interface [Samuel Thibault]
|
||||||
|
- ungettextize several debugging messages. [Benno Schulenberg]
|
||||||
|
blockdev:
|
||||||
|
- add --getsz to blockdev.8 [Karel Zak]
|
||||||
|
- add missing description about option --report in manpage [Li Zefan]
|
||||||
|
- fix opened file leaving unclosed [lizf]
|
||||||
|
- use lib/blkdev.c, fix --report [Karel Zak]
|
||||||
|
build-sys:
|
||||||
|
- add --enable-static-programs [Stepan Kasal, Karel Zak]
|
||||||
|
- add AC_CANONICAL_HOST [Miklos Szeredi]
|
||||||
|
- add VARSUFFIX to UTIL_CHECK_LIB [Karel Zak]
|
||||||
|
- add err.h check [Karel Zak]
|
||||||
|
- add support ionice for Super-H architecture [Karel Zak]
|
||||||
|
- add v2.14 to NEWS [Karel Zak]
|
||||||
|
- autogen.sh reports versions of autotools now [Karel Zak]
|
||||||
|
- build arch(1) during distcheck [Stepan Kasal]
|
||||||
|
- cleanup "x$foo" usage [Karel Zak]
|
||||||
|
- cleanup disk-utils/Makefile.am (use $utils_common) [Karel Zak]
|
||||||
|
- cleanup usage of linux/major.h [Samuel Thibault]
|
||||||
|
- disable syscall fallbacks for non-linux systems [Karel Zak]
|
||||||
|
- do not add -luuid to BLKID_LIBS [Stepan Kasal]
|
||||||
|
- fix missing deps for swapon [Matthias Koenig]
|
||||||
|
- ignore a bunch of generated files, mostly binaries [James Youngman]
|
||||||
|
- nls/locale handling in util-linux-ng general [Mike Frysinger]
|
||||||
|
- non-linux support [Samuel Thibault]
|
||||||
|
- release++ [Karel Zak]
|
||||||
|
- remove errs.h [Karel Zak]
|
||||||
|
- remove files that are no longer delivered from git [LaMont Jones]
|
||||||
|
- remove hardcoded _GNU_SOURCE [Karel Zak]
|
||||||
|
- remove unnecessary check-local target from login-utils/ [Karel Zak]
|
||||||
|
- set AC_PREREQ to 2.60, increment version to 2.14 [Karel Zak]
|
||||||
|
- simplify code around RDEV_LINKS and SETARCH_LINKS [Stepan Kasal]
|
||||||
|
- unify method for checking system calls and fallback handling [Mike Frysinger, Stepan Kasal]
|
||||||
|
- update .gitignore files [Karel Zak]
|
||||||
|
- use dist_man_MANS instead of man_MANS [Stepan Kasal]
|
||||||
|
- use ncursesw (wide version) when possibe [Karel Zak, Mike Frysinger]
|
||||||
|
- use pkg-config to find the libs for static build [Stepan Kasal]
|
||||||
|
- use portable $(VAR =) instead of gmake-specific $(addsuffix) [Stepan Kasal]
|
||||||
|
cal:
|
||||||
|
- add description about option -V to manpage [Li Zefan]
|
||||||
|
- add support for highlighting an arbitrary date [Pádraig Brady]
|
||||||
|
- avoid -Wformat warnings [Jim Meyering]
|
||||||
|
- fix weekday alignment for certain locales [Pádraig Brady]
|
||||||
|
- replace errs.h with libc err.h [Karel Zak]
|
||||||
|
- use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES [Karel Zak]
|
||||||
|
cfdisk:
|
||||||
|
- define portable {DEFAULT,ALTERNATE}_DEVICE [Samuel Thibault]
|
||||||
|
- display cylinders beyond 1024 [Peter Breitenlohner]
|
||||||
|
- slightly increase the size of menu buttons [Benno Schulenberg]
|
||||||
|
- translate partition-type names when they are printed. [Benno Schulenberg]
|
||||||
|
chfn:
|
||||||
|
- add pam_end() call and cleanup PAM code [Karel Zak]
|
||||||
|
- fix compiler warnings in selinux stuff [Karel Zak]
|
||||||
|
chfn, chsh, login:
|
||||||
|
- collapsing three similar messages into a single one [Benno Schulenberg]
|
||||||
|
chsh:
|
||||||
|
- should use pam_end function to terminate the PAM transaction [Yu Zhiguo, Karel Zak]
|
||||||
|
column:
|
||||||
|
- replace errs.h with libc err.h [Karel Zak]
|
||||||
|
ddate:
|
||||||
|
- 11th, 12th and 13th of month [Volker Schatz]
|
||||||
|
docs:
|
||||||
|
- add a note about minix v3 to TODO file [Karel Zak]
|
||||||
|
- add info about .bugfix releases and branches [Karel Zak]
|
||||||
|
- add note about incorrect tag 2.13.1 [Karel Zak]
|
||||||
|
- add note about losetup --sizelimit to ReleaseNotes [Karel Zak]
|
||||||
|
- add note about static linking [Karel Zak]
|
||||||
|
- add v2.14 ReleaseNotes [Karel Zak]
|
||||||
|
- cleanup DEPRECATED file [Karel Zak]
|
||||||
|
- cleanup README.devel, add note about coding style and Signed-off-by [Karel Zak]
|
||||||
|
- fix ChangeLog URL [Pascal Terjan]
|
||||||
|
- fix stable branche name in README.devel [Karel Zak]
|
||||||
|
- mark vipw(1) is deprecated in favor of vipw from shadow-utils [Karel Zak]
|
||||||
|
- refresh TODO list [Karel Zak]
|
||||||
|
- remove date from ReleasNotes [Karel Zak]
|
||||||
|
- tweak a few messages for clarity [Benno Schulenberg]
|
||||||
|
- update AUTHORS file [Karel Zak]
|
||||||
|
- update TODO file [Karel Zak]
|
||||||
|
- update v2.14 ReleaseNotes [Karel Zak]
|
||||||
|
- we already rewrote the scriptreplay script; remove that TODO entry [James Youngman]
|
||||||
|
elvtune:
|
||||||
|
- use get_linux_version() [Karel Zak]
|
||||||
|
fdformat:
|
||||||
|
- install to /usr/sbin instead to /usr/bin [Karel Zak]
|
||||||
|
fdisk:
|
||||||
|
- better fallback for get_random_id() [H. Peter Anvin]
|
||||||
|
- calculate +size{K,M,G} in 2^N [Karel Zak]
|
||||||
|
- cleanup BLK* ioctls usage [Karel Zak]
|
||||||
|
- doesn't recognize the VMware ESX partitions [Karel Zak]
|
||||||
|
- doing useless ioctl when editing an image [Pascal Terjan]
|
||||||
|
- fix building for AVR32 and CRIS [Imre Kaloz]
|
||||||
|
- fix typo [Karel Zak]
|
||||||
|
- message tweak [Karel Zak]
|
||||||
|
- non-linux support (MAXPATHLEN) [Karel Zak]
|
||||||
|
- non-linux support (use standard uintxy_t instead __uxy) [Samuel Thibault]
|
||||||
|
- use more readable "GPT" name rather than "EFI GPT" [Robert Millan]
|
||||||
|
- use swab macros from bitops.h [Karel Zak]
|
||||||
|
flock:
|
||||||
|
- typo in man page [A. Costa]
|
||||||
|
fsck.cramfs:
|
||||||
|
- clean up gcc warnings [Randy Dunlap]
|
||||||
|
fsck.minix:
|
||||||
|
- correct the error message given when we can't open the device [James Youngman]
|
||||||
|
- reset the terminal state if we are killed by a fatal signal [James Youngman]
|
||||||
|
getopt:
|
||||||
|
- fix path to examples in getopt.1 [Karel Zak]
|
||||||
|
- install example scripts as SCRIPTS, not DATA [Peter Breitenlohner]
|
||||||
|
hwclock:
|
||||||
|
- add --adjfile=path option [Karel Zak]
|
||||||
|
- check for ENODEV [David Woodhouse]
|
||||||
|
- do not create a zero adjfile [Alain Guibert]
|
||||||
|
- fix --rtc option [Matthias Koenig, Karel Zak]
|
||||||
|
include:
|
||||||
|
- <stdint.h> provides everything [Samuel Thibault]
|
||||||
|
- add bitops.h with swab{16,32,64} macros [Karel Zak]
|
||||||
|
- add mount paths to pathnames.h [Karel Zak]
|
||||||
|
- cleanup pathnames.h [Karel Zak]
|
||||||
|
ionice:
|
||||||
|
- add a note about permissions to ionice.1 [Karel Zak]
|
||||||
|
- update man page to reflect IDLE class change in 2.6.25 [Karel Zak]
|
||||||
|
ipcs:
|
||||||
|
- add information about POSIX compatibility to ipcs.1 [Karel Zak]
|
||||||
|
kill:
|
||||||
|
- man page is missing a description of "kill -0" [Karel Zak]
|
||||||
|
ldattach:
|
||||||
|
- add NLS support [Karel Zak]
|
||||||
|
- new command [Tilman Schmidt]
|
||||||
|
- use glibc termios [Karel Zak]
|
||||||
|
lib:
|
||||||
|
- add blkdev.{c,h} [Stefan Krah, Karel Zak]
|
||||||
|
- add linux_version.{c,h} [Stefan Krah]
|
||||||
|
login:
|
||||||
|
- audit log injection attack via login [Steve Grubb]
|
||||||
|
- fix a small memory leak and remove unnecessary zeroing [Karel Zak]
|
||||||
|
- login segfaults on EOF (rh#298461) [Karel Zak]
|
||||||
|
- replace termio with termios interface [Samuel Thibault]
|
||||||
|
- rewrite is_local() to remove limits on line length [James Youngman]
|
||||||
|
login-utils:
|
||||||
|
- cleanup strlen() and fgets() usage [James Youngman]
|
||||||
|
losetup:
|
||||||
|
- add --associated option [Karel Zak]
|
||||||
|
- add --sizelimit option [Shachar Shemesh]
|
||||||
|
- canonicalize loopfile name [Karel Zak, Matthias Koenig]
|
||||||
|
- clean up gcc warnings [Randy Dunlap]
|
||||||
|
- fix errno usage [Karel Zak]
|
||||||
|
- fix typo in losetup.8 [Karel Zak]
|
||||||
|
- mark the option -s as deprecated [Karel Zak]
|
||||||
|
- remove duplicate xstrdup() and error() [Karel Zak]
|
||||||
|
- split help message into two smaller parts [Benno Schulenberg]
|
||||||
|
- support unlimited number of loops [Karel Zak]
|
||||||
|
- use standard uintxy_t types (struct loop_info64) [Samuel Thibault]
|
||||||
|
mesg:
|
||||||
|
- replace errs.h with libc err.h [Karel Zak]
|
||||||
|
mkfs.cramfs:
|
||||||
|
- clean up gcc warnings [Randy Dunlap, Karel Zak]
|
||||||
|
- remove unused header file [lizf]
|
||||||
|
- switch on localization. [Benno Schulenberg]
|
||||||
|
mkfs.minix:
|
||||||
|
- add sectorsize check [Matthias Koenig]
|
||||||
|
- clean up gcc warnings [Karel Zak]
|
||||||
|
- clean up gcc warnings [Randy Dunlap]
|
||||||
|
- device size cleanup [Matthias Koenig]
|
||||||
|
mkswap:
|
||||||
|
- BLKGETSIZE cleanup [Karel Zak]
|
||||||
|
- cleanup kB vs. KiB usage in error messages [Karel Zak]
|
||||||
|
- fix compiler warnings [Karel Zak]
|
||||||
|
- linux_version() code consolidation [Karel Zak]
|
||||||
|
- possible to crash with SELinux relabeling support [KaiGai Kohei]
|
||||||
|
- set UUID for swap space (add -U option) [Martin Schulze]
|
||||||
|
- set errno=0 in write_all() [Karel Zak]
|
||||||
|
- when writing the signature page, handle EINTR returns [Karel Zak]
|
||||||
|
more:
|
||||||
|
- cleanup gcc warnings [Randy Dunlap]
|
||||||
|
- non-linux support [Samuel Thibault]
|
||||||
|
- replace CBAUD with cfgetispeed() [Samuel Thibault]
|
||||||
|
- use HAVE_WIDECHAR instead ENABLE_WIDECHAR [Karel Zak]
|
||||||
|
mount:
|
||||||
|
- "can't create lock file" message sometimes means failure, sometimes not [Mark McLoughlin]
|
||||||
|
- "nofail" mount option [Matthias Koenig, Karel Zak]
|
||||||
|
- -L|-U segfault when label or uuid doesn't exist [Karel Zak]
|
||||||
|
- add more details to the --version output [Karel Zak]
|
||||||
|
- add support for sizelimit= mount option (for loop mounts) [Shachar Shemesh]
|
||||||
|
- allow auto-destruction of loop devices [Bernardo Innocenti]
|
||||||
|
- chain of symlinks to fstab causes use of pointer after free [Norbert Buchmuller]
|
||||||
|
- clean up gcc warnings (mount_mntent.c) [Randy Dunlap]
|
||||||
|
- clean up global variables [Karel Zak]
|
||||||
|
- cleanup "none" fstype usage [Karel Zak]
|
||||||
|
- cleanup KERNEL_VERSION, remove my_dev_t.h [Karel Zak]
|
||||||
|
- cleanup canonicalize() usage [Karel Zak]
|
||||||
|
- cleanup error() and die() [Karel Zak]
|
||||||
|
- cleanup usage of _PATH_* [Karel Zak]
|
||||||
|
- doesn't drop privileges properly when calling helpers [Ludwig Nussel]
|
||||||
|
- don't call canonicalize(SPEC) for cifs, smbfs and nfs [Karel Zak]
|
||||||
|
- don't canonicalize LABEL= or UUID= spec [Karel Zak]
|
||||||
|
- drop the part always true from a while condition [Pascal Terjan]
|
||||||
|
- fix a small typo in mount.8 [Christophe Blaess]
|
||||||
|
- fix fd leak [Matthias Koenig]
|
||||||
|
- fix typo in mount.8 [Karel Zak]
|
||||||
|
- hint about helper program if device doesn't exist [Karel Zak]
|
||||||
|
- improve chmod & chown usage and clean up gcc warnings (fstab.c) [Karel Zak]
|
||||||
|
- improve error message when helper program not present [LaMont Jones]
|
||||||
|
- prevent loop mounting the same file twice [Karel Zak, Matthias Koenig]
|
||||||
|
- remount doesn't care about loop= [Karel Zak]
|
||||||
|
- remove MS_{REPLACE,AFTER,BEFORE,OVER} [Karel Zak]
|
||||||
|
- remove built-in support for background mounts [Karel Zak]
|
||||||
|
- remove redundant fflush [Karel Zak]
|
||||||
|
- remove set_proc_name() [Karel Zak]
|
||||||
|
- remove useless if-before-my_free, define my_free as a macro [Karel Zak]
|
||||||
|
- use MNTTYPE_SWAP (from mntent.h) [Karel Zak]
|
||||||
|
- use atexit() rather than (*at_die)() [Karel Zak]
|
||||||
|
- use blkdev_get_size() [Karel Zak]
|
||||||
|
- use canonicalize in getfs_by_devname [Karel Zak]
|
||||||
|
namei:
|
||||||
|
- add to identify FIFO (named pipe) and update manpage [Li Zefan]
|
||||||
|
- cleanup tailing white-spaces [Karel Zak]
|
||||||
|
- non-linux support (get_current_dir_name() and PATH_MAX) [Karel Zak, Samuel Thibault]
|
||||||
|
partx:
|
||||||
|
- fix compiler warnings [Karel Zak]
|
||||||
|
- use swab macros from bitops.h [Karel Zak]
|
||||||
|
pg:
|
||||||
|
- fix segfault on search [Rajeev V. Pillai]
|
||||||
|
po:
|
||||||
|
- add eu.po (from translationproject.org) [Mikel Olasagasti]
|
||||||
|
- add pl.po (from translationproject.org) [Andrzej Krzysztofowicz]
|
||||||
|
- fix typo in de.po [Karel Zak]
|
||||||
|
- merge changes [Karel Zak]
|
||||||
|
- update POTFILES.in [Karel Zak]
|
||||||
|
- update ca.po (from translationproject.org) [Josep Puigdemont]
|
||||||
|
- update cs.po (from translationproject.org) [Petr Pisar]
|
||||||
|
- update da.po (from translationproject.org) [Claus Hindsgaul]
|
||||||
|
- update de.po (from translationproject.org) [Michael Piefel]
|
||||||
|
- update es.po (from translationproject.org) [Santiago Vila Doncel]
|
||||||
|
- update et.po (from translationproject.org) [Meelis Roos]
|
||||||
|
- update fi.po (from translationproject.org) [Lauri Nurmi]
|
||||||
|
- update fr.po (from translationproject.org) [Michel Robitaille]
|
||||||
|
- update hu.po (from translationproject.org) [Gabor Kelemen]
|
||||||
|
- update id.po (from translationproject.org) [Arif E. Nugroho]
|
||||||
|
- update it.po (from translationproject.org) [Marco Colombo]
|
||||||
|
- update ja.po (from translationproject.org) [Daisuke Yamashita]
|
||||||
|
- update nl.po (from translationproject.org) [Benno Schulenberg]
|
||||||
|
- update po files [Karel Zak]
|
||||||
|
- update pt_BR.po (from translationproject.org) [Rodrigo Stulzer Lopes]
|
||||||
|
- update ru.po (from translationproject.org) [Pavel Maryanov]
|
||||||
|
- update sl.po (from translationproject.org) [Simon Mihevc]
|
||||||
|
- update sv.po (from translationproject.org) [Daniel Nylander]
|
||||||
|
- update tr.po (from translationproject.org) [Nilgün Belma Bugüner]
|
||||||
|
- update uk.po (from translationproject.org) [Maxim V. Dziumanenko]
|
||||||
|
- update vi.po (from translationproject.org) [Clytie Siddall]
|
||||||
|
rename:
|
||||||
|
- add description about option -V to manpage [Li Zefan]
|
||||||
|
- remove useless variable [Li Zefan]
|
||||||
|
renice:
|
||||||
|
- detect errors in arguments, add -v, -h and long options [LaMont Jones, Karel Zak]
|
||||||
|
rev:
|
||||||
|
- use warn() in errs.h [Li Zefan]
|
||||||
|
rtcwake:
|
||||||
|
- fix UTC time usage [David Brownell]
|
||||||
|
- fix the default mode to "standby" [Paulius Zaleckas]
|
||||||
|
- fix typo [Karel Zak]
|
||||||
|
- fix typo SATE -> STATE [Mike Frysinger]
|
||||||
|
- fix verbose message [Karel Zak]
|
||||||
|
- include libgen.h for basename prototype [Mike Frysinger]
|
||||||
|
- misc cleanups [David Brownell]
|
||||||
|
script:
|
||||||
|
- cleanup gcc warnings [Randy Dunlap]
|
||||||
|
- cleanup includes [Samuel Thibault]
|
||||||
|
- dies on SIGWINCH [Karel Zak]
|
||||||
|
- read returns a size_t [James Youngman]
|
||||||
|
scriptreplay:
|
||||||
|
- gettextize a forgotten messages [Karel Zak]
|
||||||
|
- rewrite in C [Karel Zak, James Youngman]
|
||||||
|
setarch:
|
||||||
|
- add fallback for linux/personality [Karel Zak]
|
||||||
|
- add long options to setarch and update manpage [Karel Zak, Li Zefan]
|
||||||
|
- add missing alpha subarchs [Oliver Falk]
|
||||||
|
- adding groff symlinks to setarch manual page [Arkadiusz Miskiewicz]
|
||||||
|
- fix compiler warning [LaMont Jones]
|
||||||
|
- generate groff links in a better way [Karel Zak]
|
||||||
|
- provide backwards compatibility [Dmitry V. Levin]
|
||||||
|
- tweak the help text, and gettextize a forgotten message [Benno Schulenberg]
|
||||||
|
setterm:
|
||||||
|
- add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN [Samuel Thibault, Karel Zak]
|
||||||
|
- dump by TIOCLINUX is deprecated since linux 1.1.92. [Karel Zak]
|
||||||
|
- opened file leaving unclosed [Karel Zak, lizf]
|
||||||
|
- remove unnecessaty ifndef TCGETS [Samuel Thibault]
|
||||||
|
sfdisk:
|
||||||
|
- allow partitioning drives of over 2^31 sectors. [Kunihiko IMAI]
|
||||||
|
- cleanup 83 gcc warnings [Randy Dunlap]
|
||||||
|
- opened files leaving unclosed [Karel Zak, Li Zefan]
|
||||||
|
- remove unnecessary linux/unistd.h [Samuel Thibault]
|
||||||
|
- use get_linux_version() [Karel Zak]
|
||||||
|
shutdown:
|
||||||
|
- use _PATH_MOUNTED instead of _PATH_MTAB [Stepan Kasal]
|
||||||
|
swapon:
|
||||||
|
- Reinitialize software suspend areas to avoid future corruption. [Kees Cook, Karel Zak]
|
||||||
|
- add sundries.h [Karel Zak]
|
||||||
|
- clean up gcc warnings [Randy Dunlap]
|
||||||
|
- cleanup usage output [Karel Zak]
|
||||||
|
- cleanup usage() [Karel Zak]
|
||||||
|
- fix swsuspend detection [Karel Zak]
|
||||||
|
- fix typo in usage() [Karel Zak]
|
||||||
|
- readjust the usage summaries [Benno Schulenberg]
|
||||||
|
- remove unnecessary myrealpath() call [Karel Zak]
|
||||||
|
sys-utils:
|
||||||
|
- correct setarch.8 manpage link creation [Frédéric Bothamy]
|
||||||
|
tailf:
|
||||||
|
- add option -n to specifying output lines [Li Zefan]
|
||||||
|
- clean up gcc warnings & fix use of errno [Karel Zak]
|
||||||
|
- inotify based reimplementation [Karel Zak]
|
||||||
|
- non-linux support [Samuel Thibault]
|
||||||
|
- opened file leaving unclosed [lizf]
|
||||||
|
- replace errs.h with libc err.h [Karel Zak]
|
||||||
|
tests:
|
||||||
|
- add "sort" to cramfs test [Karel Zak]
|
||||||
|
- add test for include/pathnames.h [Karel Zak]
|
||||||
|
- add ts-mount-noncanonical [Karel Zak]
|
||||||
|
- exactly define a time format in ls -l output [Karel Zak]
|
||||||
|
- fix blkid cache usage [Karel Zak]
|
||||||
|
- move test_bkdev to lib/ [Karel Zak]
|
||||||
|
- redirect libblkid cache to BLKID_FILE [Karel Zak]
|
||||||
|
- rename test_sysinfo, remove tailing white-spaces [Karel Zak]
|
||||||
|
- use losetup -s [Karel Zak]
|
||||||
|
umount:
|
||||||
|
- add hint about lsof & fuser [Karel Zak]
|
||||||
|
- don't print duplicate error messages [Karel Zak]
|
||||||
|
- use atexit() rather than (*at_die)() [Karel Zak]
|
||||||
|
wall:
|
||||||
|
- cleanup MAXHOSTNAMELEN [Karel Zak]
|
@ -1,95 +0,0 @@
|
|||||||
Changes between 2.14.1-rc2 and 2.14.1
|
|
||||||
-------------------------------------
|
|
||||||
|
|
||||||
commit 0c24888de6470137673519eb5c20bef98be24e0f
|
|
||||||
Author: Karel Zak <kzak@redhat.com>
|
|
||||||
Date: Wed Sep 10 12:17:22 2008 +0200
|
|
||||||
|
|
||||||
build-sys: release++ (v2.14.1)
|
|
||||||
|
|
||||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
||||||
|
|
||||||
NEWS | 4 ++++
|
|
||||||
configure.ac | 2 +-
|
|
||||||
2 files changed, 5 insertions(+), 1 deletions(-)
|
|
||||||
|
|
||||||
commit 204d2a7ff7e0bd39e1769a3d8c071484061b878a
|
|
||||||
Author: Karel Zak <kzak@redhat.com>
|
|
||||||
Date: Wed Sep 10 12:11:21 2008 +0200
|
|
||||||
|
|
||||||
docs: update v2.14.1 ReleaseNotes
|
|
||||||
|
|
||||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
||||||
|
|
||||||
docs/v2.14.1-ReleaseNotes | 8 +++++++-
|
|
||||||
1 files changed, 7 insertions(+), 1 deletions(-)
|
|
||||||
|
|
||||||
commit 00dd2edec25e68bfe58ea538f7a220fcd4d42f83
|
|
||||||
Author: Karel Zak <kzak@redhat.com>
|
|
||||||
Date: Wed Sep 10 11:21:54 2008 +0200
|
|
||||||
|
|
||||||
po: merge changes
|
|
||||||
|
|
||||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
||||||
|
|
||||||
po/cs.po | 536 +++++++++++++++++++++++++++------------
|
|
||||||
po/fi.po | 620 ++++++++++++++++++++++++++++++++--------------
|
|
||||||
po/id.po | 802 ++++++++++++++++++++++++++++++++++++++++++-----------------
|
|
||||||
po/nl.po | 591 ++++++++++++++++++++++++++++++-------------
|
|
||||||
po/vi.po | 594 +++++++++++++++++++++++++++++++-------------
|
|
||||||
po/zh_CN.po | 223 ++++++++++++-----
|
|
||||||
6 files changed, 2375 insertions(+), 991 deletions(-)
|
|
||||||
|
|
||||||
commit af470cdb8d8cd81cb6032d90b74cb848dd569d1b
|
|
||||||
Author: Ray Wang <wanglei1123@gmail.com>
|
|
||||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
|
||||||
|
|
||||||
po: update zh_CN.po (from translationproject.org)
|
|
||||||
|
|
||||||
po/zh_CN.po | 394 ++++++++++++++++++++++++++++-------------------------------
|
|
||||||
1 files changed, 187 insertions(+), 207 deletions(-)
|
|
||||||
|
|
||||||
commit c147882de248158dba60d278a8ad5447cbbdd3e8
|
|
||||||
Author: Clytie Siddall <clytie@riverland.net.au>
|
|
||||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
|
||||||
|
|
||||||
po: update vi.po (from translationproject.org)
|
|
||||||
|
|
||||||
po/vi.po | 628 ++++++++++++++++++--------------------------------------------
|
|
||||||
1 files changed, 177 insertions(+), 451 deletions(-)
|
|
||||||
|
|
||||||
commit 59d683e572c05a4ecc36da63c6c04ec7a73b6efc
|
|
||||||
Author: Benno Schulenberg <benno@vertaalt.nl>
|
|
||||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
|
||||||
|
|
||||||
po: update nl.po (from translationproject.org)
|
|
||||||
|
|
||||||
po/nl.po | 649 +++++++++++++++++++-------------------------------------------
|
|
||||||
1 files changed, 193 insertions(+), 456 deletions(-)
|
|
||||||
|
|
||||||
commit 2da935df47b5b9c7571383366da4e3b82352752d
|
|
||||||
Author: Arif E. Nugroho <arif_endro@yahoo.com>
|
|
||||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
|
||||||
|
|
||||||
po: update id.po (from translationproject.org)
|
|
||||||
|
|
||||||
po/id.po | 1598 ++++++++++++++++++++++++++------------------------------------
|
|
||||||
1 files changed, 665 insertions(+), 933 deletions(-)
|
|
||||||
|
|
||||||
commit fc5ac303f066040d737e1e4b9033fb6b3036b5fc
|
|
||||||
Author: Lauri Nurmi <lanurmi@iki.fi>
|
|
||||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
|
||||||
|
|
||||||
po: update fi.po (from translationproject.org)
|
|
||||||
|
|
||||||
po/fi.po | 873 ++++++++++++++++++++++----------------------------------------
|
|
||||||
1 files changed, 314 insertions(+), 559 deletions(-)
|
|
||||||
|
|
||||||
commit 0bd69ee4a38b56e5b82b98d77b00c4b4146bf60d
|
|
||||||
Author: Petr Pisar <petr.pisar@atlas.cz>
|
|
||||||
Date: Wed Sep 10 11:02:59 2008 +0200
|
|
||||||
|
|
||||||
po: update cs.po (from translationproject.org)
|
|
||||||
|
|
||||||
po/cs.po | 544 +++++++++++++++++++-------------------------------------------
|
|
||||||
1 files changed, 167 insertions(+), 377 deletions(-)
|
|
92
v2.14.2-ReleaseNotes
Normal file
92
v2.14.2-ReleaseNotes
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
Util-linux-ng 2.14.2 Release Notes (??-Jan-2009)
|
||||||
|
================================================
|
||||||
|
|
||||||
|
ChangeLog between v2.14.1 and v2.14.2
|
||||||
|
-------------------------------------
|
||||||
|
|
||||||
|
For more details see ChangeLog files at:
|
||||||
|
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.14/
|
||||||
|
|
||||||
|
build-sys:
|
||||||
|
- add -luuid to BLKID_LIBS [Karel Zak]
|
||||||
|
- release++ (v2.14.2-rc1) [Karel Zak]
|
||||||
|
cfdisk:
|
||||||
|
- accept yes/no as fallback [Matthias Koenig]
|
||||||
|
chrt:
|
||||||
|
- support CFS SCHED_IDLE priority and document it [Martin Steigerwald]
|
||||||
|
docs:
|
||||||
|
- update AUTHORS file [Karel Zak]
|
||||||
|
- update v2.14.2 ReleaseNotes [Karel Zak]
|
||||||
|
fdisk:
|
||||||
|
- add some missing includes [Matthias Koenig]
|
||||||
|
- cannot create partition with starting beyond 1 TB [Karel Zak]
|
||||||
|
- fix man page typo [Karel Zak]
|
||||||
|
- remove obsolete information from man page [Karel Zak]
|
||||||
|
- remove unnecessary gettext call [Karel Zak]
|
||||||
|
- several strings without gettext calls [Pedro Ribeiro]
|
||||||
|
- support +cylinder notation [Karel Zak]
|
||||||
|
hwclock:
|
||||||
|
- remove "cli" and "sti" from i386 CMOS code [Karel Zak]
|
||||||
|
- remove x86_64-specific bogon [David Brownell]
|
||||||
|
include:
|
||||||
|
- use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN [Karel Zak]
|
||||||
|
ionice:
|
||||||
|
- Extend the man page to explain the "none" class and cpu-nice inheritance [Jakob Unterwurzacher]
|
||||||
|
- a little cleanup of "none" description [Karel Zak]
|
||||||
|
ldattach:
|
||||||
|
- don't compile for non-linux systems [Samuel Thibault]
|
||||||
|
lib:
|
||||||
|
- add __BYTE_ORDER to md5.c [Karel Zak]
|
||||||
|
logger:
|
||||||
|
- several strings without gettext calls [Pedro Ribeiro]
|
||||||
|
login:
|
||||||
|
- fix compiler warning (int32 time() arg) [Karel Zak]
|
||||||
|
- fix warning "dereferencing type-punned pointer will break strict-aliasing rules" [Karel Zak]
|
||||||
|
losetup:
|
||||||
|
- add warning about read-only mode [Karel Zak]
|
||||||
|
- missing EBUSY error hint message [Karel Zak]
|
||||||
|
- several strings without gettext strings [Pedro Ribeiro]
|
||||||
|
- try to set up loop readonly if EACCES [Matthias Koenig]
|
||||||
|
mkfs.cramfs:
|
||||||
|
- several strings without gettext calls [Pedro Ribeiro]
|
||||||
|
mkfs.minix:
|
||||||
|
- fix size detection [Matthias Koenig]
|
||||||
|
more:
|
||||||
|
- dont use a.out.h [Mike Frysinger]
|
||||||
|
- minor fixes to magic() [James Youngman]
|
||||||
|
mount:
|
||||||
|
- add i_version support [Karel Zak]
|
||||||
|
- add info about /proc/mounts to mount.1 [Karel Zak]
|
||||||
|
- add info about semantics of read-only mount to mount.8 [Karel Zak]
|
||||||
|
- add rootcontext= SELinux mount option [Karel Zak]
|
||||||
|
- clean up SPEC canonicalization [Karel Zak]
|
||||||
|
- cleans up mount(8) troff markup [Sam Varshavchik]
|
||||||
|
- create separate section for fs-independent options in mount.8 [Karel Zak]
|
||||||
|
- finalize support of quoted LABELs/UUIDs [Karel Zak]
|
||||||
|
- fix mount_static_LDADD [Karel Zak]
|
||||||
|
- fix typo [Guan Xin]
|
||||||
|
- fix typo [Karel Zak]
|
||||||
|
- make file_t SELinux warning optional and shorter [Karel Zak]
|
||||||
|
- mtab created multiple times with -a option [Karel Zak]
|
||||||
|
- remove link to namesys.com [Karel Zak]
|
||||||
|
- remove spurious newline from mount.8 [Mike Frysinger]
|
||||||
|
- reorder list of options in mount.8 [Karel Zak]
|
||||||
|
- retry on ENOMEDIUM [Matthias Koenig]
|
||||||
|
- suggest to use blockdev --setro rather than losetup [Karel Zak]
|
||||||
|
- sundries.h add klibc support [maximilian attems]
|
||||||
|
- sync FAT info in mount.8 with Documentation/filesystems/vfat.txt [Karel Zak]
|
||||||
|
- sync tmpfs info in mount.8 with Documentation/filesystems/tmpfs.txt [Karel Zak]
|
||||||
|
- use subsections in mount.8 DESCRIPTION [Karel Zak]
|
||||||
|
- warn on "file_t" selinux context [Karel Zak]
|
||||||
|
po:
|
||||||
|
- merge changes [Karel Zak]
|
||||||
|
- update cs.po (from translationproject.org) [Petr Pisar]
|
||||||
|
- update fr.po (from translationproject.org) [Nicolas Provost]
|
||||||
|
- update pt_BR.po (from translationproject.org) [Rodrigo Stulzer Lopes]
|
||||||
|
- update sv.po (from translationproject.org) [Daniel Nylander]
|
||||||
|
readprofile:
|
||||||
|
- several strings without gettext calls [Pedro Ribeiro]
|
||||||
|
setterm:
|
||||||
|
- fix -blank man page [Karel Zak]
|
||||||
|
|
||||||
|
- use getpagesize() [maximilian attems]
|
Loading…
Reference in New Issue
Block a user