- Dec 10, 2010
-
-
Davidlohr Bueso authored
Here's a patch to update some the TODO list now that the new partx is merged. Signed-off-by:
Davidlohr Bueso <dave@gnu.org>
-
Karel Zak authored
login.c:542:8: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result login.c:1013:11: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result login.c: In function ‘dolastlog’: login.c:1452:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result login.c: In function ‘motd’: login.c:1391:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Marek Polacek authored
[kzak@redhat.com: - cleanup return codes - use warn()] Signed-off-by:
Marek Polacek <mmpolacek@gmail.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Marek Polacek authored
Signed-off-by:
Marek Polacek <mmpolacek@gmail.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- Dec 09, 2010
-
-
Karel Zak authored
Based on patch from Alex Bligh <alex@alex.org.uk>, Alex wrote: By default, omitting a size parameter means that the maximum sized partition is used. However, this option is not available in conjunction with the -N flag, as under such circumstances the default is the current size of the partition. This patch allows a size to be specified as "+" in which case the maximum sized partition is used, irrespective of the setting of the -N flag. This allows partitions to be programatically resized to their maximum size, by (for instance): echo ",+," | sfdisk -N1 /dev/sda This is non-trivial to do without the patch, as -N makes the default size the existing size. As there is (without this patch) no way of reading the maximum size, the only option is to delete the partition and recreate it. This is undesirable for a number of reasons (e.g. errors between delete and recreate). Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/686124 Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Francesco Cosoleto authored
Hello, On 30/11/2010 13:01, Karel Zak wrote: > Unfortunately, translators don't like this kind of strings where any > translatable substring is inserted to the normal sentence. It would be > better to use something like: > > "%d (%s): failed to set priority", who, idtype > > "%s: %d: failed to set priority", idtype, who > > or so... or "failed to set priority for %d (%s)"? From 536eb11f873f2c887e075a37ffb3c971cac258d5 Mon Sep 17 00:00:00 2001 From: Francesco Cosoleto <cosoleto@gmail.com> Date: Mon, 6 Dec 2010 01:23:10 +0100 Subject: [PATCH] renice: improve messages specifying what ID is referring to This version makes more clear the printed message specially when the --user option is used. Old version: $ renice 19 10 -u fra -g 1 renice: 10: setpriority: Operation not permitted renice: 1000: setpriority: Operation not permitted renice: 1: setpriority: Operation not permitted $ renice 19 -u fra 1000: old priority 0, new priority 19 New version: $ renice 19 10 -u fra -g 1 renice: failed to set priority for 10 (process ID): Operation not permitted renice: failed to set priority for 1000 (user ID): Operation not permitted renice: failed to set priority for 1 (process group ID): Operation not permitted $ renice 19 -u fra 1000 (user ID) old priority 0, new priority 19 Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Davidlohr Bueso authored
Signed-off-by:
Davidlohr Bueso <dave@gnu.org> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Davidlohr Bueso authored
Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by:
Davidlohr Bueso <dave@gnu.org> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- Dec 06, 2010
-
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- Dec 03, 2010
-
-
Karel Zak authored
Reported-by:
Hugh Eaves <hugh@hugheaves.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- Dec 02, 2010
-
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Marek Polacek authored
Signed-off-by:
Marek Polacek <mmpolacek@gmail.com>
-
Marek Polacek authored
[kzak@redhat.com: - use return rather than exit() in main() - more verbose error messages] Signed-off-by:
Marek Polacek <mmpolacek@gmail.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Marek Polacek authored
Use err() or errx() where appropriate. Also use EXIT_* macros instead of 0/1. All error messages shall start with lowercase. Signed-off-by:
Marek Polacek <mmpolacek@gmail.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Davidlohr Bueso authored
Change feture for feature Signed-off-by:
Davidlohr Bueso <dave@gnu.org>
-
- Dec 01, 2010
-
-
Karel Zak authored
On systems without /etc/mtab (or everywhere if kernel >= 2.6.37) we use loop autoclear flag and then the backing file name is not stored in /etc/mtab. mount(8) uses sysfs to get the filename (or LOOP_GET_STATU* ioctls on old kernels). Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
The basic loopdev attributes are available in sysfs since kernel 2.6.37. This patch uses the backing_file attribute from sysfs for very long filenames (the LOOP_GET_STATUS ioctl uses only 64 bytes for the filename). old version: # losetup -a /dev/loop0: [0804]:12865322 (/home/images/filesystems/this_is_really_really_long_directory_*) new version: # losetup -a /dev/loop0: [0804]:12865322 (/home/images/filesystems/this_is_really_really_long_directory_name/ext2.img) Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
CAI Qian and I agree that GPLv2+ is better for lscpu.c. This license is more compatible (than v3) with the rest of the util-linux package. We need to link the code with functions from lib/ -- mix GPLv3 and GPLv2 is bad idea. Note that it was only Cai and I who did significant changes to lscpu.c, all others changes from others developers was trivial (fix typos, add _(), ...). Signed-off-by:
CAI Qian <caiqian@redhat.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- Nov 30, 2010
-
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Davidlohr Bueso authored
Signed-off-by:
Davidlohr Bueso <dave@gnu.org>
-
Davidlohr Bueso authored
Signed-off-by:
Davidlohr Bueso <dave@gnu.org>
-
Davidlohr Bueso authored
Signed-off-by:
Davidlohr Bueso <dave@gnu.org>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Francesco Cosoleto authored
Non-root tasks can raise nice priority on systems running Linux 2.6.12 or higher if the nice resource limit is set. Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Francesco Cosoleto authored
Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Francesco Cosoleto authored
Signed-off-by:
Francesco Cosoleto <cosoleto@gmail.com>
-
Francesco Cosoleto authored
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
The new swsuspend signature has been added by commit 3624eb04c24861ab296842414f9752a393e68372 to kernel 2.6.37-rc1. Reported-by:
"Dr. David Alan Gilbert" <linux@treblig.org> Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/682176 Signed-off-by:
Karel Zak <kzak@redhat.com>
-