Commit Graph

430 Commits

Author SHA1 Message Date
Karel Zak 8df90dec2b setarch: add long options to setarch and update manpage
Co-Author: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-05 17:12:18 +02:00
Karel Zak d8e1628872 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-05 11:55:50 +02:00
Pascal Terjan edd867fac2 fdisk: doing useless ioctl when editing an image
When editing a disk image, fdisk wants to ask the kernel to reread the
partition table which is useless and provokes an error, a wrong exit
code and some waiting. This annoys me as I can't check the return code
in my script and because I have to wait a few seconds each time.

This trivial patch makes it only do the ioctl on block devices.

It also simplifies code by dropping some workaround for kernel 1.2.x

Signed-off-by: Pascal Terjan <pterjan@linuxfr.org>
2007-09-05 11:52:28 +02:00
Li Zefan 2a45745f59 rename: add description about option -V to manpage
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
2007-09-05 11:51:35 +02:00
Li Zefan 14608fdff0 rename: remove useless variable
The number of files successfully renamed is calculated and stored in variable
ct, > but actually the variable is not used afterwards.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
2007-09-05 11:51:11 +02:00
LaMont Jones baeec9ff03 build-sys: remove files that are no longer delivered from git
Neither mount/h/swap.h nor mount/mount.smbfs is delivered
as part of util-linux-ng tar archives.  As such, they
should not be in git either.

Signed-off-by: LaMont Jones <lamont@debian.org>
2007-09-05 11:49:59 +02:00
Li Zefan 14b22761a0 cal: add description about option -V to manpage
cal support option -V to display version information, but the manpage doesn't
mention it.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
2007-09-05 11:49:05 +02:00
Norbert Buchmuller a9d6150d12 mount: chain of symlinks to fstab causes use of pointer after free
Looking at the source in 'mount/realpath.c' we find that when dealing with
the second or later symlink in the chain, a memory block was free()d before
copying its contents to a newly allocated block.
2007-09-05 11:42:28 +02:00
Arkadiusz Miskiewicz 63038035f3 setarch: adding groff symlinks to setarch manual page
Signed-off-by: Arkadiusz Miskiewicz <arekm@maven.pl>
2007-09-03 11:33:11 +02:00
LaMont Jones e5924b375c mount: improve error message when helper program not present
"missing codepage" is a bit confusing to many people, so include
"helper program" in the error message when we fail to mount something.

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
2007-09-03 11:32:40 +02:00
Karel Zak ab9756eaf3 docs: fix stable branche name in README.devel
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-03 11:31:19 +02:00
Karel Zak 60c68b39a5 fdisk: fix typo
Reported-by: Daniel Nylander <po@danielnylander.se>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-02 15:02:55 +02:00
Karel Zak 952a06cfa8 build-sys: autogen.sh reports versions of autotools now
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-02 13:43:31 +02:00
Karel Zak 7fc9786b7b build-sys: set AC_PREREQ to 2.60, increment version to 2.14
The autoconf >= 2.60 supports @localedir@ and others new directory
variables.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-02 13:10:06 +02:00
A. Costa 16e1cdf4ab flock: typo in man page
Signed-off-by: LaMont Jones <lamont@debian.org>
2007-09-02 13:05:46 +02:00
Karel Zak 49ef7acdf7 build-sys: release++
Increment release number to v2.13

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-28 00:41:54 +02:00
Karel Zak 30e65d944b docs: update ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-28 00:38:57 +02:00
Karel Zak bab8a90a19 docs: update and sort AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-28 00:15:49 +02:00
Karel Zak 773502b577 po: update po/ stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-28 00:14:16 +02:00
Matthias Koenig 2b25841371 ionice: clean up error handling
Print error in case execvp fails and use exit macros.

Based on patch by Bernhard Voelker <mail@bernhard-voelker.de>

Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-27 23:58:05 +02:00
Justin B Rye c448ad8686 cytune: make the oneliner more specific the cyclades hw in question
See http://bugs.debian.org/375150

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
2007-08-27 23:50:01 +02:00
Karel Zak 3d24cec1d4 docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-27 23:39:10 +02:00
Karel Zak 1e322675f9 setarch: add --3gb option fot compatibility with Debian linux{32,64} command
Debian had a pre-existing linux{32,64} command which supported only
--3gb and --4gb. Adding support for those options allows setarch to
replace that package.

