]> err.no Git - util-linux/log
util-linux
17 years agoraw: move the raw command to /sbin
Karel Zak [Fri, 26 Jan 2007 19:01:39 +0000 (20:01 +0100)]
raw: move the raw command to /sbin

The raw command could be used from udev scripts.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoraw: don't accept raw0 as a target name
Karel Zak [Fri, 26 Jan 2007 18:55:41 +0000 (19:55 +0100)]
raw: don't accept raw0 as a target name

The raw0 is rawctl and cannot be used as a normal raw device. The patch
also enlarge range of <N> for raw<N> and improve the query mode.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoraw: update man page (about dd and O_DIRECT)
Karel Zak [Thu, 25 Jan 2007 10:22:42 +0000 (11:22 +0100)]
raw: update man page (about dd and O_DIRECT)

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agohexdump: don't use memset with zero lenght
Karel Zak [Wed, 17 Jan 2007 13:27:15 +0000 (14:27 +0100)]
hexdump: don't use memset with zero lenght

gcc 4.1.0: "warning: memset used with constant zero length parameter...."

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoschedutils: add support for SCHED_BATCH
Karel Zak [Tue, 16 Jan 2007 14:24:13 +0000 (15:24 +0100)]
schedutils: add support for SCHED_BATCH

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoschedutils: remove extra hyptens from man pages
Karel Zak [Tue, 16 Jan 2007 13:30:24 +0000 (14:30 +0100)]
schedutils: remove extra hyptens from man pages

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agopo: rename mount/mntent.c to mount/mount_mntent.c
Karel Zak [Thu, 4 Jan 2007 14:02:25 +0000 (15:02 +0100)]
po: rename mount/mntent.c to mount/mount_mntent.c

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoipcs: add new tests for ipcs limits
Karel Zak [Wed, 3 Jan 2007 00:07:55 +0000 (01:07 +0100)]
ipcs: add new tests for ipcs limits

The tests check if data from kernel and from the ipcs command are same.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agotests: add simple helper that returns info about system
Karel Zak [Thu, 4 Jan 2007 13:53:19 +0000 (14:53 +0100)]
tests: add simple helper that returns info about system

usage: tests/helpers/mnt_test_sysinfo <infoname>

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoipcs: max total shared memory in kbytes instead pages
Karel Zak [Fri, 29 Dec 2006 00:13:58 +0000 (01:13 +0100)]
ipcs: max total shared memory in kbytes instead pages

The ipcs command has reported "max total shared memory" as a number of pages.
The others IPC limits are reported in (k)bytes, so it doesn't make sense mix
pages and bytes in the same output. Now "max total shared memory" is reported in
kbytes.

[Migration note: type="API change", severity="low"]

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoipcs: fix typo in Semaphore headers
Karel Zak [Thu, 28 Dec 2006 22:09:29 +0000 (23:09 +0100)]
ipcs: fix typo in Semaphore headers

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoipcs: add regression test for output headers
Karel Zak [Tue, 2 Jan 2007 23:42:23 +0000 (00:42 +0100)]
ipcs: add regression test for output headers

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agomore: fix file descriptor leak
Karel Zak [Tue, 2 Jan 2007 23:28:02 +0000 (00:28 +0100)]
more: fix file descriptor leak

When you view a file with the more command and run a shell, the file descriptor
for reading the file is leaked to that process.

To test, more any file. Then do !/bin/sh. At the prompt do "ls -l /proc/$$/fd"
and you'll see the leaked fd.

From: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoexecl() should be use NULL not 0
Karel Zak [Thu, 28 Dec 2006 21:26:02 +0000 (22:26 +0100)]
execl() should be use NULL not 0

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agobuild-sys: remove DEFAULT_INCLUDES workaround
Karel Zak [Thu, 4 Jan 2007 13:39:17 +0000 (14:39 +0100)]
build-sys: remove DEFAULT_INCLUDES workaround

The automake stuff uses "-I.". as a default gcc option for includes. This is a
problem for source code where is local includes with a same name like system
includes (e.g.  mntent.h, paths.h). Possible workaround is overwrite the
automake DEFAULT_INCLUDES variable. But this solution produces warnings. The
best way (this patch) is probably rename the files and remove DEFAULT_INCLUDES.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agotests: add basic infrastructure for regression tests
Karel Zak [Thu, 4 Jan 2007 13:23:48 +0000 (14:23 +0100)]
tests: add basic infrastructure for regression tests

