Changes between v2.13-rc2 and v2.13-rc3 --------------------------------------- commit c986042898867cf1b81dc134f75c6cdd4fea1a9b Author: Karel Zak Date: Wed Aug 8 00:42:29 2007 +0200 tests: add warning "For development purpose only." Signed-off-by: Karel Zak commit a21adf48cd1add58d317e2165a7e4b4d10047dd4 Author: Karel Zak Date: Wed Aug 8 00:15:52 2007 +0200 build-sys: release++ Increment release number to v2.13-rc3. Signed-off-by: Karel Zak commit 8933e1b059970d2ca282cf07efc1017d5b3a495a Author: Karel Zak Date: Wed Aug 8 00:13:54 2007 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak commit 9cf0eb907060777ad5287ca021cd8055563c24de Author: Karel Zak Date: Wed Aug 8 00:07:57 2007 +0200 docs: update ReleaseNotes Signed-off-by: Karel Zak commit bd18614b5965075ae2ec446be5e7130d0ebad15f Author: Karel Zak Date: Tue Aug 7 23:34:52 2007 +0200 po: update po/ stuff Signed-off-by: Karel Zak commit 12ac2bbee523806fc9fa7a712d336eaeb5b6e508 Author: Karel Zak Date: Tue Aug 7 12:03:53 2007 +0200 swapon: cleanup fsprobe_*() usage This patch clean ups code and avoids duplicate calling of fsprobe functions. Signed-off-by: Karel Zak commit 4ee7bde1441fa7ea8f85d05fc2d08d7dc5a24c1f Author: LaMont Jones Date: Sat Aug 4 18:04:11 2007 -0600 swapoff: correctly handle UUID= and LABEL= identifiers While parsing /etc/fstab, swapoff did not make provision for UUID= and LABEL= identifiers. Added logic similar to swapon -a code. Signed-off-by: Kel Modderman Signed-off-by: LaMont Jones commit 35eca7d577e01ad5145fb454a64006a2a9eb5dcb Author: Attila Áfra Date: Mon Aug 6 15:48:37 2007 +0300 mount: fix incorrect behavior when more than one fs type is specified "mount" may fail when more than one file system type is specified, and the requested access mode is read/write, but the device is read-only. The error message is: "mount: wrong fs type, bad option, bad superblock on...". It works only if the correct file system type is the last item in the comma separated list. This is because when it tries to mount the file system again in read-only mode, the "types" parameter passed to the "try_mount_one" function contains only the last item instead of the entire list. For example, you cannot mount a UDF CD/DVD with "-t udf,iso9660" if you don't also add the read-only option. This means that some Linux distributions with the default configuration may not be able to mount UDF disks automatically (e.g. Ubuntu Dapper - Gutsy Tribe 3). Signed-off-by: Attila Áfra Signed-off-by: Karel Zak commit f8a9670f14f419a6ff73c5874c4d8cff4b4de5f7 Author: Karel Zak Date: Tue Aug 7 00:46:46 2007 +0200 tests: add script(1) race condition test Signed-off-by: Karel Zak commit 1f58c445c6805c1a611a7eb1cde0ced633c40b6f Author: Karel Zak Date: Tue Aug 7 00:36:31 2007 +0200 script: fix race conditions script(1) uses three processes (doinput, dooutput and doshell). It's possible that the shell process is finished before the input and output processes are completely initialized. For example: $ script -c "printf Bingo" In particular case the output and input processes read/write data from shell process in time when the shell process is already done -- so it hangs on read(). The second problem is that the output process can finish although there are unread data from finished shell process -- an output in the typescript file and on terminal is incomplete! script(1) has to pass: $ for i in `seq 1 1000`; do script -q -c "printf 'Bingo\n'"; done | grep -c Bingo 1000 without problems. Signed-off-by: Karel Zak commit a512390d9296ac5183cde1c2ca9e5fd9158ccf5e Author: Karel Zak Date: Thu Aug 2 14:23:38 2007 +0200 mkfs: remove nonsense from man page Signed-off-by: Karel Zak commit 1dea05a811ffe81ba647adf0f6942917574c98e1 Author: Karel Zak Date: Wed Aug 1 15:47:33 2007 +0200 blockdev: use LU and LLU for BLKGETSIZE and BLKGETSIZE64 The "blkockdev --getsize" returns negative numbers on i386 for 1Tb devices. The BLKGETSIZE and BLKGETSIZE64 have to use unsigned long and unsigned long long. $ blockdev --getsize /dev/mapper/huge -2147483648 Signed-off-by: Karel Zak commit 3281d4268a192cbd1951347a4a857b94428dc958 Author: Karel Zak Date: Wed Aug 1 15:06:18 2007 +0200 blockdev: fix "blockdev --getsz" for large devices The "blockdev --getsz" command doesn't try to use BLKGETSIZE64 when previous BLKGETSIZE failed with EFBIG. This patch fixes this problem. Signed-off-by: Karel Zak commit 1002156a0667a9c907465db39e758f74152e73e4 Author: Flávio Leitner Date: Tue Jul 31 12:42:14 2007 +0200 mount: should set proper permissions on locktime When creating the "/etc/mtab~" lockfile (specifically 'linktargetfile' in the lock_mtab function), the file is created with incorrect permissions ('000') which necessitates root to leverage CAP_DAC_OVERRIDE. If proper file modes (it would appear 0600 would be sufficient) were used in the open this would function properly with CAP_DAC_OVERRIDE revoked. $ sysctl -w kernel.cap-bound=0xf7fd7df5 $ mount -t tmpfs /dev/swap /mnt can't open lock file /etc/mtab~: Permission denied (use -n flag to override) Signed-off-by: Flávio Leitner Signed-off-by: Karel Zak commit 2018629905d3d881ff3fddf76552b6e79091f2b8 Author: Matthias Koenig Date: Wed Jul 18 16:15:46 2007 +0200 disk-utils: let mkfs tools open with O_EXCL Let mkswap, mkfs.bfs, mkfs.minix open with O_EXCL if used on block devices to prevent writing to the device even if they are busy (mounted). Unfortunately, O_EXCL has zero effect for 2.4 kernels where in-kernel code doesn't use O_EXCL-like access locks. (Tested on RHEL3.) Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak commit 8e522bb7e9c051a5123e05d8af302b0a1709fe98 Author: Karel Zak Date: Fri Jul 27 12:12:00 2007 +0200 remove hardcoded package name from some utils We have PACKAGE_STRING in config.h that includes package name and version. It's better to use this macro that hardcoded strings. Signed-off-by: Karel Zak commit 9645b5cbe989e7c11d4481573e9f29088b09970d Author: Karel Zak Date: Thu Jul 26 15:21:50 2007 +0200 build-sys: fix directories in EXTRA_DIST Signed-off-by: Karel Zak commit 3821f4888a5ae37443fecfca861c35d28092c0ed Author: Karel Zak Date: Thu Jul 26 14:39:03 2007 +0200 mount: fix -f -o remount Bug: $ mount -fv / -o remount mount: according to mtab, /dev/sda3 is already mounted on / Signed-off-by: Karel Zak commit aa450e4023eaefd6137a15b1b239cffcf723d028 Author: LaMont Jones Date: Tue Jul 17 17:48:10 2007 -0600 rdev: should be delivered on amd64 as well as i386. Signed-off-by: LaMont Jones Signed-off-by: Karel Zak commit 503e4f0c5b49fa556d4b0c70311d88ac8cc6df9a Author: LaMont Jones Date: Tue Jul 17 17:47:33 2007 -0600 agetty: fix short malloc in initstring handling Signed-off-by: LaMont Jones commit 490def438b9288e3ba90ef98f3b79f41ae320eb5 Author: Karel Zak Date: Wed Jul 25 18:50:01 2007 +0200 docs: add rdev(8) between deprecated utils Signed-off-by: Karel Zak commit 1eca726f6526ffe88742d99b0c9edeeec8e8d826 Author: Karel Zak Date: Wed Jul 25 18:45:01 2007 +0200 build-sys: add ${AC,AP,AM,AH}_OPTS to autogen.sh With this patch, you can define autotool options when you need to generate build-system. For example: $ AM_OPTS="--copy" ./autogen.sh Signed-off-by: Karel Zak commit 6a4c63d9d90b24d770f887f8cd89fd20f8378267 Author: Moritz Muehlenhoff Date: Thu Jul 19 00:29:13 2007 +0200 agetty: 8 bit characters on the Linux console lead to input corruption 8 bit characters on the Linux console lead to input corruption (e.g. German umlauts). This is easily reproducable by inserting a login name with umlaut and typing backspace afterwards. agetty supports tty parity, which leads to getty treating these characters as a 7bit char with set parity. This patch by Samuel Thibault adds a new option -8 which disables parity detection for ttys not used for serial logins. | Note: With this patch, 8bit characters are just silently dropped (that's | the expected getty behavior), this is quite neat since you then don't | even need to backspace your 8bit characters :) Signed-off-by: LaMont Jones commit e8953ba8b9888b9a549cb370643ab9faf63fd272 Author: Pádraig Brady Date: Wed Jul 25 15:36:37 2007 +0100 look: man page clarification * misc-utils/look.1: Clarify the default state of the -d and -f options Signed-Off-By: Pádraig Brady commit f88c89db4fe96d0de7e889c3d1a6ea770bc3eaa3 Author: Karel Zak Date: Wed Jul 25 16:55:25 2007 +0200 mkswap: fix signedness problems and remove obsolete code The UUID is unsigned char * Signed-off-by: Karel Zak commit 8dbfe5a1fe5b45b77c39c617ebcee73e0b9b5efd Author: Matthias Koenig Date: Tue Jul 17 16:00:32 2007 +0200 ionice: cleanup usage for idle class The idle class has no class data. It will print a warning if a prio argument is given for it, since this will be ignored. Output for idle class will not contain prio data. Signed-off-by: Matthias Koenig commit 8bbbb5e3ee2ca944b82b092a08ba77ac27e5774f Author: Matthias Koenig Date: Tue Jul 24 19:29:39 2007 +0200 mount: update xfs mount options Signed-off-by: Matthias Koenig commit 7baec9a5612358559d1556113657223a64e373d1 Author: Karel Zak Date: Tue Jul 24 15:22:57 2007 +0200 script: improve quiet mode script(1) is not consistent and writes "Script started on.." to scriptfile, although the others messages are ignored when running with '-q'. Signed-off-by: Karel Zak commit 30294a2fe894bc1a3c71faf29e54f52dcbffc67e Author: Matthias Koenig Date: Wed Jul 18 16:15:45 2007 +0200 mkswap: default to V1 in any case mkswap(8) enforces to use v0 swap format when pagesize > 16kB. (use case might be ppc64 with CONFIG_PPC_64K_PAGES). As version 0 swap is not supported anymore by recent kernels, the behaviour in this case is rather strange. Here is a testcase: for i in 4 8 16 32 64; do mkswap -p `expr $i \* 1024` ./swap.file; done Setting up swapspace version 1, size = 4294963 kB Using user-specified page size 8192, instead of the system values 4096/4096 Setting up swapspace version 1, size = 4294959 kB Using user-specified page size 16384, instead of the system values 4096/4096 Setting up swapspace version 1, size = 4294950 kB Using user-specified page size 32768, instead of the system values 4096/4096 Setting up swapspace version 0, size = 4294934 kB Using user-specified page size 65536, instead of the system values 4096/4096 Setting up swapspace version 0, size = 4294901 kB Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak commit 5a3009cad69b3eacc46f8bd729fd473500c98c85 Author: Matthias Koenig Date: Wed Jul 18 16:15:44 2007 +0200 readprofile: fix on ppc64 Fix inconsistency between kernel profiling and readprofile. The range of kernel profiling is between _stext and _etext, and readprofile tries to extract profiling for all the symbols in /boot/System.map-2.6.16.11-7-ppc64 from /proc/profile, but there are more symbols in /boot/System.map-2.6.16.11-7-ppc64 than those between _stext and _etext. Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak commit 0c1a6f8835bc94455e24c8b818518283959c80b5 Author: LaMont Jones Date: Tue Jul 17 23:32:03 2007 -0600 manpage typos Signed-off-by: LaMont Jones commit 7965463a99565545eb41a4d9e3d3c3a4942820e4 Author: LaMont Jones Date: Tue Jul 17 22:34:04 2007 -0600 mount: mention hfsplus in mount manpage Signed-off-by: LaMont Jones commit dd0d1654792158b848d01b4c0e14a38847b485ef Author: LaMont Jones Date: Tue Jul 17 22:43:15 2007 -0600 logger: use snprintf instead of sprintf in logger.c Signed-off-by: LaMont Jones Signed-off-by: Karel Zak commit 19eecef2f9d98622e71c7a8f397807a6367c5333 Author: Karel Zak Date: Mon Jul 23 23:55:37 2007 +0200 fdisk: cleanup partname.c Signed-off-by: Karel Zak commit 4fd4e8d35753f9d145b902985d8bd75e54efca63 Author: Matthias Koenig Date: Tue Jul 17 18:07:11 2007 +0200 fdisk: add support for udev persistent device names udev names partitions with the extension "-partN" (where N is a partition number). Signed-off-by: Matthias Koenig commit a2c6354ff7c2f8787d6a3b55631eda661b310026 Author: Karel Zak Date: Fri Jul 20 15:08:54 2007 +0200 tests: use $AWK based on configure results The hardcoded "gawk" seems like a bad idea. Signed-off-by: Karel Zak commit 93a024e4dbfa3dce2d6392c01dff151b2cefb765 Author: Karel Zak Date: Fri Jul 20 14:43:49 2007 +0200 tests: add license notices, change from gplv2-only to gplv2-or-later The previous "gplv2-only" was copy&past mistake. This re-licensing is correct -- there is not any other contributor to this code. Signed-off-by: Karel Zak commit 92f2c23e682a1b169729db9ec53924fa9cb24872 Author: Karel Zak Date: Fri Jul 20 14:43:49 2007 +0200 tests: add license notices, change from gplv2-only to gplv2-or-later The previous "gplv2-only" was copy&past mistake. This re-licensing is correct -- there is not any other contributor to this code. Signed-off-by: Karel Zak commit 392f76cf9a0a1f8699891e3d32c6c1bd373992cb Author: Gabriel Barazer Date: Fri Jul 20 17:11:38 2007 +0200 build-sys: missing header when NLS is disabled Compiling utils fail when disable NLS with the --disable-nls switch. "mkfs.c:46: error: 'LC_ALL' undeclared (first use in this function)" It is due to a missing locale.h header : When enabling NLS, nls.h includes libintl.h, which in turn includes locale.h. When disabling NLS, libintl.h isn't anymore included nor locale.h, which is needed for the setlocale() calls. Signed-off-by: Gabriel Barazer Signed-off-by: Karel Zak commit d6ca1ec176c38ba3e57246aabd55ce20b4e971cf Author: Mike Frysinger Date: Tue Jul 17 16:47:43 2007 -0400 tests: use relative paths when sourcing files The "." command will search $PATH before $PWD if the argument specified contains no path qualifiers which can cause problems if you happen to have something in $PATH named the same. The attached patch changes all of the ". " in the tests subdir. Signed-off-by: Mike Frysinger commit cf0a5736c8cfc9acc63507dca33c0d49efbbc811 Author: Karel Zak Date: Thu Jul 19 00:38:00 2007 +0200 cytune: remove linux/tty.h inclusion The file is empty. It's __KERNEL__ only. Signed-off-by: Karel Zak commit 22d36665c45dcaa18677fd8a8cfe6e44c21b79b5 Author: Karel Zak Date: Wed Jul 18 23:33:55 2007 +0200 build-sys: remove asm/page.h test Signed-off-by: Karel Zak commit 9dc801d2b7073004679c4dc3f7a60b623bbfcbd5 Author: Karel Zak Date: Wed Jul 18 10:46:42 2007 +0200 build-sys: add warning when libuuid is not found Signed-off-by: Karel Zak