]>
err.no Git - util-linux/log
LaMont Jones [Thu, 17 Apr 2008 22:57:23 +0000 (16:57 -0600)]
Merge commit 'origin/master'
Karel Zak [Wed, 16 Apr 2008 22:16:01 +0000 (00:16 +0200)]
docs: remove date from ReleasNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 21:41:19 +0000 (23:41 +0200)]
docs: update v2.14-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 21:22:23 +0000 (23:22 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 21:12:40 +0000 (23:12 +0200)]
cal: use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES
The HAVE_NCURSES is obsolete macro. The autotool generates HAVE_LIBxxx macros.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 20:47:37 +0000 (22:47 +0200)]
more: use HAVE_WIDECHAR instead ENABLE_WIDECHAR
This problem has been detected by tools/codecheck-config.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 20:37:48 +0000 (22:37 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Wed, 16 Apr 2008 20:21:38 +0000 (22:21 +0200)]
po: update nl.po (from translationproject.org)
Karel Zak [Wed, 16 Apr 2008 20:04:46 +0000 (22:04 +0200)]
build-sys: remove unnecessary check-local target from login-utils/
We have all tests in the tests/ directory.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 12:13:42 +0000 (14:13 +0200)]
mkswap: set errno=0 in write_all()
Signed-off-by: Karel Zak <kzak@redhat.com>
Dmitry V. Levin [Tue, 15 Apr 2008 23:26:56 +0000 (03:26 +0400)]
setarch: provide backwards compatibility
The getopt_long(3) use introduced by commit
8df90dec2bfd8c876ddd4cea010f40550d4e24aa
broke backwards compatibility.
Old behavior:
$ i386 uname -m
i686
New behavior:
$ i386 uname -m
i386: invalid option -- m
Linux
Traditional method to fix it is to disable program arguments reordering
by prefixing getopt_long's optstring with '+' character.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 16 Apr 2008 04:59:28 +0000 (22:59 -0600)]
Merge commit 'origin/master'
Conflicts:
mount/lomount.c
mount/lomount.h
mount/mount.c
LaMont Jones [Wed, 16 Apr 2008 04:49:19 +0000 (22:49 -0600)]
Merge branch 'stable/v2.13'
Karel Zak [Tue, 15 Apr 2008 23:32:10 +0000 (01:32 +0200)]
losetup: fix typo in losetup.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 23:29:43 +0000 (01:29 +0200)]
docs: add note about losetup --sizelimit to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Tue, 15 Apr 2008 11:56:28 +0000 (13:56 +0200)]
chfn, chsh, login: collapsing three similar messages into a single one
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Tue, 15 Apr 2008 10:20:25 +0000 (12:20 +0200)]
losetup: split help message into two smaller parts
As it has already changed since the previous release, take the opportunity
to cut it into two more manageable chunks for translators.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 21:18:36 +0000 (23:18 +0200)]
swapon: fix swsuspend detection
Welcome to hell where S1SUSPEND/S2SUSPEND is
"swsuspend" in libblkid
and
"suspend" in libvolume_id
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 19:27:23 +0000 (21:27 +0200)]
mount: fix typo in mount.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 11:44:21 +0000 (13:44 +0200)]
losetup: mark the option -s as deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
Shachar Shemesh [Tue, 15 Apr 2008 11:11:40 +0000 (13:11 +0200)]
mount: add support for sizelimit= mount option (for loop mounts)
[kzak@redhat.com: split the original patch to small patches]
Signed-off-by: Shachar Shemesh <shachar@lingnu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Shachar Shemesh [Tue, 15 Apr 2008 10:57:35 +0000 (12:57 +0200)]
losetup: add --sizelimit option
[kzak@redhat.com: split the original patch to small patches]
Signed-off-by: Shachar Shemesh <shachar@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 15 Apr 2008 00:19:15 +0000 (18:19 -0600)]
changelog: release
Karel Zak [Mon, 14 Apr 2008 22:35:05 +0000 (00:35 +0200)]
mkswap: when writing the signature page, handle EINTR returns
If the signature page write bumps into EINTR, it should finish the
write, instead of dying.
Addresses-Ubuntu-Bug: 206113
Signed-off-by: LaMont Jones <lamont@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 15 Apr 2008 00:17:25 +0000 (18:17 -0600)]
Revert "mkswap: when writing the signature page, handle EINTR returns."
This reverts commit
5a913db9576f87ae9780d22de7d7f614e7f53dda .
Karel Zak [Mon, 14 Apr 2008 22:35:05 +0000 (00:35 +0200)]
mkswap: when writing the signature page, handle EINTR returns
If the signature page write bumps into EINTR, it should finish the
write, instead of dying.
Addresses-Ubuntu-Bug: 206113
Signed-off-by: LaMont Jones <lamont@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2008 12:24:03 +0000 (14:24 +0200)]
build-sys: update .gitignore files
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 13 Apr 2008 18:58:18 +0000 (19:58 +0100)]
build-sys: ignore a bunch of generated files, mostly binaries
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sat, 12 Apr 2008 11:53:07 +0000 (12:53 +0100)]
login: rewrite is_local() to remove limits on line length
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2008 10:51:41 +0000 (12:51 +0200)]
docs: cleanup README.devel, add note about coding style and Signed-off-by
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2008 10:16:14 +0000 (12:16 +0200)]
fdisk: message tweak
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Apr 2008 09:34:12 +0000 (11:34 +0200)]
scriptreplay: rewrite in C
The dependence on Perl sucks...
Co-Author: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: James Youngman <jay@gnu.org>
LaMont Jones [Sat, 12 Apr 2008 03:01:45 +0000 (21:01 -0600)]
changelog: release
LaMont Jones [Wed, 9 Apr 2008 23:58:18 +0000 (17:58 -0600)]
mkswap: when writing the signature page, handle EINTR returns.
If the signature page write bumps into EINTR, it should finish the
write, instead of dying.
Addresses-Ubuntu-Bug: 206113
Signed-off-by: LaMont Jones <lamont@canonical.com>
LaMont Jones [Wed, 9 Apr 2008 23:18:21 +0000 (17:18 -0600)]
Merge commit 'origin/master'
Karel Zak [Wed, 9 Apr 2008 13:03:22 +0000 (15:03 +0200)]
docs: update v2.14-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 9 Apr 2008 09:52:11 +0000 (11:52 +0200)]
mount: remove set_proc_name()
This function has been used in background mount code.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Apr 2008 11:14:39 +0000 (13:14 +0200)]
hwclock: add --adjfile=path option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 28 Mar 2008 01:16:37 +0000 (02:16 +0100)]
ldattach: use glibc termios
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 6 Apr 2008 11:15:46 +0000 (12:15 +0100)]
fsck.minix: reset the terminal state if we are killed by a fatal signal
[kzak@redhat.com: remove unnecessary volatile type qualifier]
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Mon, 7 Apr 2008 20:50:22 +0000 (22:50 +0200)]
mkfs.cramfs: switch on localization.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
James Youngman [Sun, 6 Apr 2008 22:19:53 +0000 (23:19 +0100)]
script: read returns a size_t
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 6 Apr 2008 11:54:44 +0000 (12:54 +0100)]
login-utils: cleanup strlen() and fgets() usage
The strlen() returns size_t, not int. The fgets() returns
pointer, not int.
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 6 Apr 2008 10:45:57 +0000 (11:45 +0100)]
fsck.minix: correct the error message given when we can't open the device
Don't actually print %s in the error message, print the device name,
as was obviously intended. Also, print the error message
corresponding to the errno value.
[kzak@redhat.com: add __attribute__, coding style cleanups]
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Apr 2008 11:46:26 +0000 (13:46 +0200)]
mount: remove built-in support for background mounts
EX_BG is archaism from old integrated NFS code. The built-in NFS code
has been removed in the previous version and all "bg" stuff is handled
by /sbin/mount.nfs. It seems we can remove all "bg" stuff from
mount(8).
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 31 Mar 2008 13:45:11 +0000 (15:45 +0200)]
Revert "script: improve quiet mode"
This reverts commit
7baec9a5612358559d1556113657223a64e373d1 .
Note, scriptreplay(8) expects the "Script started on.." line. We cannot remove
this message...
LaMont Jones [Sat, 29 Mar 2008 21:31:56 +0000 (15:31 -0600)]
Merge branch 'stable/v2.13'
LaMont Jones [Sat, 29 Mar 2008 21:28:53 +0000 (15:28 -0600)]
Merge commit 'origin/master'
Karel Zak [Wed, 26 Mar 2008 14:48:46 +0000 (15:48 +0100)]
docs: cleanup DEPRECATED file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Mar 2008 22:47:02 +0000 (23:47 +0100)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Mar 2008 22:36:28 +0000 (23:36 +0100)]
docs: add v2.14 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Mar 2008 22:04:48 +0000 (23:04 +0100)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Mar 2008 21:59:47 +0000 (22:59 +0100)]
ldattach: add NLS support
Signed-off-by: Karel Zak <kzak@redhat.com>
Andrzej Krzysztofowicz [Tue, 25 Mar 2008 21:42:31 +0000 (22:42 +0100)]
po: add pl.po (from translationproject.org)
Mikel Olasagasti [Tue, 25 Mar 2008 21:42:31 +0000 (22:42 +0100)]
po: add eu.po (from translationproject.org)
Clytie Siddall [Tue, 25 Mar 2008 21:42:31 +0000 (22:42 +0100)]
po: update vi.po (from translationproject.org)
Maxim V. Dziumanenko [Tue, 25 Mar 2008 21:42:31 +0000 (22:42 +0100)]
po: update uk.po (from translationproject.org)
Nilgün Belma Bugüner [Tue, 25 Mar 2008 21:42:31 +0000 (22:42 +0100)]
po: update tr.po (from translationproject.org)
Daniel Nylander [Tue, 25 Mar 2008 21:42:31 +0000 (22:42 +0100)]
po: update sv.po (from translationproject.org)
Simon Mihevc [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update sl.po (from translationproject.org)
Pavel Maryanov [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update ru.po (from translationproject.org)
Rodrigo Stulzer Lopes [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update pt_BR.po (from translationproject.org)
Benno Schulenberg [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update nl.po (from translationproject.org)
Daisuke Yamashita [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update ja.po (from translationproject.org)
Marco Colombo [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update it.po (from translationproject.org)
Arif E. Nugroho [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update id.po (from translationproject.org)
Gabor Kelemen [Tue, 25 Mar 2008 21:42:30 +0000 (22:42 +0100)]
po: update hu.po (from translationproject.org)
Michel Robitaille [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update fr.po (from translationproject.org)
Meelis Roos [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update et.po (from translationproject.org)
Santiago Vila Doncel [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update es.po (from translationproject.org)
Michael Piefel [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update de.po (from translationproject.org)
Claus Hindsgaul [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update da.po (from translationproject.org)
Petr Pisar [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update cs.po (from translationproject.org)
Josep Puigdemont [Tue, 25 Mar 2008 21:42:29 +0000 (22:42 +0100)]
po: update ca.po (from translationproject.org)
Karel Zak [Tue, 25 Mar 2008 21:42:06 +0000 (22:42 +0100)]
build-sys: release++
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Sat, 22 Mar 2008 21:17:44 +0000 (15:17 -0600)]
meta: Drop bashism in preinst.
There was an ancient check in preinst (making sure predepends support is
present in dpkg), which was bash-specific. And _so_ not needed any more.
Addresses-Debian-Bug: 472248
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Sat, 22 Mar 2008 19:22:24 +0000 (13:22 -0600)]
Merge branch 'stable/v2.13'
LaMont Jones [Sat, 22 Mar 2008 19:21:31 +0000 (13:21 -0600)]
Merge commit 'origin/master'
LaMont Jones [Fri, 21 Mar 2008 16:18:31 +0000 (10:18 -0600)]
changelog: release
Kees Cook [Thu, 20 Mar 2008 08:24:03 +0000 (01:24 -0700)]
swapon: Reinitialize software suspend areas to avoid future corruption.
This is based on the earlier swsuspend re-init patch carried by
RedHat, SuSE, and Ubuntu. It has been updated to include passing
the known UUID to mkswap, and fixing the fstype name.
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Mar 2008 14:23:16 +0000 (15:23 +0100)]
partx: fix compiler warnings
dos.c:44: warning: pointer targets in assignment differ in signedness
dos.c:93: warning: pointer targets in assignment differ in signedness
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Mar 2008 14:06:29 +0000 (15:06 +0100)]
chfn: fix compiler warnings in selinux stuff
selinux_utils.c:16: warning: assignment discards qualifiers from pointer target type
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Mar 2008 13:57:40 +0000 (14:57 +0100)]
mkfs.minix: clean up gcc warnings
mkfs.minix.c:199: warning: ‘count_blocks’ defined but not used
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Mar 2008 13:54:06 +0000 (14:54 +0100)]
mkswap: fix compiler warnings
mkswap.c:529: warning: pointer targets in assignment differ in signedness
mkswap.c:531: warning: pointer targets in assignment differ in signedness
mkswap.c:550: warning: pointer targets in passing argument 1 of `uuid_parse' differ in signedness
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Mar 2008 13:45:33 +0000 (14:45 +0100)]
swapon: remove unnecessary myrealpath() call
Signed-off-by: Karel Zak <kzak@redhat.com>
Kees Cook [Thu, 20 Mar 2008 08:24:03 +0000 (01:24 -0700)]
swapon: Reinitialize software suspend areas to avoid future corruption.
This is based on the earlier swsuspend re-init patch carried by
RedHat, SuSE, and Ubuntu. It has been updated to include passing
the known UUID to mkswap, and fixing the fstype name.
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Mar 2008 12:50:08 +0000 (13:50 +0100)]
build-sys: cleanup "x$foo" usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Mar 2008 23:53:24 +0000 (00:53 +0100)]
build-sys: use ncursesw (wide version) when possibe
Detect ncursesw and use it in place of ncurses when possible
(default). Allow people to use classic (non-wide) version by
--with-ncurses or disable all ncurses/ncursesw support by
--without-ncurses.
Co-Author: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Mar 2008 23:34:49 +0000 (00:34 +0100)]
build-sys: add VARSUFFIX to UTIL_CHECK_LIB
The UTIL_CHECK_LIB macro follows the default autoconf behaviour and
generates have_<libname> and HAVE_LIB<LIBNAME> variables.
Some libraries are substitutional (e.g. ncurses and ncursesw). It would be
nice to generate for that libraries the same HAVE_ variables independently
on a library name.
This patch adds optional VARSUFFIX option to UTIL_CHECK_LIB, so the final
variables are have_<varsuffix> and HAVE_LIB<VARSUFFIX>.
For example:
UTIL_CHECK_LIB(yyy, func) generates have_yyy and HAVE_LIBYYY
UTIL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Mar 2008 10:43:10 +0000 (11:43 +0100)]
docs: refresh TODO list
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Thu, 13 Mar 2008 15:55:49 +0000 (09:55 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
disk-utils/mkswap.8
disk-utils/mkswap.c
LaMont Jones [Thu, 13 Mar 2008 15:51:06 +0000 (09:51 -0600)]
Merge commit 'origin/master'
Karel Zak [Wed, 12 Mar 2008 13:07:28 +0000 (14:07 +0100)]
docs: add note about static linking
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 12 Mar 2008 11:28:50 +0000 (12:28 +0100)]
mount: remove useless if-before-my_free, define my_free as a macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Jim Meyering [Wed, 12 Mar 2008 10:42:16 +0000 (11:42 +0100)]
remove useless if-before-free tests.
E.g., in this example, the "if (p)" test is useless.
if (p)
free (p);
I've been removing such tests systematically.
Here's where I proposed it to the git folks, along with justification
for why it's ok to perform this transformation, these days (no one
uses SunOS4 anymore):
http://thread.gmane.org/gmane.comp.version-control.git/74187
Signed-off-by: Jim Meyering <meyering@redhat.com>
Tilman Schmidt [Mon, 10 Mar 2008 13:20:26 +0000 (14:20 +0100)]
ldattach: new command
Add an ldattach(8) utility program similar to the one in OpenBSD.
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
LaMont Jones [Sat, 8 Mar 2008 23:37:48 +0000 (16:37 -0700)]
Merge commit 'origin/master'
LaMont Jones [Fri, 7 Mar 2008 03:34:08 +0000 (20:34 -0700)]
changelog: release
Hamish Coleman [Mon, 3 Mar 2008 16:52:59 +0000 (09:52 -0700)]
agetty: make username-in-uppercase feature optional (off by default.)
The following patch makes the username-in-upper-case feature optional.
I have chosen to make it default to off since this feature was designed
to cater for serial terminals that were last sold almost 30 years ago,
thus the likelyhood that anyone will need this feature turned on is
vanishingly small.
Addresses-Debian-Bug: 156242
Signed-off-by: Hamish Coleman <hamish@zot.org>
Signed-off-by: LaMont Jones <lamont@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 Mar 2008 14:43:41 +0000 (15:43 +0100)]
mount: don't canonicalize LABEL= or UUID= spec
Signed-off-by: Karel Zak <kzak@redhat.com>