The patch adds tests/ directory with simple regression tests infrastructure.

Also, it adds the "ts-mount-paths" test that testing if all defined paths
(fstab, mtab, locks) are still same.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agomount: add simple (printf-like) debug routine and --debug option
Karel Zak [Wed, 27 Dec 2006 22:35:56 +0000 (23:35 +0100)]
mount: add simple (printf-like) debug routine and --debug option

The --debug=<level> command line option enables debug outputs. It's
undocumented option, because it's really for debug/tests purpose only.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agobuild-sys: rename to -ng, change maintainer name
Karel Zak [Thu, 4 Jan 2007 12:44:06 +0000 (13:44 +0100)]
build-sys: rename to -ng, change maintainer name

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agobuild-sys: add missing files
Karel Zak [Thu, 4 Jan 2007 10:57:07 +0000 (11:57 +0100)]
build-sys: add missing files

This patch add all missing headers, man pages and README files to automake
stuff and "make dist-gzip" produces useful tarball now.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agobuild-sys: remove generated autotools stuff from git
Karel Zak [Wed, 3 Jan 2007 21:20:44 +0000 (22:20 +0100)]
build-sys: remove generated autotools stuff from git

The generated autotools stuff shouldn't be maintained by SCM. After check out
from git use ./autogen.sh. For more details see README.devel.

Signed-off-by: Karel Zak <kzak@redhat.com>
17 years agoImported from util-linux-2.13-pre7 tarball.
Karel Zak [Wed, 6 Dec 2006 23:27:22 +0000 (00:27 +0100)]
Imported from util-linux-2.13-pre7 tarball.

17 years agoImported from util-linux-2.13-pre6 tarball.
Karel Zak [Wed, 6 Dec 2006 23:27:13 +0000 (00:27 +0100)]
Imported from util-linux-2.13-pre6 tarball.

17 years agoImported from util-linux-2.13-pre5 tarball.
Karel Zak [Wed, 6 Dec 2006 23:27:10 +0000 (00:27 +0100)]
Imported from util-linux-2.13-pre5 tarball.

17 years agoImported from util-linux-2.13-pre4 tarball.
Karel Zak [Wed, 6 Dec 2006 23:27:06 +0000 (00:27 +0100)]
Imported from util-linux-2.13-pre4 tarball.

17 years agoImported from util-linux-2.13-pre3 tarball.
Karel Zak [Wed, 6 Dec 2006 23:27:03 +0000 (00:27 +0100)]
Imported from util-linux-2.13-pre3 tarball.

17 years agoImported from util-linux-2.13-pre2 tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:58 +0000 (00:26 +0100)]
Imported from util-linux-2.13-pre2 tarball.

17 years agoImported from util-linux-2.13-pre1 tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:54 +0000 (00:26 +0100)]
Imported from util-linux-2.13-pre1 tarball.

17 years agoImported from util-linux-2.12r tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:46 +0000 (00:26 +0100)]
Imported from util-linux-2.12r tarball.

17 years agoImported from util-linux-2.12r-pre1 tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:44 +0000 (00:26 +0100)]
Imported from util-linux-2.12r-pre1 tarball.

17 years agoImported from util-linux-2.12q tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:42 +0000 (00:26 +0100)]
Imported from util-linux-2.12q tarball.

17 years agoImported from util-linux-2.12q-pre2 tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:40 +0000 (00:26 +0100)]
Imported from util-linux-2.12q-pre2 tarball.

17 years agoImported from util-linux-2.12q-pre1 tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:36 +0000 (00:26 +0100)]
Imported from util-linux-2.12q-pre1 tarball.

17 years agoImported from util-linux-2.12p tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:33 +0000 (00:26 +0100)]
Imported from util-linux-2.12p tarball.

17 years agoImported from util-linux-2.12o tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:31 +0000 (00:26 +0100)]
Imported from util-linux-2.12o tarball.

17 years agoImported from util-linux-2.12m tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:30 +0000 (00:26 +0100)]
Imported from util-linux-2.12m tarball.

17 years agoImported from util-linux-2.12l tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:28 +0000 (00:26 +0100)]
Imported from util-linux-2.12l tarball.

17 years agoImported from util-linux-2.12k tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:26 +0000 (00:26 +0100)]
Imported from util-linux-2.12k tarball.

