]> err.no Git - util-linux/log
util-linux
15 years agopo: merge changes
Karel Zak [Wed, 10 Jun 2009 12:31:08 +0000 (14:31 +0200)]
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: move MS_{PROPAGATION,BIND,MOVE} detection
Karel Zak [Wed, 10 Jun 2009 07:37:43 +0000 (09:37 +0200)]
mount: move MS_{PROPAGATION,BIND,MOVE} detection

The previous commit does not properly fix the problem with "none"
fstype and MS_{PROPAGATION,BIND,MOVE} flags. The real fstype has to
be replaced with "none" before we try to use /sbin/mount.<type>
helper.

Old version:

# grep test /proc/self/mountinfo
16 18 0:19 / /mnt/test rw,relatime - tmpfs tmpfs rw

# ./mount -v -v -v --make-private /mnt/test
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: spec:  "tmpfs"
mount: node:  "/mnt/test"
mount: types: "tmpfs"
mount: opts:  "rw"
mount: external mount: argv[0] = "/sbin/mount.tmpfs"
mount: external mount: argv[1] = "tmpfs"
mount: external mount: argv[2] = "/mnt/test"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
tmpfs on /mnt/test type tmpfs (rw)

# grep test /proc/self/mountinfo
16 18 0:19 / /mnt/test rw,relatime - tmpfs tmpfs rw
17 16 0:20 / /mnt/test rw,relatime - tmpfs tmpfs rw

Fixed version:

# grep test /proc/self/mountinfo
16 18 0:19 / /mnt/test rw,relatime - tmpfs tmpfs rw

# ./mount -v -v -v --make-private /mnt/test
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: spec:  "tmpfs"
mount: node:  "/mnt/test"
mount: types: "tmpfs"
mount: opts:  "rw"
mount: mount(2) syscall: source: "tmpfs", target: "/mnt/test",
filesystemtype: "none", mountflags: 262144, data: (null)

