Changes between v2.19-rc1 and v2.19-rc2 --------------------------------------- commit e4764e8bb549afcd3e79cc75d9b0b6939900f678 Author: Karel Zak Date: Tue Jan 25 13:10:23 2011 +0100 build-sys: release++ (v2.19-rc2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit e74007ac37623235e0886a6be85700a955a6c7c1 Author: Karel Zak Date: Tue Jan 25 12:59:47 2011 +0100 docs: update v2.19 ReleaseNotes Signed-off-by: Karel Zak docs/v2.19-ReleaseNotes | 77 ++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 73 insertions(+), 4 deletions(-) commit c3a4c6deccb94295fa96f10a66e8421b85f4f14f Author: Karel Zak Date: Tue Jan 25 12:46:05 2011 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit ee70cb202e4645caf81e78c75d89c4cfd70c65a5 Author: Karel Zak Date: Tue Jan 25 12:44:43 2011 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1660 ++++++++++++++++++++++++++++------------------------- po/cs.po | 1669 ++++++++++++++++++++++++++++------------------------- po/da.po | 1660 ++++++++++++++++++++++++++++------------------------- po/de.po | 1662 ++++++++++++++++++++++++++++------------------------- po/es.po | 1660 ++++++++++++++++++++++++++++------------------------- po/et.po | 1659 ++++++++++++++++++++++++++++------------------------- po/eu.po | 1640 ++++++++++++++++++++++++++++------------------------ po/fi.po | 1662 ++++++++++++++++++++++++++++------------------------- po/fr.po | 1665 ++++++++++++++++++++++++++++------------------------- po/gl.po | 1647 ++++++++++++++++++++++++++++------------------------- po/hu.po | 1662 ++++++++++++++++++++++++++++------------------------- po/id.po | 1664 ++++++++++++++++++++++++++++------------------------- po/it.po | 1662 ++++++++++++++++++++++++++++------------------------- po/ja.po | 1669 ++++++++++++++++++++++++++++------------------------- po/nl.po | 1668 ++++++++++++++++++++++++++++------------------------- po/pl.po | 1670 ++++++++++++++++++++++++++++------------------------- po/pt_BR.po | 1660 ++++++++++++++++++++++++++++------------------------- po/ru.po | 1660 ++++++++++++++++++++++++++++------------------------- po/sl.po | 1660 ++++++++++++++++++++++++++++------------------------- po/sv.po | 1662 ++++++++++++++++++++++++++++------------------------- po/tr.po | 1660 ++++++++++++++++++++++++++++------------------------- po/uk.po | 1660 ++++++++++++++++++++++++++++------------------------- po/util-linux.pot | 1620 +++++++++++++++++++++++++++------------------------ po/vi.po | 1669 ++++++++++++++++++++++++++++------------------------- po/zh_CN.po | 1646 ++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 1670 ++++++++++++++++++++++++++++------------------------- 26 files changed, 23058 insertions(+), 20088 deletions(-) commit b21f9116713e2a0c84c1c6b5ef11e6d6d46e4233 Author: Karel Zak Date: Tue Jan 25 11:36:25 2011 +0100 tests: update lscpu tests on x86_64 Signed-off-by: Karel Zak tests/expected/lscpu/lscpu-x86_64-hpdl585 | 2 +- tests/expected/lscpu/lscpu-x86_64-ibme326m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f4f61d8f72634dd37d0ea27af804922d4d9db3f1 Author: Karel Zak Date: Tue Jan 25 11:19:00 2011 +0100 libmount: compile tests Signed-off-by: Karel Zak shlibs/mount/src/Makefile.am | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 395801be436760ab0fb16e9221559a64d6c64ba7 Author: Sami Kerola Date: Sun Jan 23 15:40:19 2011 +0100 column: data type mismatch compiler warning fixes Following warnings will longer appear when one will compile with gcc flags -Wall -Wextra -pedantic column.c:364:2: warning: comparison of unsigned expression < 0 is always false column.c:369:2: warning: comparison of unsigned expression < 0 is always false Signed-off-by: Sami Kerola text-utils/column.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 2897f29a10ba95a96af2139b982ddaddfd49a60d Author: Sami Kerola Date: Sun Jan 23 15:40:18 2011 +0100 cfdisk: data type mismatch, and other, compiler warning fixes Following warnings will longer appear when one will compile with gcc flags -Wall -Wextra -pedantic cfdisk.c:475:3: warning: comparison of unsigned expression < 0 is always false cfdisk.c:487:16: warning: comparison between signed and unsigned integer expressions cfdisk.c:492:14: warning: comparison between signed and unsigned integer expressions cfdisk.c:565:19: warning: comparison between signed and unsigned integer expressions cfdisk.c:569:19: warning: comparison between signed and unsigned integer expressions cfdisk.c:1070:14: warning: comparison between signed and unsigned integer expressions cfdisk.c:1568:5: warning: missing initializer cfdisk.c:1568:5: warning: (near initialization for 'tmp_ext.volume_label') mbsalign.c:131:2: warning: comparison of unsigned expression >= 0 is always true Signed-off-by: Sami Kerola fdisk/cfdisk.c | 15 ++++++++++----- lib/mbsalign.c | 6 +++--- 2 files changed, 13 insertions(+), 8 deletions(-) commit 5a669b12f84f85f7ace13712b20ce9592a08f157 Author: Karel Zak Date: Tue Jan 25 01:11:37 2011 +0100 libmount: fix user= usage Signed-off-by: Karel Zak shlibs/mount/src/context.c | 4 +++- shlibs/mount/src/context_mount.c | 4 ++-- shlibs/mount/src/optstr.c | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit f501724264bec87ecf717b5ab2e0ccafc50039d3 Author: Karel Zak Date: Tue Jan 25 00:26:47 2011 +0100 libmount: improve status check, minor cleanups Signed-off-by: Karel Zak shlibs/mount/src/context.c | 25 +++++++++++++++++++++++-- shlibs/mount/src/context_mount.c | 5 +++-- shlibs/mount/src/fs.c | 30 +++++++++++++++--------------- shlibs/mount/src/libmount.h.in | 1 + shlibs/mount/src/libmount.sym | 1 + shlibs/mount/src/utils.c | 2 +- 6 files changed, 44 insertions(+), 20 deletions(-) commit 1f51db365f83309eb34de781fbae60b49098d3b0 Author: Karel Zak Date: Tue Jan 25 00:24:17 2011 +0100 include: [tt] enlarge output buffer Signed-off-by: Karel Zak include/tt.h | 1 + lib/tt.c | 25 +++++++++++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) commit 0bbeaccb7aad5257f4e8d11324f4aecd7cbf3f51 Author: Karel Zak Date: Mon Jan 24 14:18:31 2011 +0100 libmount: rename mount.sym -> libmount.sym Signed-off-by: Karel Zak shlibs/mount/src/Makefile.am | 6 +- shlibs/mount/src/libmount.sym | 194 +++++++++++++++++++++++++++++++++++++++++ shlibs/mount/src/mount.sym | 194 ----------------------------------------- 3 files changed, 197 insertions(+), 197 deletions(-) commit e95b3ca33cd5563424216d5da4119ce2fa2515cf Author: Karel Zak Date: Mon Jan 24 13:59:17 2011 +0100 libmount: add mnt_context_get_{source,target,fstype} Signed-off-by: Karel Zak shlibs/mount/docs/libmount-sections.txt | 5 +++- shlibs/mount/src/context.c | 46 ++++++++++++++++++++++++++++++- shlibs/mount/src/libmount.h.in | 4 +++ shlibs/mount/src/mount.sym | 5 +++- 4 files changed, 57 insertions(+), 3 deletions(-) commit 9b33ae9a15664aae0dd71cd9aa129a592bdc26c8 Author: Francesco Cosoleto Date: Mon Jan 24 06:41:58 2011 +0100 tests: ignore device name used in some fdisk and blkid tests Signed-off-by: Francesco Cosoleto tests/expected/blkid/md-raid1-part | 6 +++--- tests/expected/fdisk/align-512-4K | 16 ++++++++-------- tests/expected/fdisk/align-512-4K-63 | 16 ++++++++-------- tests/expected/fdisk/align-512-4K-md | 6 +++--- tests/expected/fdisk/align-512-512-topology | 16 ++++++++-------- tests/ts/blkid/md-raid1-part | 3 ++- tests/ts/fdisk/align-512-4K | 3 ++- tests/ts/fdisk/align-512-4K-63 | 3 ++- tests/ts/fdisk/align-512-4K-md | 3 ++- tests/ts/fdisk/align-512-512-topology | 3 ++- 10 files changed, 40 insertions(+), 35 deletions(-) commit c845f12cacb870f22c91eef799debc33f7e802b8 Author: Francesco Cosoleto Date: Sun Jan 23 22:58:14 2011 +0100 fdisk: more meaningful error messages (use err.h) [kzak@redhat.com: - minor changes in error messages] Signed-off-by: Francesco Cosoleto Signed-off-by: Karel Zak fdisk/fdisk.c | 35 +++++++++++------------------------ 1 files changed, 11 insertions(+), 24 deletions(-) commit 52b38677e2963e92479d2ac88442c8acb01cb589 Author: Francesco Cosoleto Date: Sun Jan 23 22:51:21 2011 +0100 fdisk: use xalloc lib Signed-off-by: Francesco Cosoleto fdisk/fdisk.c | 21 ++++++--------------- fdisk/fdisk.h | 2 +- fdisk/fdisksgilabel.c | 3 ++- 3 files changed, 9 insertions(+), 17 deletions(-) commit 7c1db6b47ac31d94ff6f44bbb0cea281682666ca Author: Francesco Cosoleto Date: Sun Jan 23 22:51:20 2011 +0100 fdisk: replace fatal(usage) with a separate usage() function Signed-off-by: Francesco Cosoleto Signed-off-by: Karel Zak fdisk/fdisk.c | 51 ++++++++++++++++++++++++++------------------------- fdisk/fdisk.h | 2 +- 2 files changed, 27 insertions(+), 26 deletions(-) commit d5d6781c42f9ba14493ad5547b0a1e67b32331b6 Author: Jon Grant Date: Mon Jan 17 22:47:07 2011 +0000 fdisk: add exFAT to MBR partition type 0x7 Signed-off-by: Jon Grant fdisk/i386_sys_types.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 282a58fd663547d75189734bc0943d6334cf6b7f Author: Karel Zak Date: Sun Jan 23 22:37:22 2011 +0100 libmount: _SC_GETPW_R_SIZE_MAX portability issue Addresses: https://bugs.gentoo.org/show_bug.cgi?id=350340 Reported-by: Alan Hourihane Signed-off-by: Karel Zak shlibs/mount/src/utils.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit a94853966e8e19ebba27e548005ff41fc64bf205 Author: Sami Kerola Date: Wed Jan 19 09:58:03 2011 +0100 remaining util-linux-ng to util-linux Signed-off-by: Sami Kerola partx/partx.c | 2 +- sys-utils/ipcmk.1 | 4 ++-- tests/ts/partx/partx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 01f1882176470261d100da95dcbf11d14781d5b5 Author: Davidlohr Bueso Date: Tue Jan 18 11:04:32 2011 -0300 wall: document -n option Signed-off-by: Davidlohr Bueso login-utils/wall.1 | 3 +++ login-utils/wall.c | 1 - 2 files changed, 3 insertions(+), 1 deletions(-) commit d58c47d9a49805157ff0669afe02fa4f9d8adf78 Author: Fabian Groffen Date: Fri Jan 21 17:48:14 2011 +0100 include: emulate dirfd when necessary dirfd is not available on Solaris 10, it is available on latest OpenSolaris releases though. Do some autoconf trickery to determine if providing an alternative dirfd function is necessary and possible. shlibs/blkid/src/read.c: Do not define _XOPEN_SOURCE to 600, or DIR will lose it's dd_fd member again. Rearrange defines and includes to make sense per comments, and not conflict on Solaris. Signed-off-by: Fabian Groffen configure.ac | 24 ++++++++++++++++++++++++ include/c.h | 9 +++++++++ shlibs/blkid/src/read.c | 12 +++++++----- 3 files changed, 40 insertions(+), 5 deletions(-) commit 3e27b34eb039911e9c0160e2dbc0a841fa70a570 Author: Karel Zak Date: Sun Jan 23 21:28:19 2011 +0100 lib: [xalloc] don't use hardcoded return code Signed-off-by: Karel Zak include/xalloc.h | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) commit 68164f6c308af1f53567b627876cd1bc8afe8817 Author: Karel Zak Date: Sat Jan 22 00:09:34 2011 +0100 libmount: cleanup API, remove typedef - replace mnt_ with libmnt_ prefix for types (the old prefix was too generic) - remove typedef, use struct everywhere - use shorter functions names (s/userspace/user/; s/mountflags/mflags/) Signed-off-by: Karel Zak misc-utils/findmnt.c | 78 +++--- mount/fstab.c | 16 +- mount/fstab.h | 2 +- mount/mount.c | 10 +- mount/umount.c | 6 +- shlibs/mount/docs/libmount-sections.txt | 78 +++--- shlibs/mount/samples/mount.c | 18 +- shlibs/mount/src/cache.c | 53 ++-- shlibs/mount/src/context.c | 237 +++++++++--------- shlibs/mount/src/context_mount.c | 30 +- shlibs/mount/src/context_umount.c | 42 ++-- shlibs/mount/src/fs.c | 174 +++++++------- shlibs/mount/src/iter.c | 12 +- shlibs/mount/src/libmount.h.in | 424 ++++++++++++++++-------------- shlibs/mount/src/lock.c | 32 ++-- shlibs/mount/src/mount.sym | 70 +++--- shlibs/mount/src/mountP.h | 70 +++--- shlibs/mount/src/optmap.c | 18 +- shlibs/mount/src/optstr.c | 63 +++--- shlibs/mount/src/tab.c | 273 ++++++++++---------- shlibs/mount/src/tab_parse.c | 134 +++++----- shlibs/mount/src/tab_update.c | 146 ++++++------ shlibs/mount/src/test.c | 4 +- shlibs/mount/src/utils.c | 16 +- shlibs/mount/src/version.c | 4 +- 25 files changed, 1021 insertions(+), 989 deletions(-) commit 8c0797e702773730ca3c1cc93039d4f7ef89dd39 Author: Karel Zak Date: Thu Jan 20 15:32:40 2011 +0100 libmount: add functions for mount. helpers Signed-off-by: Karel Zak shlibs/mount/src/context.c | 16 +++++++++- shlibs/mount/src/context_mount.c | 62 +++++++++++++++++++++++++++++++++++-- shlibs/mount/src/libmount.h.in | 3 ++ shlibs/mount/src/mount.sym | 2 + shlibs/mount/src/mountP.h | 1 + 5 files changed, 79 insertions(+), 5 deletions(-) commit 2a1f429ad01dc00cd73f1f9ca39e6920687ea414 Author: Karel Zak Date: Wed Jan 19 23:51:12 2011 +0100 libmount: rename mount.h to libmount.h The mount.h file name is too generic. Signed-off-by: Karel Zak config/include-Makefile.am | 2 +- configure.ac | 2 +- misc-utils/findmnt.c | 2 +- mount/fstab.c | 2 +- mount/fstab.h | 2 +- shlibs/mount/.gitignore | 2 +- shlibs/mount/docs/Makefile.am | 2 +- shlibs/mount/mount.pc.in | 2 +- shlibs/mount/samples/mount.c | 3 +- shlibs/mount/src/Makefile.am | 8 +- shlibs/mount/src/libmount.h.in | 498 ++++++++++++++++++++++++++++++++++++++++ shlibs/mount/src/mount.h.in | 498 ---------------------------------------- shlibs/mount/src/mountP.h | 2 +- 13 files changed, 513 insertions(+), 512 deletions(-) commit dbde192307f899cfa1a6ea014eebbc58c0174a42 Author: Karel Zak Date: Wed Jan 19 22:11:55 2011 +0100 libmount: split mnt_context_do_mount() Signed-off-by: Karel Zak shlibs/mount/samples/mount.c | 2 +- shlibs/mount/src/context.c | 2 +- shlibs/mount/src/context_mount.c | 117 +++++++++++++++++++++++++++++++------- shlibs/mount/src/mount.h.in | 5 ++ shlibs/mount/src/mount.sym | 3 + shlibs/mount/src/mountP.h | 1 + 6 files changed, 108 insertions(+), 22 deletions(-) commit b6d50f6ebfaeef8c3e9808e96def56359eb6a44f Author: Karel Zak Date: Fri Jan 21 12:12:38 2011 +0100 mount: update ext{3,4} options in mount.8 Signed-off-by: Karel Zak mount/mount.8 | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 56 insertions(+), 2 deletions(-) commit bcf006d71f24100b9124ee58a8cfd93097426ad4 Author: Karel Zak Date: Fri Jan 21 01:00:18 2011 +0100 don't declare usage() without parametr Signed-off-by: Karel Zak login-utils/wall.c | 2 +- text-utils/col.c | 2 +- text-utils/hexsyntax.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 665c289a069493ad7f659c5c57765e246103c883 Author: Fabian Groffen Date: Tue Jan 18 17:52:07 2011 +0100 use uint32_t instead of u_int32_t Solaris doesn't have u_int32_t, use standards uint32_t instead Signed-off-by: Fabian Groffen login-utils/checktty.c | 11 ++++++----- shlibs/blkid/src/topology/evms.c | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) commit 0bf9d41da29a269556180b3107b3f439f1a9ecf1 Author: Fabian Groffen Date: Mon Jan 17 22:15:31 2011 +0100 build-sys: check for paths.h paths.h doesn't exist on Solaris Signed-off-by: Fabian Groffen configure.ac | 1 + include/pathnames.h | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) commit 0c3508bdf5040bb092078fe5806a89056e9edbbf Author: Karel Zak Date: Thu Jan 20 23:37:16 2011 +0100 libblkid: add blkdev.h to blkidP.h Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/config.c | 1 - shlibs/blkid/src/encode.c | 1 - shlibs/blkid/src/evaluate.c | 1 - shlibs/blkid/src/getsize.c | 1 - shlibs/blkid/src/probe.c | 1 - shlibs/blkid/src/superblocks/superblocks.c | 3 --- shlibs/blkid/src/topology/ioctl.c | 1 - 8 files changed, 1 insertions(+), 9 deletions(-) commit 3edaa2019bb15a3c2622e8bf910276965a5e60cd Author: Fabian Groffen Date: Mon Jan 17 22:00:35 2011 +0100 make _IO macros available on Solaris The _IO macro is defined in sys/ioccom.h on various platforms. However, on Solaris it isn't included by ioctl.h, so include it explicitly if available. Signed-off-by: Fabian Groffen configure.ac | 1 + include/blkdev.h | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) commit 960f668f17ae6bb9bd5edea1b9fe05ad4d5c2850 Author: Karel Zak Date: Thu Jan 20 23:16:41 2011 +0100 make major and minor available on Solaris Reported-by: Fabian Groffen Signed-off-by: Karel Zak include/blkdev.h | 4 ++++ shlibs/blkid/src/config.c | 3 --- shlibs/blkid/src/devname.c | 3 --- shlibs/blkid/src/evaluate.c | 3 --- shlibs/blkid/src/probe.c | 3 --- shlibs/blkid/src/save.c | 3 --- 6 files changed, 4 insertions(+), 15 deletions(-) commit 60cc9f9404dde852cc00fa05ff03108ac6ec31d8 Author: Fabian Groffen Date: Mon Jan 17 21:14:54 2011 +0100 build-sys: link with socketlibs when necessary To link an object which references socket functions, you need to link with -lsocket -lnsl on Solaris. Signed-off-by: Fabian Groffen configure.ac | 11 +++++++++++ shlibs/uuid/src/Makefile.am | 4 +++- 2 files changed, 14 insertions(+), 1 deletions(-) commit 5be1c0330b8ba239a7a25ff6ec840e3316ef68c7 Author: Fabian Groffen Date: Mon Jan 17 21:04:04 2011 +0100 build-sys: check for loff_t, it may not exist On some systems, loff_t does not exist. Define it as int64_t in that case. Signed-off-by: Fabian Groffen configure.ac | 1 + include/c.h | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) commit 68e9d35c5ee534d0834d13e38cbd85fbb59b7828 Author: Karel Zak Date: Wed Jan 19 17:22:28 2011 +0100 libmount: add mnt_context_is_* functions Signed-off-by: Karel Zak shlibs/mount/src/context.c | 93 +++++++++++++++++++++++++++++++++++++++++++ shlibs/mount/src/mount.h.in | 9 ++++ shlibs/mount/src/mount.sym | 10 ++++- 3 files changed, 111 insertions(+), 1 deletions(-) commit bded43d7ca85ac0b81e24c0bde36d306ae9add35 Author: Karel Zak Date: Wed Jan 19 09:42:28 2011 +0100 build-sys: add rpmatch.h to Makefile.am Signed-off-by: Karel Zak include/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit f633ad4e3155c45bc569e69a1ce2950b812ded87 Author: Karel Zak Date: Wed Jan 19 09:34:14 2011 +0100 lscpu: fix 64bit CPU detection Note that the code is still not able to detect 64bit on sparcs and ppc. Signed-off-by: Karel Zak sys-utils/lscpu.c | 53 +++++++++++++++++++++++++++++++++-------------------- 1 files changed, 33 insertions(+), 20 deletions(-) commit 5ddf7f4617ab3e89d823f77eee36e92d52c7a4e6 Author: Karel Zak Date: Tue Jan 18 12:26:17 2011 +0100 libmount: cleanup internal API Signed-off-by: Karel Zak shlibs/mount/src/mountP.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 89f56db1842e78bea0c6bc75028c3754489a9ad3 Author: Sami Kerola Date: Mon Jan 3 21:42:03 2011 +0100 mkfs.cramfs: use symbolic exit codes For some reason original author had defined symbolic exit codes, but had not use them. One could argue the symbolic exit codes for mkfs should go to local exit header which would be included to all commands that exit with non zero or one return code. Signed-off-by: Sami Kerola disk-utils/mkfs.cramfs.c | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) commit ca42435573ab8ea426bfbd0e533392b2d6985042 Author: Karel Zak Date: Mon Jan 17 17:03:25 2011 +0100 fdisk: add description for partition type 0x27 Reported-by: Jon Grant Signed-off-by: Karel Zak fdisk/i386_sys_types.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit eb811909ccebb1acc63ded5c1c87f7c892c0660c Author: Davidlohr Bueso Date: Mon Dec 6 11:10:59 2010 -0300 mkfs: general cleanups Use xalloc, remove unused headers, use EXIT_* constants. Signed-off-by: Davidlohr Bueso disk-utils/mkfs.c | 25 +++++++------------------ 1 files changed, 7 insertions(+), 18 deletions(-) commit 899e7d5a4989a1470f5b3a9422a270eeaf38178a Author: Petr Uzel Date: Fri Jan 14 14:36:12 2011 +0100 uuidd: mention -q in uuidd.8 Signed-off-by: Petr Uzel misc-utils/uuidd.8 | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 0aeb57aca31816ca5b93cc10ad0fb9d62ad805de Author: Fabian Groffen Date: Wed Jan 12 21:01:07 2011 +0100 build-sys: improve check for crypt Check for crypt.h existence, and use it if available over using unistd.h for which a certain feature level has to be set to export a definition for crypt. On Solaris this set causes a standards conflict in the headers, because at the time of this check C99 mode is already enabled, which implies certain standards non-compatible with _XOPEN_SOURCE. 92 #define _XOPEN_SOURCE 93 #include configure:16259: gcc -std=gnu99 -c -g -O2 conftest.c >&5 In file included from /usr/include/unistd.h:18, from conftest.c:93: /prefix/gentoo/usr/lib/gcc/i386-pc-solaris2.10/4.4.5/include-fixed/sys/feature_tests.h:341:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" configure.ac: improve crypt check login-utils/my_crypt.h: replace old GNU_LIBRARY check with autoconf define for crypt.h [kzak@redhat.com: - remove my_crypt.h] Signed-off-by: Fabian Groffen Signed-off-by: Karel Zak configure.ac | 13 ++++++++++++- login-utils/Makefile.am | 5 ++--- login-utils/chfn.c | 5 ++++- login-utils/chsh.c | 5 ++++- login-utils/login.c | 5 ++++- login-utils/my_crypt.h | 3 --- login-utils/newgrp.c | 5 ++++- simpleinit/simpleinit.c | 2 +- 8 files changed, 31 insertions(+), 12 deletions(-) commit aabe2441765c632bba697945491e3e0ac29ac886 Author: Fabian Groffen Date: Sat Jan 8 19:49:38 2011 +0100 build-sys: use WORDS_BIGENDIAN to determine platform byte-order Autoconf contains the right magic to determine the endianness on many platforms next to Linux. This reverses previous commits to move away from WORDS_BIGENDIAN: "use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN" This is necessary to compile on non Linux platforms like Darwin and Solaris. Signed-off-by: Fabian Groffen include/bitops.h | 11 +++-------- lib/md5.c | 7 +------ sys-utils/lscpu.c | 4 +--- tests/helpers/test_sysinfo.c | 7 +------ 4 files changed, 6 insertions(+), 23 deletions(-) commit dfdf2081eb40c5c595dda3cc5ba37211aee570ff Author: Davidlohr Bueso Date: Thu Jan 6 09:08:43 2011 -0300 wall: add usage function Instead of using an ugly goto statement, we can add a proper usage function. This also adds the undocumented '-n' option to the output string. Signed-off-by: Davidlohr Bueso login-utils/wall.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) commit 812950f48370d8cfdda830dad1fe72e2568756b8 Author: Davidlohr Bueso Date: Wed Jan 5 17:08:11 2011 -0300 partx: fix typo in partx.8 Signed-off-by: Davidlohr Bueso partx/partx.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 16493c3e0f2f4e3750d3bccbbd913c79a7b41894 Author: Davidlohr Bueso Date: Wed Jan 5 16:54:19 2011 -0300 disk-utils: fix manpage typos Signed-off-by: Davidlohr Bueso disk-utils/blockdev.8 | 2 +- disk-utils/swaplabel.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 001a4424d39d7a5b743b0f06077438c953da945c Author: Davidlohr Bueso Date: Wed Jan 5 16:54:16 2011 -0300 column: fix column.1 typo Signed-off-by: Davidlohr Bueso text-utils/column.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c2b9f70a2582bef35cbe0ba2c57cc02c30eee4b6 Author: Davidlohr Bueso Date: Wed Jan 5 16:54:11 2011 -0300 findmnt: fix manpage typos Signed-off-by: Davidlohr Bueso misc-utils/findmnt.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5e511de1cd80550e57e37c6d3944510d8207271d Author: Davidlohr Bueso Date: Wed Jan 5 16:54:05 2011 -0300 sys-utils: fix manpage typos Signed-off-by: Davidlohr Bueso sys-utils/flock.1 | 2 +- sys-utils/fsfreeze.8 | 2 +- sys-utils/unshare.1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit cdc1ae5fb20575fb227ccf7bdf7729ae25340e41 Author: Davidlohr Bueso Date: Wed Jan 5 16:54:01 2011 -0300 schedutils: fix typos Signed-off-by: Davidlohr Bueso schedutils/chrt.1 | 2 +- schedutils/ionice.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 415192c306058a00680d8ae20d5f45638ea0e5a9 Author: Karel Zak Date: Mon Jan 17 14:00:53 2011 +0100 umount: call is_loop_autoclear() for all loopdevs Signed-off-by: Karel Zak mount/mount.c | 2 +- mount/umount.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 85950b68e4ded35d54883ace4407c9df5d521f88 Author: Karel Zak Date: Fri Jan 14 15:49:07 2011 +0100 include: fix list.h ifdefs Signed-off-by: Karel Zak include/list.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 478d9f060560fa8b330c4d378ce99ec8cda5e80b Author: Karel Zak Date: Fri Jan 14 14:53:45 2011 +0100 docs: update TODO Signed-off-by: Karel Zak TODO | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 56de59c412d952873d70296fc70bb77a46bcdd38 Author: Karel Zak Date: Thu Jan 13 13:34:31 2011 +0100 docs: update TODO file Signed-off-by: Karel Zak TODO | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 30e43998cf70e0891aff5b025a3c37f1c1581432 Author: Karel Zak Date: Thu Jan 13 10:43:33 2011 +0100 libmount: improve fstab/mtab options usage Signed-off-by: Karel Zak shlibs/mount/src/context.c | 100 +++++++++++++++++++------------------ shlibs/mount/src/context_mount.c | 6 ++ shlibs/mount/src/mount.h.in | 18 +++++-- 3 files changed, 71 insertions(+), 53 deletions(-) commit 6b723cb0e4df2bafd99fec42847025989648d48a Author: Karel Zak Date: Tue Jan 11 16:25:35 2011 +0100 mount: fix reference to cifs-utils in mount.8 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=651035 Signed-off-by: Karel Zak mount/mount.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 574a9bc9f0db12d854062862a9fb5cbf036b11b6 Author: Karel Zak Date: Tue Jan 11 12:49:47 2011 +0100 TODO: use rpmatch() for sfdisk Signed-off-by: Karel Zak TODO | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c909751e85b8102beba62cad41978437530712ff Author: Karel Zak Date: Mon Jan 10 14:41:42 2011 +0100 mount: fix gcc warning mount/mount.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 97073441e6ec6320580cda4d315a0fec506568eb Author: Karel Zak Date: Mon Jan 10 14:31:23 2011 +0100 libmount: add mount(8) sample This code is going to be used as mount(8) replacement in the next major release (2.20). For now this mount(8) implementation does not support loopdevs initialization. Signed-off-by: Karel Zak configure.ac | 1 + shlibs/mount/Makefile.am | 2 +- shlibs/mount/samples/.gitignore | 1 + shlibs/mount/samples/Makefile.am | 7 + shlibs/mount/samples/mount.c | 422 ++++++++++++++++++++++++++++++++++++++ shlibs/mount/src/context_mount.c | 1 + 6 files changed, 433 insertions(+), 1 deletions(-) commit c59cf20c1be6d78f4e9ef404f5c5f2d44d57df94 Author: Karel Zak Date: Mon Jan 10 14:29:51 2011 +0100 libmount: properly canonicalize source and target Signed-off-by: Karel Zak shlibs/mount/src/cache.c | 7 ++++ shlibs/mount/src/context.c | 68 +++++++++++++++++++++++++++--------- shlibs/mount/src/context_mount.c | 2 + shlibs/mount/src/context_umount.c | 2 + shlibs/mount/src/mountP.h | 1 + shlibs/mount/src/utils.c | 9 +++-- 6 files changed, 68 insertions(+), 21 deletions(-) commit 18781f4713a330b6738ad95ff2bb10ce4710fbad Author: Karel Zak Date: Mon Jan 10 12:43:32 2011 +0100 mount: canonicalize paths in HAVE_LIBMOUNT_MOUNT code Reported-by: silvan minghetti Signed-off-by: Karel Zak mount/mount.c | 38 +++++++++++++++++++++++--------------- 1 files changed, 23 insertions(+), 15 deletions(-) commit 627970a7f91c35545c7023e44d906f1b8fbc7f38 Author: Karel Zak Date: Mon Jan 10 11:18:51 2011 +0100 lsblk: use "RM" for removable Suggested by Przemoc at my blog. Signed-off-by: Karel Zak misc-utils/lsblk.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 4ffde0b60b7f6452c47bab1c9929583baed32378 Author: Alexey Gladkov Date: Wed Jan 5 21:22:51 2011 +0300 unshare: fix SIGSEGV on invalid command line option $ unshare --hel Segmentation fault The last element of longopts has to be filled with zeros. Signed-off-by: Kirill A. Shutemov sys-utils/unshare.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 8feb31e5329da705e7fc99f7b28a261af8c9e493 Author: Karel Zak Date: Wed Jan 5 16:50:47 2011 +0100 fdisk: re-print prompt after maybe_exit() after Do you really want to quit? n the read_chars() has to re-print the original prompt and ask again for new input. For example: Partition number (1-4, default 3): <-- CTRL-D Do you really want to quit? n Partition number (1-4, default 3): 3 <-- ask again First sector (411648-1023999, default 411648): Signed-off-by: Karel Zak fdisk/fdisk.c | 26 +++++++++++++++++++------- fdisk/fdisk.h | 2 +- fdisk/fdiskbsdlabel.c | 4 ++-- 3 files changed, 22 insertions(+), 10 deletions(-) commit e66ac5d344dd038adb664e237c4c2610020f3f62 Author: Francesco Cosoleto Date: Sun Jan 2 22:58:13 2011 +0100 include: add fallback for rpmatch() Simple replacement code with hardcoded y/n responses to allow compilation on systems without rpmatch() such as Cygwin. Signed-off-by: Francesco Cosoleto Signed-off-by: Karel Zak fdisk/cfdisk.c | 10 +++------- fdisk/fdisk.c | 1 + include/rpmatch.h | 9 +++++++++ 3 files changed, 13 insertions(+), 7 deletions(-) commit aead9d139dc81db70a6a6d72c2163021a3656d74 Author: Francesco Cosoleto Date: Sun Jan 2 22:58:12 2011 +0100 fdisk: quit with a single CTRL-D, confirm if necessary Signed-off-by: Francesco Cosoleto fdisk/fdisk.c | 35 ++++++++++++++++++++++++++--------- 1 files changed, 26 insertions(+), 9 deletions(-)