(Note that long options are expected for all setarch flags in the next
release.)

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-27 23:34:08 +02:00
Karel Zak eeadb4f4cb setarch: finish adding parisc support
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-27 23:16:28 +02:00
Karel Zak b557c30f63 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-27 15:37:05 +02:00
Karel Zak ad06f3e9c1 Revert "mount: improve error message when helper program not present"
This reverts commit f8988ebf89 that
breaks new PO translation. The code is currently in "string freeze"
state. The patch will be applied to 2.14 and 2.13.1.
2007-08-27 13:16:08 +02:00
Daniel Nylander 9073cf4c26 po: update sv.po (from translationproject.org) 2007-08-27 11:12:14 +02:00
Petr Pisar c45fcba1d3 po: update cs.po (from translationproject.org) 2007-08-27 11:10:06 +02:00
Mike Frysinger 19a224ad6a taskset: check for existence of sched_getaffinity
Some architectures do no reliably provide sched_getaffinity, so make sure the
define exists before we try using it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-08-27 10:48:29 +02:00
LaMont Jones 782e198d93 setarch: add parisc/parisc64 support
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
2007-08-27 10:47:05 +02:00
Sascha Sommer 5c62eb4d06 mount: free loop device on failure
Testcase:
$ mount -oloop /etc/group /mnt
ioctl: LOOP_CLR_FD: Device or resource busy
mount: you must specify the filesystem type
$ losetup /dev/loop0
/dev/loop0: [0803]:1931929 (/etc/group)

Signed-off-by: Matthias Koenig <mkoenig@suse.de>
2007-08-27 10:22:06 +02:00
Matthias Koenig 309fd2e793 mount: avoid duplicates for root fs in mtab
If the root fs is defined with LABEL or UUID in fstab, avoid
a duplicate entry in mtab when calling mount without existing
mtab.
A mount -f / creates two entries, one for LABEL and another
for the devicename, because canonicalize does not expand the
LABEL or UUID tags.

Signed-off-by: Matthias Koenig <mkoenig@suse.de>
2007-08-24 15:07:39 +02:00
Karel Zak 8855c38d04 setarch: cleanup licensing note
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-21 10:52:02 +02:00
Karel Zak a4162262b9 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-21 10:32:41 +02:00
Phan Vinh Thinh 56b974082b po: update vi.po (from translationproject.org)
Signed-off-by: Phan Vinh Thinh <teppi82@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-21 10:27:27 +02:00
Benno Schulenberg 744cea0171 po: update nl.po (from translationproject.org)
Signed-off-by: Benno Schulenberg <benno@vertaalt.nl>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-21 10:25:25 +02:00
Balint Cristian 9e19737a08 setarch: add __alpha__ support
Signed-off-by: Balint Cristian <cbalint@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-21 10:00:58 +02:00
Dennis Gilmore ee7401c58e setarch: add sparc32bash alias to keep compatibility with sparc32
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-21 09:55:28 +02:00
Karel Zak b3adc9729d docs: add DEPRECATED to EXTRA_DIST
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-20 14:37:52 +02:00
Karel Zak 7fd5a905be docs: fix BSD licence name in README.licensing
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-17 13:02:03 +02:00
Karel Zak cb0981c321 docs: fix authorship of 8-bit cleanup agetty patch
The patch:

	commit 6a4c63d9d9
	Author: Moritz Muehlenhoff <jmm@inutil.org>
	Date:   Thu Jul 19 00:29:13 2007 +0200

	agetty: 8 bit characters on the Linux console lead to input
	corruption

	Signed-off-by: LaMont Jones <lamont@mmjgroup.com>

has been posted and committed with wrong "Author" field.

Sorry to Samuel Thibault who is original author of the patch.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-17 12:44:57 +02:00
Karel Zak d7a3e6fc95 po: update de.po (from translationproject.org)
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-15 12:26:46 +02:00
Karel Zak b2e00b5fa0 docs: add note about http://translationproject.org
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-15 12:10:13 +02:00
LaMont Jones 5ebbcdf9c8 man-pages: cleanup of chrt.1 and taskset.1
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-15 12:03:51 +02:00
LaMont Jones f8988ebf89 mount: improve error message when helper program not present
"missing codepage" is a bit confusing to many people, so include
"helper program" in the error message when we fail to mount something.

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
2007-08-15 11:21:58 +02:00
Benno Schulenberg 65b27d3669 po: gettextizing some overlooked messages.
Gettextize three new strings, make two strings indentical to two others,
and gettextize three strings that are already gettextized elsewhere.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 14:46:28 +02:00
Karel Zak f3831bbd80 build-sys: add --disable-makeinstall-chown
A chown-like operations are unexpected when you execute "make install"
as non-root user. For example RPM defines owner+permissions in .spec
file -- you needn't to use root account to create useful RPM package.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 14:32:45 +02:00
Karel Zak dcb219b313 docs: add README.licensing
There is not only one unique license for all code in utl-linux-ng. We
have mix of utils with Public Domain, BSD, GPLv2 or GPLv2+. This thing
should be more transparent to avoid misunderstanding.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 12:27:55 +02:00
Karel Zak cd5e23c56a tests: fix ULONG_MAX usage on 32bit machines
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 12:05:29 +02:00
Karel Zak e93a1aae2f chsh: don't use empty shell field in /etc/passwd
chsh(1) uses empty shell setting (pw->pw_shell="") as a synonym for
/bin/sh. This convention is silly and unnecessary. (The vsftpd server
will not run if the shell assigned to user "ftp" is a null string --
according to bug rh#103004).

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 12:04:09 +02:00