17 years agoImported from util-linux-2.12j tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:24 +0000 (00:26 +0100)]
Imported from util-linux-2.12j tarball.

17 years agoImported from util-linux-2.12i tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:22 +0000 (00:26 +0100)]
Imported from util-linux-2.12i tarball.

17 years agoImported from util-linux-2.12h tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:19 +0000 (00:26 +0100)]
Imported from util-linux-2.12h tarball.

17 years agoImported from util-linux-2.12d tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:18 +0000 (00:26 +0100)]
Imported from util-linux-2.12d tarball.

17 years agoImported from util-linux-2.12b tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:16 +0000 (00:26 +0100)]
Imported from util-linux-2.12b tarball.

17 years agoImported from util-linux-2.12a tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:14 +0000 (00:26 +0100)]
Imported from util-linux-2.12a tarball.

17 years agoImported from util-linux-2.12pre tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:13 +0000 (00:26 +0100)]
Imported from util-linux-2.12pre tarball.

17 years agoImported from util-linux-2.12 tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:12 +0000 (00:26 +0100)]
Imported from util-linux-2.12 tarball.

17 years agoImported from util-linux-2.11y tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:08 +0000 (00:26 +0100)]
Imported from util-linux-2.11y tarball.

17 years agoImported from util-linux-2.11x tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:05 +0000 (00:26 +0100)]
Imported from util-linux-2.11x tarball.

17 years agoImported from util-linux-2.11w tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:03 +0000 (00:26 +0100)]
Imported from util-linux-2.11w tarball.

17 years agoImported from util-linux-2.11v tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:02 +0000 (00:26 +0100)]
Imported from util-linux-2.11v tarball.

17 years agoImported from util-linux-2.11u tarball.
Karel Zak [Wed, 6 Dec 2006 23:26:00 +0000 (00:26 +0100)]
Imported from util-linux-2.11u tarball.

17 years agoImported from util-linux-2.11t tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:58 +0000 (00:25 +0100)]
Imported from util-linux-2.11t tarball.

17 years agoImported from util-linux-2.11r tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:56 +0000 (00:25 +0100)]
Imported from util-linux-2.11r tarball.

17 years agoImported from util-linux-2.11q tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:54 +0000 (00:25 +0100)]
Imported from util-linux-2.11q tarball.

17 years agoImported from util-linux-2.11o tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:53 +0000 (00:25 +0100)]
Imported from util-linux-2.11o tarball.

17 years agoImported from util-linux-2.11n tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:52 +0000 (00:25 +0100)]
Imported from util-linux-2.11n tarball.

17 years agoImported from util-linux-2.11m tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:49 +0000 (00:25 +0100)]
Imported from util-linux-2.11m tarball.

17 years agoImported from util-linux-2.11f tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:48 +0000 (00:25 +0100)]
Imported from util-linux-2.11f tarball.

17 years agoImported from util-linux-2.11b tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:46 +0000 (00:25 +0100)]
Imported from util-linux-2.11b tarball.

17 years agoImported from util-linux-2.10s tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:44 +0000 (00:25 +0100)]
Imported from util-linux-2.10s tarball.

17 years agoImported from util-linux-2.10m tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:43 +0000 (00:25 +0100)]
Imported from util-linux-2.10m tarball.

17 years agoImported from util-linux-2.10f tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:41 +0000 (00:25 +0100)]
Imported from util-linux-2.10f tarball.

17 years agoImported from util-linux-2.9v tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:39 +0000 (00:25 +0100)]
Imported from util-linux-2.9v tarball.

17 years agoImported from util-linux-2.9i tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:37 +0000 (00:25 +0100)]
Imported from util-linux-2.9i tarball.

17 years agoImported from util-linux-2.8 tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:35 +0000 (00:25 +0100)]
Imported from util-linux-2.8 tarball.

17 years agoImported from util-linux-2.7.1 tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:34 +0000 (00:25 +0100)]
Imported from util-linux-2.7.1 tarball.

17 years agoImported from util-linux-2.5 tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:33 +0000 (00:25 +0100)]
Imported from util-linux-2.5 tarball.

17 years agoImported from util-linux-2.2 tarball.
Karel Zak [Wed, 6 Dec 2006 23:25:32 +0000 (00:25 +0100)]
Imported from util-linux-2.2 tarball.