# grep test /proc/self/mountinfo
16 18 0:19 / /mnt/test rw,relatime - tmpfs tmpfs rw

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: use "none" fstype for MS_PROPAGATION mounts
Karel Zak [Tue, 9 Jun 2009 22:00:09 +0000 (00:00 +0200)]
mount: use "none" fstype for MS_PROPAGATION mounts

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: release++ (v2.15.1-rc1)
Karel Zak [Wed, 27 May 2009 20:23:08 +0000 (22:23 +0200)]
build-sys: release++ (v2.15.1-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: add missing commands/projects to AUTHORS file
Karel Zak [Wed, 27 May 2009 20:20:11 +0000 (22:20 +0200)]
docs: add missing commands/projects to AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: add v2.15.1 ReleaseNotes
Karel Zak [Wed, 27 May 2009 19:50:19 +0000 (21:50 +0200)]
docs: add v2.15.1 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update AUTHORS file
Karel Zak [Wed, 27 May 2009 19:44:31 +0000 (21:44 +0200)]
docs: update AUTHORS file

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

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: update vi.po (from translationproject.org)
Clytie Siddall [Wed, 27 May 2009 19:38:10 +0000 (21:38 +0200)]
po: update vi.po (from translationproject.org)

15 years agotests: fix script that creates lscpu dumps
Karel Zak [Wed, 27 May 2009 14:27:50 +0000 (16:27 +0200)]
tests: fix script that creates lscpu dumps

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: move lscpu /proc and /sys dumps to tarballs
Karel Zak [Wed, 27 May 2009 14:06:04 +0000 (16:06 +0200)]
tests: move lscpu /proc and /sys dumps to tarballs

It's easy to maintain few tarballs that tons of files.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: remove broken Xen dumps for lscpu
Karel Zak [Wed, 27 May 2009 13:47:49 +0000 (15:47 +0200)]
tests: remove broken Xen dumps for lscpu

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: don't run some mount tests for non-root users
Karel Zak [Wed, 27 May 2009 13:20:01 +0000 (15:20 +0200)]
tests: don't run some mount tests for non-root users

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix reiserfs test
Karel Zak [Wed, 27 May 2009 13:05:02 +0000 (15:05 +0200)]
tests: fix reiserfs test

For more details see 5b3f8e4f961298a9ca296f8362a717c1a4dd2ee0.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: add mdraid libblkid test
Karel Zak [Wed, 27 May 2009 13:03:22 +0000 (15:03 +0200)]
tests: add mdraid libblkid test

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix blkid detection in configure.ac
Karel Zak [Wed, 27 May 2009 12:14:12 +0000 (14:14 +0200)]
build-sys: fix blkid detection in configure.ac

Changes:

 - volume_id/blkid is not required when --disable-mount + --disable-fsck

 - volume_id/blkid detection works on systems without pkg-config

(This patch is simplified version of the patch
f910b5594f4293046902a6ed1d05e7f6ce0ee6b9 from master (2.16) branch.)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: add UTIL_{SET,RESTORE}_FLAGS
Karel Zak [Mon, 18 May 2009 07:35:32 +0000 (09:35 +0200)]
build-sys: add UTIL_{SET,RESTORE}_FLAGS

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibblkid: fix reiserfs name
Karel Zak [Mon, 25 May 2009 08:36:08 +0000 (10:36 +0200)]
libblkid: fix reiserfs name

Reported-by: Jonas Karlsson <cj.karlsson@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolibblkid: update man page
Karel Zak [Sat, 16 May 2009 00:25:37 +0000 (02:25 +0200)]
libblkid: update man page

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: fix undefined reference to `security_get_initial_context'
Karel Zak [Thu, 21 May 2009 11:20:10 +0000 (13:20 +0200)]
mount: fix undefined reference to `security_get_initial_context'

> Gentoo-hardened stable have: sys-libs/libselinux-1.34.14
> I have:
> mount.c:(.text+0x12ce): undefined reference to `security_get_initial_context'

Reported-by: Максим Бритов <maxim.britov@gmail.com>
Addresses-Gentoo-Bug: #270168
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agofdisk: (and cfdisk) fix to be consistent about maximum heads
Chris Webb [Wed, 13 May 2009 14:54:23 +0000 (15:54 +0100)]
fdisk: (and cfdisk) fix to be consistent about maximum heads

Fix fdisk and cfdisk to be consistent about maximum heads

Without this patch, fdisk allows up to 256 heads to be set via the menu, but
only up to 255 heads by command line -H. Similarly, cfdisk's -H option also
enforces heads <= 255 instead of heads <= 256.

The strange limit of 256 comes about because (heads - 1) should fit in a
single byte for legacy CHS. Geometries of 256 heads and 32 sectors are seen
in disks from other operating systems where cylinder-aligned partitions
which are also aligned to a 4MB boundary are wanted.

Signed-off-by: Chris Webb <chris@arachsys.com>
15 years agocal: uClibc has langinfo.h but not _NL_TIME_WEEK_1STDAY.
Tom Prince [Fri, 15 May 2009 02:43:02 +0000 (22:43 -0400)]
cal: uClibc has langinfo.h but not _NL_TIME_WEEK_1STDAY.

Signed-off-by: Tom Prince <cougar@hermes>
15 years agoblkid: cleanup debug messages and return codes in blkid_do_probe()
Karel Zak [Thu, 14 May 2009 18:28:11 +0000 (20:28 +0200)]
blkid: cleanup debug messages and return codes in blkid_do_probe()

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: blkid_do_safeprobe() has to be tolerant to RAIDs
Karel Zak [Thu, 14 May 2009 16:29:03 +0000 (18:29 +0200)]
blkid: blkid_do_safeprobe() has to be tolerant to RAIDs

It's pretty generic that RAID signature is on the same device as FS
signature. We have to be tolerant and ignore filesystems signatures
on such devices. The RAID signature is always preferred.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix "hangs forever with partition type mdraid"
Karel Zak [Thu, 14 May 2009 16:04:55 +0000 (18:04 +0200)]
blkid: fix "hangs forever with partition type mdraid"

> #:> blkid /dev/sda7
> /dev/sda7: UUID="c193d159-1fd4-1a4b-4037-f3433e016f3d" TYPE="mdraid"
>
> The blkid binary build from the util-linux-ng sources just hangs
> forever with 100% cpu load with the same command.

Reported-by: Juergen Daubert <jue@jue.li>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: make libuuid optional
Karel Zak [Tue, 12 May 2009 19:22:19 +0000 (21:22 +0200)]
blkid: make libuuid optional

read.c:28:23: error: uuid/uuid.h: No such file or directory
make[3]: *** [read.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Reported-by: Olaf <mailinglists@ban-solms.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix blkid.h include for old e2fsprogs
Karel Zak [Mon, 11 May 2009 13:06:06 +0000 (15:06 +0200)]
build-sys: fix blkid.h include for old e2fsprogs

   When building util-linux-ng-2.15, I get this:
   ../lib/fsprobe.c:10:19: error: blkid.h: No such file or directory

Unfortunately, the blkid.pc uses -I${includedir}/blkidi since
e2fsprogs v1.41.2. The old versions use -I${includedir} only.

Reported-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix "make -C" bug
Karel Zak [Mon, 11 May 2009 09:49:00 +0000 (11:49 +0200)]
build-sys: fix "make -C" bug

Running:

./configure --with-fsprobe=builtin
make -C mount mount

causes the following error:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -include ../config.h
-I../include -DLOCALEDIR=\"/home/matthew/util-linux-ng/share/locale\"
-fsigned-char -I../libs/blkid/src   -g -O2 -MT mount-setproctitle.o
-MD -MP -MF .deps/mount-setproctitle.Tpo -c -o mount-setproctitle.o
`test -f '../lib/setproctitle.c' || echo './'`../lib/setproctitle.c mv
-f .deps/mount-setproctitle.Tpo .deps/mount-setproctitle.Po
make -C
make: option requires an argument -- 'C'
Usage: make [options] [target] ...
...

Reported-by: Matthew Burgess <matthew@linuxfromscratch.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolosetup: handle symlinks in /dev/loop/
Mike Frysinger [Sun, 10 May 2009 20:57:31 +0000 (16:57 -0400)]
losetup: handle symlinks in /dev/loop/

The loop_scandir() expects all the files in /dev/loop/ to be actual
devices and not symlinks to devices.  However, udev by default sets up
symlinks in /dev/loop/ thereby breaking the fallback scan logic when
looking for devices more than the default number of 8.

Simple way to reproduce is:
 - <detach all devices>
 - cd /dev/loop
 - rm -f [2-7]
 - losetup 0 autogen.sh
 - mv 1 8
 - for n in {1..7} ; do ln -s 0 $n ; done
 - losetup -f
<error but should have found /dev/loop/8>

[kay.sievers@vrfy.org:
       just a note, udev does not do that by default. It is
       devfs-nonsense, which the "default" never did.]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Mario Bachmann <grafgrimm77@gmx.de>
15 years agolscpu: fix cpuid code on x86/PIC
Mike Frysinger [Sun, 10 May 2009 20:37:18 +0000 (16:37 -0400)]
lscpu: fix cpuid code on x86/PIC

If we build lscpu as PIE, we currently get a build failure:
lscpu.c: In function 'main':
lscpu.c:333: error: can't find a register in class 'BREG' while reloading 'asm'
lscpu.c:333: error: 'asm' operand has impossible constraints
make[2]: *** [lscpu.o] Error 1

So we need a little bit of register shuffling to keep gcc happy.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agochrt: don't assume SCHED_BATCH and SCHED_IDLE exist
Aurelien Jarno [Wed, 22 Apr 2009 07:18:28 +0000 (09:18 +0200)]
chrt: don't assume SCHED_BATCH and SCHED_IDLE exist

SCHED_FIFO, SCHED_OTHER, SCHED_RR are part of POSIX 1003.1b Process
Scheduling, so it is correct to assume they always exists.

SCHED_BATCH and SCHED_IDLE are Linux specific, we should not assume
they exists.

Defining SCHED_BATCH and SCHED_IDLE to random values (ie the ones found
on Linux systems) is not an option as they may *collide* with the one of
other systems. For example on GNU/kFreeBSD we have:

   #define SCHED_RR        3

and on Linux we have:

   #define SCHED_BATCH     3

[kzak@redhat.com: - add "Linux specific" notes to chrt.1
                  - add a note about BATCH and PR conflict to
                    this commit message]

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agocal: Highlight today even when month or year specified
Rajeev V. Pillai [Wed, 6 May 2009 11:23:45 +0000 (12:23 +0100)]
cal: Highlight today even when month or year specified

* misc-utils/cal.c: Unconditionally call time()
and highlight today where possible.

Signed-off-by: Rajeev V. Pillai <rajeevvp@gmail.com>
Signed-off-by: Pádraig Brady <P@draigBrady.com>
15 years agobuild-sys: release++ (v2.15)
Karel Zak [Tue, 5 May 2009 20:21:15 +0000 (22:21 +0200)]
build-sys: release++ (v2.15)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update v2.15 ReleaseNotes
Karel Zak [Tue, 5 May 2009 20:18:17 +0000 (22:18 +0200)]
docs: update v2.15 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update AUTHORS file
Karel Zak [Tue, 5 May 2009 20:11:22 +0000 (22:11 +0200)]
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use /sys/block/dm-<N>/dm/name
Karel Zak [Mon, 27 Apr 2009 12:33:22 +0000 (14:33 +0200)]
blkid: use /sys/block/dm-<N>/dm/name

The Linux kernel (since 2.6.29, patch 784aae735d9b0bba3f8b9faef4c8b30df3bf0128)
exports the real DM device names in /sys/block/<ptname>/dm/name.

The sysfs based solution is nicer and faster than scan for devno in
/dev/mapper/.

CC: Milan Broz <mbroz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use /dev/mapper/<name> rather than /dev/dm-<N>
Karel Zak [Tue, 5 May 2009 19:40:19 +0000 (21:40 +0200)]
blkid: use /dev/mapper/<name> rather than /dev/dm-<N>

The libblkid (since v1.41.1) returns private device-mapper names (e.g.
/dev/dm-0). It's because the probe_one() function scans /dev before
/dev/mapper.

brw-rw---- 1 root disk 253, 0 2009-04-27 13:41 /dev/dm-0
brw-rw---- 1 root disk 253, 0 2009-04-27 13:41 /dev/mapper/TestVolGroup-TestLogVolume

Old version:
  # blkid -t LABEL="TEST-LABEL" -o device
  /dev/dm-0

Fixed version:
  # blkid -t LABEL="TEST-LABEL" -o device
  /dev/mapper/TestVolGroup-TestLogVolume

Addresses-Red-Hat-Bug: #497259
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: linux_raid - fix logic for volumes with size == 0
Karel Zak [Wed, 29 Apr 2009 14:38:36 +0000 (16:38 +0200)]
blkid: linux_raid - fix logic for volumes with size == 0

 Based on

    commit 7643819062985d9fc6c7664072576e71d3822b10
    Author: Kay Sievers <kay.sievers@vrfy.org>
    Date:   Sat Sep 6 16:23:21 2008 +0200

 from udev upstream tree.

Reported-by: Scott James Remnant <scott@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix -regex in run.sh
Karel Zak [Wed, 29 Apr 2009 13:51:32 +0000 (15:51 +0200)]
tests: fix -regex in run.sh

Reported-by: Scott James Remnant <scott@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: merge changes
Karel Zak [Wed, 29 Apr 2009 13:36:53 +0000 (15:36 +0200)]
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: update id.po (from translationproject.org)
Arif E. Nugroho [Wed, 29 Apr 2009 13:34:26 +0000 (15:34 +0200)]
po: update id.po (from translationproject.org)

15 years agopo: update fr.po (from translationproject.org)
Nicolas Provost [Wed, 29 Apr 2009 13:34:26 +0000 (15:34 +0200)]
po: update fr.po (from translationproject.org)

15 years agopo: update cs.po (from translationproject.org)
Petr Pisar [Wed, 29 Apr 2009 13:34:25 +0000 (15:34 +0200)]
po: update cs.po (from translationproject.org)

15 years agoblkid: rename blkid_evaluate_spec to blkid_evaluate_tag
Karel Zak [Wed, 29 Apr 2009 13:11:54 +0000 (15:11 +0200)]
blkid: rename blkid_evaluate_spec to blkid_evaluate_tag

"SPEC" is usually used in mount(8) as a generic term for device name or
tag (LABEL, UUID). The function blkid_evaluate_* works with TAGs only.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: add entry about /proc/partitions parsing
Karel Zak [Wed, 29 Apr 2009 12:46:21 +0000 (14:46 +0200)]
docs: add entry about /proc/partitions parsing

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agosfdisk: fix possible buffer overflow
Karel Zak [Wed, 29 Apr 2009 12:33:52 +0000 (14:33 +0200)]
sfdisk: fix possible buffer overflow

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agofdisk: fix max. ptname
Karel Zak [Wed, 29 Apr 2009 12:24:45 +0000 (14:24 +0200)]
fdisk: fix max. ptname

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblockdev: fix possible buffer overflow
Karel Zak [Wed, 29 Apr 2009 12:17:39 +0000 (14:17 +0200)]
blockdev: fix possible buffer overflow

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: split SONAME and LIBBLKID_VERSION
Karel Zak [Tue, 28 Apr 2009 20:51:53 +0000 (22:51 +0200)]
blkid: split SONAME and LIBBLKID_VERSION

It seems better to split SONAME and the public library version. The
library version will be the same as util-linux-ng PACKAGE_VERSION.

PACKAGE_VERSION:               <maj>.<min>[-<suffix>]  e.g. 2.15-rc2
Symbols versioning:            BLKID_<maj>.<min>       e.g. BLKID_2.15
blkid_get_library_version():   <maj>.<min>.0           e.g. 2.15.0
SONAME:                        libblkid.so.1

See also the original patch a0487b1cb5beffb8f6783476664b01e8833e0ea8
where was introduced library versioning.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agocfdisk: fix "cannot seek on disk drive" bug
Karel Zak [Tue, 28 Apr 2009 07:16:32 +0000 (09:16 +0200)]
cfdisk: fix "cannot seek on disk drive" bug

Addresses-Debian-Bug: #511161
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: remove whole-disk entries from cache when partitions are found
Eric Sandeen [Fri, 24 Apr 2009 19:08:45 +0000 (21:08 +0200)]
blkid: remove whole-disk entries from cache when partitions are found

We can get into a situation in blkid where whole disks remain
in the cache, even though partitions are found.  For labels
such as sun disklabels which may have the first partition
beginning at sector 0, this is even somewhat likely.

1) create a sun disklabel w/partitions
2) mkfs the first partition (at sector 0)
3) remove the partition table
4) run blkid - this finds the fs on the whole disk, places in cache
5) recreate the partition table
6) run blkid - this finds the partition, places in cache

And now we have both /dev/sda and /dev/sda1 in cache.

There are heuristics in probe_all to avoid putting the whole disk
in cache if it has partitions, but there is nothing to remove the
whole-disk entry in the above case.  I think the below patch
suffices, although I haven't quite convinced myself that setting
the lens[which]=0; is the right logic for that bit of state...

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoagetty: IUCLC and OLCUC are Linux extensions
Aurelien Jarno [Wed, 22 Apr 2009 07:34:10 +0000 (09:34 +0200)]
agetty: IUCLC and OLCUC are Linux extensions

IUCLC and OLCUC are Linux extensions to termios. The same way it is
already done for XCASE, they can be ignored if not supported.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
15 years agolosetup: mount endless loop hang
Karel Zak [Thu, 23 Apr 2009 13:09:04 +0000 (15:09 +0200)]
losetup: mount endless loop hang

Based on
       fix-hang-on-stale-nfs.diff
from SUSE src.rpm package.

It seems better to more precisely check for ENXIO rather than assume
that all LOOP_GET_STATUS errors mean that the device is not used.

Addresses-Novell-Bugzilla: #449646
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoionice: change Jens Axboe's email
Karel Zak [Thu, 23 Apr 2009 11:22:27 +0000 (13:22 +0200)]
ionice: change Jens Axboe's email

Based on
   util-linux-2.14.2-schedutils_fix_email.patch
from SUSE src.rpm package.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agochrt: add a comment about non POSIX 1003.1b attributes in chrt.1
Aurelien Jarno [Wed, 22 Apr 2009 07:19:26 +0000 (09:19 +0200)]
chrt: add a comment about non POSIX 1003.1b attributes in chrt.1

Mention that only SCHED_FIFO, SCHED_OTHER and SCHED_RR are part of
POSIX 1003.1b Process Scheduling in chrt.1.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
15 years agodocs: add a note about /proc/sys/kernel/random/uuid
Karel Zak [Wed, 22 Apr 2009 15:08:28 +0000 (17:08 +0200)]
docs: add a note about /proc/sys/kernel/random/uuid

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolib: do not include <linux/fd.h> in ismounted.c
Aurelien Jarno [Sun, 19 Apr 2009 14:33:44 +0000 (16:33 +0200)]
lib: do not include <linux/fd.h> in ismounted.c

<linux/fd.h> is included for no reason in lib/ismounted.c. This
obviously breaks on non-Linux systems.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
15 years agoblkid: rename blkid_debug_init to blkid_init_debug
Karel Zak [Mon, 20 Apr 2009 09:54:41 +0000 (11:54 +0200)]
blkid: rename blkid_debug_init to blkid_init_debug

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: release++ (v2.15-rc2)
Karel Zak [Fri, 17 Apr 2009 11:06:54 +0000 (13:06 +0200)]
build-sys: release++ (v2.15-rc2)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update v2.15 ReleaseNotes
Karel Zak [Fri, 17 Apr 2009 11:02:10 +0000 (13:02 +0200)]
docs: update v2.15 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: merge changes
Karel Zak [Fri, 17 Apr 2009 10:50:31 +0000 (12:50 +0200)]
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add tst_types.c to Makefile.am
Karel Zak [Fri, 17 Apr 2009 10:35:31 +0000 (12:35 +0200)]
blkid: add tst_types.c to Makefile.am

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update AUTHORS file
Karel Zak [Fri, 17 Apr 2009 10:29:00 +0000 (12:29 +0200)]
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agologin: use open(2) rather then access(2) for $HOME/.hushlogin
Karel Zak [Fri, 10 Apr 2009 09:02:24 +0000 (11:02 +0200)]
login: use open(2) rather then access(2) for $HOME/.hushlogin

As an NFS client with home directories on mounted NFS share - If the
NFS server exports the share with default root squashed, login cannot
access the filesystem to check for the existence of .hushlogin file.

It seems better to use open(2) rather than access(2).

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add new requirements to TODO list
Karel Zak [Thu, 9 Apr 2009 10:42:56 +0000 (12:42 +0200)]
blkid: add new requirements to TODO list

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add TODO note about blkid_evaluate_spec_to_buffer()
Karel Zak [Wed, 8 Apr 2009 20:22:14 +0000 (22:22 +0200)]
blkid: add TODO note about blkid_evaluate_spec_to_buffer()

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: update TODO
Karel Zak [Mon, 6 Apr 2009 09:08:13 +0000 (11:08 +0200)]
blkid: update TODO

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add ZSF test
Karel Zak [Fri, 3 Apr 2009 09:33:01 +0000 (11:33 +0200)]
blkid: add ZSF test

Thanks to Andreas Dilger.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add ZSF support
Andreas Dilger [Fri, 3 Apr 2009 09:28:31 +0000 (11:28 +0200)]
blkid: add ZSF support

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: check idinfo[] index
Karel Zak [Fri, 3 Apr 2009 09:02:17 +0000 (11:02 +0200)]
blkid: check idinfo[] index
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomount: Add strictatime support
Matthew Garrett [Fri, 27 Mar 2009 00:47:22 +0000 (00:47 +0000)]
mount: Add strictatime support

2.6.30 adds (patch d0adde574b8487ef30f69e2d08bba769e4be513f) support for a
strictatime mount parameter, used to request strict atime update semantics. The
following patch adds support for it to mount.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
15 years agoblkid: fix exit codes in blkid(8)
Scott James Remnant [Tue, 24 Mar 2009 12:15:38 +0000 (13:15 +0100)]
blkid: fix exit codes in blkid(8)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: fix typo, cal(8) --> cal(1)
Karel Zak [Thu, 19 Mar 2009 07:39:47 +0000 (08:39 +0100)]
docs: fix typo, cal(8) --> cal(1)

Reported-by: Pádraig Brady <P@draigBrady.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: rewrite update-potfiles script
Karel Zak [Wed, 18 Mar 2009 19:53:43 +0000 (20:53 +0100)]
po: rewrite update-potfiles script

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: release++ (v2.15-rc1)
Karel Zak [Wed, 18 Mar 2009 14:49:48 +0000 (15:49 +0100)]
build-sys: release++ (v2.15-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: fix bugs detected by "make distcheck"
Karel Zak [Wed, 18 Mar 2009 14:45:48 +0000 (15:45 +0100)]
build-sys: fix bugs detected by "make distcheck"

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: update POTFILES.in
Karel Zak [Wed, 18 Mar 2009 14:45:42 +0000 (15:45 +0100)]
po: update POTFILES.in

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update v2.15 ReleaseNotes
Karel Zak [Wed, 18 Mar 2009 13:00:31 +0000 (14:00 +0100)]
docs: update v2.15 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agodocs: update AUTHORS file
Karel Zak [Wed, 18 Mar 2009 10:11:54 +0000 (11:11 +0100)]
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: merge changes
Karel Zak [Wed, 18 Mar 2009 10:02:24 +0000 (11:02 +0100)]
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix typo in lscpu test
Karel Zak [Tue, 17 Mar 2009 21:31:14 +0000 (22:31 +0100)]
tests: fix typo in lscpu test

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix file name is too long (max 99) - gtar
Karel Zak [Tue, 17 Mar 2009 20:02:40 +0000 (21:02 +0100)]
tests: fix file name is too long (max 99) - gtar

gtar: util-linux-ng-2.15-rc1/tests/ts/lscpu/proc-dumps/i386-dellpe700/sys/devices/system/cpu/cpu1/topology/:
file name is too long (max 99); not dumped

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agologin: use "remote" as a PAM service name for "login -h"
Karel Zak [Tue, 17 Mar 2009 20:00:42 +0000 (21:00 +0100)]
login: use "remote" as a PAM service name for "login -h"

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix ocfs2 detection
Karel Zak [Tue, 17 Mar 2009 15:05:47 +0000 (16:05 +0100)]
blkid: fix ocfs2 detection

The regression tests has failed on PPC64, because
OCFS3 suberblock is in little-endian.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: add $usrlibexecdir and fix paths for [/usr]/lib64
Karel Zak [Tue, 17 Mar 2009 13:54:22 +0000 (14:54 +0100)]
build-sys: add $usrlibexecdir and fix paths for [/usr]/lib64

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoinclude: bitops - explicitly include endian.h
Karel Zak [Tue, 17 Mar 2009 11:40:15 +0000 (12:40 +0100)]
include: bitops - explicitly include endian.h

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: refresh generated libtool-2 stuff
Karel Zak [Tue, 17 Mar 2009 08:40:17 +0000 (09:40 +0100)]
build-sys: refresh generated libtool-2 stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add missing blkidP.h to Makefile.am
Karel Zak [Mon, 16 Mar 2009 21:16:06 +0000 (22:16 +0100)]
blkid: add missing blkidP.h to Makefile.am

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agopo: add zh_CN.po (from translationproject.org)
Ray Wang [Mon, 16 Mar 2009 15:07:42 +0000 (16:07 +0100)]
po: add zh_CN.po (from translationproject.org)

15 years agopo: update vi.po (from translationproject.org)
Clytie Siddall [Mon, 16 Mar 2009 15:07:42 +0000 (16:07 +0100)]
po: update vi.po (from translationproject.org)

15 years agopo: update nl.po (from translationproject.org)
Benno Schulenberg [Mon, 16 Mar 2009 15:07:42 +0000 (16:07 +0100)]
po: update nl.po (from translationproject.org)

15 years agopo: update ja.po (from translationproject.org)
Makoto Kato [Mon, 16 Mar 2009 15:07:41 +0000 (16:07 +0100)]
po: update ja.po (from translationproject.org)

15 years agopo: update id.po (from translationproject.org)
Arif E. Nugroho [Mon, 16 Mar 2009 15:07:41 +0000 (16:07 +0100)]
po: update id.po (from translationproject.org)

15 years agopo: update fr.po (from translationproject.org)
Nicolas Provost [Mon, 16 Mar 2009 15:07:41 +0000 (16:07 +0100)]
po: update fr.po (from translationproject.org)

15 years agopo: update fi.po (from translationproject.org)
Lauri Nurmi [Mon, 16 Mar 2009 15:07:41 +0000 (16:07 +0100)]
po: update fi.po (from translationproject.org)

15 years agopo: update cs.po (from translationproject.org)
Petr Pisar [Mon, 16 Mar 2009 15:07:40 +0000 (16:07 +0100)]
po: update cs.po (from translationproject.org)

15 years agotests: disable blkid tests when blkid(8) is not compiled
Karel Zak [Mon, 16 Mar 2009 13:03:03 +0000 (14:03 +0100)]
tests: disable blkid tests when blkid(8) is not compiled

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agolib: fsprobe - fix gcc warning
Karel Zak [Mon, 16 Mar 2009 12:08:45 +0000 (13:08 +0100)]
lib: fsprobe - fix gcc warning

lib/fsprobe.c: In function ‘fsprobe_get_fstype_by_devname’:
lib/fsprobe.c:243: warning: return discards qualifiers from pointer target type

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix non-udev low-probe mode output
Karel Zak [Sat, 14 Mar 2009 19:00:03 +0000 (20:00 +0100)]
blkid: fix non-udev low-probe mode output

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agomkswap: clean up man page
Karel Zak [Fri, 13 Mar 2009 13:31:31 +0000 (14:31 +0100)]
mkswap: clean up man page

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