Changes between v2.16 and v2.17-rc1 ----------------------------------- commit 3cb5555181a398b7a44916fdb102c14089f8ae0c Author: Karel Zak Date: Fri Nov 20 16:54:22 2009 +0100 build-sys: release++ (v2.17-rc1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 1a7a5af574c5dea638baf20b61fe721785b24b42 Author: Karel Zak Date: Fri Nov 20 16:49:03 2009 +0100 docs: add v2.17 ReleaseNotes Signed-off-by: Karel Zak docs/v2.17-ReleaseNotes | 468 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 468 insertions(+), 0 deletions(-) commit fbecf1eb41c770887fd09eaacdad089c367dbe09 Author: Karel Zak Date: Fri Nov 20 15:53:03 2009 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 6db1e85a711d881e2d82fc0982c64dadf30d751e Author: Karel Zak Date: Fri Nov 20 15:51:26 2009 +0100 po: merge changes Signed-off-by: Karel Zak po/POTFILES.in | 2 + po/ca.po | 601 +++++---- po/cs.po | 602 +++++---- po/da.po | 601 +++++---- po/de.po | 602 +++++---- po/es.po | 601 +++++---- po/et.po | 601 +++++---- po/eu.po | 601 +++++---- po/fi.po | 601 +++++---- po/fr.po | 601 +++++---- po/hu.po | 601 +++++---- po/id.po | 601 +++++---- po/it.po | 601 +++++---- po/ja.po | 601 +++++---- po/nl.po | 601 +++++---- po/pl.po | 3638 ++++++++++++++++++++++++++++---------------------- po/pt_BR.po | 601 +++++---- po/ru.po | 601 +++++---- po/sl.po | 601 +++++---- po/sv.po | 601 +++++---- po/tr.po | 601 +++++---- po/uk.po | 601 +++++---- po/util-linux-ng.pot | 600 +++++---- po/vi.po | 601 +++++---- po/zh_CN.po | 600 +++++---- 25 files changed, 9688 insertions(+), 7775 deletions(-) commit 4ae6b34193621bbe181c54175a41dd270bb47e1c Author: Karel Zak Date: Fri Nov 20 15:51:15 2009 +0100 build-sys: fix blkid CFLAGS in fdisk/Makefile.am Signed-off-by: Karel Zak fdisk/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 63cb4b0616bd436846e490fdce5fa1df6b50d5cb Author: Karel Zak Date: Fri Nov 20 15:18:51 2009 +0100 switch_root: add note about subroots to switch_root.8 Based on patch from Daniel Drake Signed-off-by: Karel Zak sys-utils/switch_root.8 | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit 558417e8c8975b5c3d4adc3e2d5f0bf407988f36 Author: Karel Zak Date: Fri Nov 20 15:11:59 2009 +0100 Revert "switch_root: add subroot support" This reverts commit a692a8745941a192528c5e2a05de97155ba586f9. On Wed, Nov 18, 2009 at 03:33:12PM +0000, Daniel Drake wrote: > Booting into a system this way just leads to problems because > you cannot remount the root read-only at shutdown (leading to unclean > shutdowns). > Miklos Szeredi pointed out a trick to turn any directory into a > mount point which avoids this problem. Therefore we can simplify > switch_root again and simply document that its users should set sys-utils/switch_root.c | 81 +++-------------------------------------------- 1 files changed, 5 insertions(+), 76 deletions(-) commit 8e5cf69f9e8132ce0aa499bfccabd5c45af8a50a Author: Karel Zak Date: Fri Nov 20 14:46:32 2009 +0100 last: fix utmp.ut_time usage The utmp.ut_time is timeval.tv_sec (time_t) or int32_t. It's more robust not to use ctime() or time() directly. Signed-off-by: Karel Zak login-utils/last.c | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) commit 12adebcc403a1c1548be6479f1792199c28419f3 Author: Karel Zak Date: Fri Nov 20 14:19:03 2009 +0100 line: remove deprecated #ident directive Signed-off-by: Karel Zak text-utils/line.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 39c44512bfd432cd810ef08f8572807dedea37fe Author: Jakub Bogusz Date: Fri Nov 20 13:48:26 2009 +0100 po: update pl.po (from translationproject.org) po/pl.po | 149 +++++++++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 105 insertions(+), 44 deletions(-) commit b7ce600d3d238ca3e82aa04ee6845afc45fb5eb8 Author: Karel Zak Date: Thu Nov 19 15:56:12 2009 +0100 mount: check for unsuccessful read-only bind mounts Linux kernel allows to use MS_RDONLY together with MS_BIND, unfortunately the MS_RDONLY is silently ignored and the target mountpoint is still read-write. Then we have 'ro' in mtab and 'rw' in /proc/mounts. This patch checks for this situation by access(2) or futimens(2) (change atime) and mtab is properly updated and user informed. Reported-by: Terry Burton Signed-off-by: Karel Zak configure.ac | 1 + mount/mount.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 0 deletions(-) commit 75c1d2aee67c3adfab4d653fd1f2459f20f34e98 Author: Karel Zak Date: Wed Nov 18 17:13:35 2009 +0100 ionice: add a note about none class and CFQ Reported-by: Corrado Zoccolo Signed-off-by: Karel Zak schedutils/ionice.1 | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) commit 1f06c70d9cfc4c5cdfc0e58758cda13e58e66c26 Author: Karel Zak Date: Wed Nov 18 16:11:01 2009 +0100 mount: add a note about bind-dir remounts Signed-off-by: Karel Zak mount/mount.8 | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) commit 81dc64f8c0e101ea9389d17df03b4a4e208b92e7 Author: Karel Zak Date: Wed Nov 4 15:14:04 2009 +0100 fdisk: offer aligned first sector Typical "new partition" dialog looks like: Partition number (1-4): 1 First sector (4-818687, default 4): ^^^^^^^^^ The range (e.g. 4-818687) depends on fdisk mode (DOS/non-DOS), but the default value should be always aligned. For example RAID5 device in the DOS mode: Disk /dev/md0: 419 MB, 419168256 bytes 2 heads, 4 sectors/track, 102336 cylinders, total 818688 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 65536 bytes Disk identifier: 0x081479c3 .... Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First sector (4-818687, default 128): <---- !!! Using default value 128 Last sector, +sectors or +size{K,M,G} (128-818687, default 818687): +10M Command (m for help): p .... Device Boot Start End Blocks Id System /dev/md0p1 128 20607 10240 83 Linux For non-DOS mode the range will be: First sector (128-818687, default 128): Signed-off-by: Karel Zak fdisk/fdisk.c | 45 +++++++++++++++++++++++++++++++++++---------- 1 files changed, 35 insertions(+), 10 deletions(-) commit b7e76f8ef198731ddb832bae3734d0d4bc5712ca Author: Karel Zak Date: Wed Nov 4 14:30:31 2009 +0100 fdisk: align end of partition when defined by +size{K,M,G} It's better to have disks without gaps between partitions, so it's better to align ends of partitions. Note, we don't care about end of partitions when the last sector has been explicitly requested by user. Signed-off-by: Karel Zak fdisk/fdisk.c | 48 +++++++++++++++++++++++++++++++++++------------- 1 files changed, 35 insertions(+), 13 deletions(-) commit 8e23f2d20f7dd21a318c070b14b45075c8170d4f Author: Karel Zak Date: Tue Nov 3 12:09:36 2009 +0100 fdisk: check for partition boundary Disk /dev/md0: 419 MB, 419168256 bytes 2 heads, 4 sectors/track, 102336 cylinders, total 818688 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 65536 bytes Disk identifier: 0x081479c3 Device Boot Start End Blocks Id System /dev/md0p1 200 818687 409244 83 Linux Partition 1 does not start on physical block boundary. Signed-off-by: Karel Zak fdisk/fdisk.c | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) commit 8947b52ba06e6ab34bc0b256c2379b476487876a Author: Karel Zak Date: Tue Nov 3 12:00:23 2009 +0100 fdisk: print info and recommendations about alignment * inform user that phy.sector > log.sector * warn user when alignment_offset is not provided does, DOS-compatible mode is enabled and the default geo.sectors are not aligned * suggest to change display units to sectors (oh yes, fdisk default are cylinders...) Signed-off-by: Karel Zak fdisk/fdisk.c | 40 ++++++++++++++++++++++++++++++++++++---- tests/expected/fdisk/oddinput | 1 + 2 files changed, 37 insertions(+), 4 deletions(-) commit edd7b95838507cbdac2cac54ffa0815391bdaa14 Author: Karel Zak Date: Tue Nov 3 11:28:55 2009 +0100 fdisk: use minimal_io_size for the first partition Signed-off-by: Karel Zak fdisk/fdisk.c | 46 ++++++++++++++++++++++++++++++++++------------ 1 files changed, 34 insertions(+), 12 deletions(-) commit b39a46413f7c78e7dc31665739ffe7bdfa74b126 Author: Karel Zak Date: Wed Nov 4 16:15:48 2009 +0100 fdisk: add basic routines for LBA alignment Signed-off-by: Karel Zak fdisk/fdisk.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) commit 05dc9645f64e21167d297f435951a7bf2a43c43e Author: Karel Zak Date: Thu Oct 29 11:25:59 2009 +0100 fdisk: read topology info from libblkid and print ('p' command) info about logical and physical sectors and alignment_offset. minimum_io_size we don't use physical sector size directly, because on RAIDs is better to use minimum_io_size (aka stripe chunk size). For disk drives is minimum_io_size the same value as physical sector size. alignment_offset For compatibility with legacy operating systems some vendors provide disks where logical and physical sectors are aligned at sector 63 (= geometry.sectors). In other words the physical 4KB sectors start at LBA -1. Then the physical boundary is at: alignment_offset + N * phy_sector_size Signed-off-by: Karel Zak fdisk/Makefile.am | 15 +++++++++++++++ fdisk/fdisk.c | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 46 insertions(+), 3 deletions(-) commit 1ac300932deab8dea2c43050921bbbdb36d62ff1 Author: Karel Zak Date: Mon Nov 16 15:52:45 2009 +0100 more: limited line buffer length results in corrupted UTF-8 text Addresses-Debian-Bug: #552608 Reported-By: Roger Leigh Signed-off-by: Karel Zak text-utils/more.c | 50 +++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 43 insertions(+), 7 deletions(-) commit 9e407bd91077466f7429f59bb98f12e2932343b3 Author: Karel Zak Date: Mon Nov 16 14:36:29 2009 +0100 tests: add NTFS blkid test Signed-off-by: Karel Zak tests/expected/blkid/low-probe-ntfs | 6 ++++++ tests/ts/blkid/images-fs/ntfs.img.bz2 | Bin 0 -> 35942 bytes 2 files changed, 6 insertions(+), 0 deletions(-) commit 832b3f2eb6a6c5f2e7d8db422767404320e45ced Author: Karel Zak Date: Fri Nov 13 00:10:48 2009 +0100 libblkid: fix NTFS non-ASCII labels Addresses-Red-Hat-Bug: #536797 Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/ntfs.c | 18 +++--------------- 1 files changed, 3 insertions(+), 15 deletions(-) commit c54670d564e52615faced9f700135527a71da594 Author: Karel Zak Date: Wed Nov 11 17:21:36 2009 +0100 blkid: add ID_FS_AMBIVALENT for udev output UI tools that read information from udev need a way how inform users about ambivalent probing result (more valid filesystems on the device). This patch add a new ID_FS_AMBIVALENT variable: ID_FS_AMBIVALENT= [ ...] where is: :[:] all strings are encoded (white spaces and utf8 are replaced with \hex). For example: # blkid -p -o udev /dev/sda1 ID_FS_AMBIVALEN=filesystem:vfat:FAT12 other:swap:2 Signed-off-by: Karel Zak misc-utils/blkid.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 87 insertions(+), 3 deletions(-) commit 7a3531d48106f3522b7c28825826d526066be766 Author: Karel Zak Date: Wed Nov 11 15:34:54 2009 +0100 libblkid: remove duplicate debug message Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 9e0f7bda1964b512e24a2f39b7e82f60fea7a980 Author: Karel Zak Date: Wed Nov 11 15:26:49 2009 +0100 libblkid: properly reset position in probing chains Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 27 ++++++++++++++++++++------- 1 files changed, 20 insertions(+), 7 deletions(-) commit 10dfc39cb20ebe612a634f5acefb05b789596822 Author: Jakub Bogusz Date: Tue Nov 10 22:08:25 2009 +0100 po: update pl.po (from translationproject.org) po/pl.po | 4656 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 2256 insertions(+), 2400 deletions(-) commit cdd5badafd0be42f999ca1e0d69225fff2190472 Author: Karel Zak Date: Tue Nov 10 14:00:13 2009 +0100 libblkid: don't return empty LABELs Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/probe.c | 21 ++++++++++++++++++++- shlibs/blkid/src/superblocks/superblocks.c | 4 ++++ 3 files changed, 25 insertions(+), 1 deletions(-) commit de6dd814fa1899d302d132f30f115226f6c7ae5b Author: Karel Zak Date: Tue Nov 10 12:48:34 2009 +0100 Revert "libblkid: fix buffer usage in FAT prober" This patch is unnecessary, the library uses two buffers and the VFAT superblock is always stored in the probe->sbbuf buffer which is never overwritten. It seems that FAT fsinfo is also in the superblock buffer. I was too paranoid :-) Sorry. This reverts commit 041a4ff1db7c3004644211377ac828e8a536da02. shlibs/blkid/src/superblocks/vfat.c | 17 +++-------------- 1 files changed, 3 insertions(+), 14 deletions(-) commit bf12cd21d19df347065f0fcd63dff4f6966ecee1 Author: Karel Zak Date: Mon Nov 9 16:45:50 2009 +0100 build-sys: cleanup AM_CFLAGS usage Signed-off-by: Karel Zak disk-utils/Makefile.am | 2 +- fsck/Makefile.am | 2 +- misc-utils/Makefile.am | 12 ++++++------ mount/Makefile.am | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) commit 0f6f03e628346cf3b90e13f6e6615d68b51be086 Author: Karel Zak Date: Mon Nov 9 15:46:54 2009 +0100 mount: update list of pseudo filesystems Signed-off-by: Karel Zak mount/sundries.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 4be0501bd311c3dfcefc31665fc8aa0c86a71149 Author: Karel Zak Date: Sat Nov 7 00:20:55 2009 +0100 docs: update TODO Signed-off-by: Karel Zak TODO | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 952f1d791a0ec308be03089867458b6d7f65b11b Author: Karel Zak Date: Sat Nov 7 00:06:53 2009 +0100 build-sys: remove gtkdocize from autogen.sh Signed-off-by: Karel Zak autogen.sh | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) commit 38a1717fa1944f42f8cffdf4ced51b40396d850e Author: Karel Zak Date: Fri Nov 6 23:59:54 2009 +0100 Revert "build-sys: check for gtk-doc by default" The gtt-doc.make is not required for "make dist" now. So gtk-doc is completely optional now. Let's keep gtk-doc disabled by default. This reverts commit 57facddbc561f86f26cb70e9c5a4391bcf42ff11. m4/gtk-doc.m4 | 26 ++++++++------------------ 1 files changed, 8 insertions(+), 18 deletions(-) commit e42b25eb1536697ba283772f5452e7495cb4024b Author: Karel Zak Date: Fri Nov 6 23:43:46 2009 +0100 build-sys: clean up gtk-doc stuff * gtk-doc.make does not care about difference between $srcdir and $builddir and many things are generated into $srcdir. It's pretty difficult to support out-of-source build... * gtk-doc expects that many generated files are stored in repository (we don't use XML templates, all documentation in source code only). * we don't want to distribute generated html files, the docs is attractive for very small group of people... Frankly, it would be nice to found something more robust and better than gtk-doc. Signed-off-by: Karel Zak config/gtk-doc.make | 133 +++++++++++++++++++++++++---------------- shlibs/blkid/docs/Makefile.am | 8 +- 2 files changed, 85 insertions(+), 56 deletions(-) commit 959ac815b67a43f9b5f70a1dc294d2cf3a61fc2c Author: Karel Zak Date: Fri Nov 6 03:05:27 2009 +0100 build-sys: fix out-of-source build The blkid.h file is generated and stored in $top_builddir. Signed-off-by: Karel Zak config/include-Makefile.am | 3 +++ disk-utils/Makefile.am | 2 +- fsck/Makefile.am | 2 +- misc-utils/Makefile.am | 8 ++++---- mount/Makefile.am | 2 +- shlibs/blkid/docs/Makefile.am | 4 +++- shlibs/blkid/samples/Makefile.am | 2 +- shlibs/blkid/src/Makefile.am | 2 +- shlibs/blkid/src/partitions/Makefile.am | 2 +- shlibs/blkid/src/superblocks/Makefile.am | 2 +- shlibs/blkid/src/topology/Makefile.am | 2 +- 11 files changed, 18 insertions(+), 13 deletions(-) commit 2935a4a49f453f5e1eb770add5455983d45596cd Author: Karel Zak Date: Fri Nov 6 02:53:22 2009 +0100 build-sys: don't distribute generated blkid.h Signed-off-by: Karel Zak shlibs/blkid/src/Makefile.am | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 57facddbc561f86f26cb70e9c5a4391bcf42ff11 Author: Karel Zak Date: Fri Nov 6 02:04:41 2009 +0100 build-sys: check for gtk-doc by default This patch add "check|yes|no" concept for --{disable,enable}-gtk-doc configure option. (We use the same concept for many u-l-ng compile options.) The gtk-doc is required for "make dist" (not sure if this is good idea..), so it makes sense to enable gtk-doc by default. Signed-off-by: Karel Zak m4/gtk-doc.m4 | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) commit c48f949350183de644a399c53bbc15eaac5a753a Author: Karel Zak Date: Fri Nov 6 01:13:30 2009 +0100 build-sys: fix (official) gtk-doc.make The dist-hook rule in config/gtk-doc.make requires {xml,html,tmpl}/* gkt-doc files, but there is not defined a dependence on these files. It means "make dist" does not work on pristine source code tree (e.g. "git clean -xfd" source). Signed-off-by: Karel Zak config/gtk-doc.make | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fed194513dca20215bb87452a7f54861eed1b1a3 Author: Karel Zak Date: Thu Nov 5 23:37:15 2009 +0100 build-sys: remove obsolete --with-fsprobe from distcheck flags Signed-off-by: Karel Zak Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 495a87331a5c1803b905543b4beeb0b8cc71d373 Author: Karel Zak Date: Thu Nov 5 22:49:11 2009 +0100 build-sys: remove LT_STATIC_LDFLAGS It was really stupid idea to use *_LDFLAGS for some global variable. Signed-off-by: Karel Zak config/include-Makefile.am | 3 --- fdisk/Makefile.am | 4 ++-- misc-utils/Makefile.am | 2 +- mount/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) commit 10a43146c3666dba07fea1f8c3742fa51f645a3a Author: Karel Zak Date: Thu Nov 5 15:58:20 2009 +0100 build-sys: cleanup static building Signed-off-by: Karel Zak config/include-Makefile.am | 3 +++ fdisk/Makefile.am | 4 ++-- misc-utils/Makefile.am | 2 +- mount/Makefile.am | 4 +--- 4 files changed, 7 insertions(+), 6 deletions(-) commit 949130cbdfa8fd2db80940227b1c4a03c50a29aa Author: Karel Zak Date: Mon Nov 2 14:59:23 2009 +0100 libblkid: add superblocks.c sample Signed-off-by: Karel Zak shlibs/blkid/samples/.gitignore | 1 + shlibs/blkid/samples/Makefile.am | 2 +- shlibs/blkid/samples/superblocks.c | 68 ++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletions(-) commit f2b898f0313284c49fc9bb85cdaad50bd26c2d47 Author: Karel Zak Date: Mon Nov 2 14:08:56 2009 +0100 libblkid: add sector size funcs to blkid.h.in Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 344cf58967e83b2e9266b57789fb7a9f9050822a Author: Karel Zak Date: Mon Nov 2 11:27:47 2009 +0100 mount: add long options to mount.8 Signed-off-by: Karel Zak mount/mount.8 | 72 ++++++++++++++++++++------------------------------------ 1 files changed, 26 insertions(+), 46 deletions(-) commit 66723dfd8a119192afbd7d21e7c5460ff8846028 Author: Zdenek Behan Date: Mon Nov 2 00:38:36 2009 +0100 fdisk: add regression test listing empty/nonsense images Signed-off-by: Zdenek Behan tests/expected/fdisk/oddinput | 12 +++++++++ tests/expected/fdisk/oddinput.toosmall | 1 + tests/ts/fdisk/oddinput | 39 ++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 0 deletions(-) commit 327f07d601b5e30860d1352da9d9675848f2186c Author: Peter Breitenlohner Date: Thu Oct 29 16:29:56 2009 +0100 mkswap: restore device argument in mkswap.8 synopsis Signed-off-by: Peter Breitenlohner disk-utils/mkswap.8 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 870768adb5d06fa4808f4a2615da3cddf8e00388 Author: Karel Zak Date: Fri Oct 30 13:48:10 2009 +0100 wipefs: remove obsolete comment Signed-off-by: Karel Zak misc-utils/wipefs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0071917f78789327691461617b9a2cf6816aa72b Author: Karel Zak Date: Fri Oct 30 12:26:03 2009 +0100 tests: refresh GPT regression test The n+1 change has been introduced by commit 4c8e837230bb96dc3c447706d9c3b11e4167ba13. Signed-off-by: Karel Zak tests/expected/blkid/lowprobe-pt-gpt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit d7be1a742634d74c7434e3e99c5ff93ed5b1f435 Author: Karel Zak Date: Fri Oct 30 12:20:51 2009 +0100 libblkid: does not return useless binary data Currently, the binary blkid_probe_get_{topology,partitions}() API returns empty structs when information has not been gathered. This is confusing for applications. It's seems better to return NULL. Reported-by: Hans de Goede Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4c3ceac607b3c7c2acef596fa0ffcaaa64bc6d0e Author: Karel Zak Date: Fri Oct 30 12:08:01 2009 +0100 libblkid: topology - add logical and physical sector size Signed-off-by: Karel Zak shlibs/blkid/docs/libblkid-sections.txt | 2 + shlibs/blkid/samples/topology.c | 10 +++- shlibs/blkid/src/blkid.sym | 2 + shlibs/blkid/src/blkidP.h | 2 +- shlibs/blkid/src/topology/ioctl.c | 2 + shlibs/blkid/src/topology/sysfs.c | 4 +- shlibs/blkid/src/topology/topology.c | 81 +++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.h | 1 + 8 files changed, 99 insertions(+), 5 deletions(-) commit 1a70e0cba214868345d8fc3ee27cca2e1f972f14 Author: Karel Zak Date: Tue Oct 27 12:11:37 2009 +0100 build-sys: add HAVE_LIBBLKID_INTERNAL It's better to use one macro for all situations where we depends on in-tree (internal) libblkid. Signed-off-by: Karel Zak configure.ac | 3 +-- disk-utils/mkswap.c | 4 ++-- lib/fsprobe.c | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) commit 033cf439e382afba06b06552cba67dd42405c660 Author: Karel Zak Date: Tue Oct 27 11:30:37 2009 +0100 libblkid: add BLKID_{VERSION,DATE} to blkid.h The original e2fsprogs has BLKID_{VERSION,DATE} macros in blkid.h. Although the macros are not updated for many years in e2fsprogs. So I guess nobody uses it. Signed-off-by: Karel Zak configure.ac | 2 + shlibs/blkid/.gitignore | 1 + shlibs/blkid/src/Makefile.am | 2 +- shlibs/blkid/src/blkid.h | 318 ----------------------------------------- shlibs/blkid/src/blkid.h.in | 321 ++++++++++++++++++++++++++++++++++++++++++ shlibs/blkid/src/version.c | 6 + 6 files changed, 331 insertions(+), 319 deletions(-) commit 048c62915fd76c3ed47afe2dde2a9b297fad9a81 Author: Scott James Remnant Date: Mon Oct 26 13:49:17 2009 +0100 libblkid: return first detected crypto device Crypto devices may sometimes have multiple additional prober matches, however just like RAID, there's no danger of activating the wrong one since special help is needed to activate the block device before it can be used. Thus modify blkid_do_safeprobe() to break out of the loop when a crypto device is detected, as it does already for RAID. Signed-off-by: Scott James Remnant Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/superblocks.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 06b1f2eda4576dc1db7fb554d6dcc9378490be0a Author: Mike Hommey Date: Fri Oct 16 12:38:10 2009 +0200 libblkid: add test cases for VMFS Signed-off-by: Mike Hommey tests/expected/blkid/low-probe-vmfs | 7 +++++++ tests/expected/blkid/low-probe-vmfs_volume | 7 +++++++ tests/ts/blkid/images-fs/vmfs.img.bz2 | Bin 0 -> 144 bytes tests/ts/blkid/images-fs/vmfs_volume.img.bz2 | Bin 0 -> 276 bytes 4 files changed, 14 insertions(+), 0 deletions(-) commit a992137b7b8720600c99917af87f0e4cddad8682 Author: Karel Zak Date: Mon Oct 26 13:33:03 2009 +0100 mount: and libblkid: covert /dev/dm-N to /dev/mapper/ * mount(8) uses private device-mapper names in mtab * libblkid returns private device-mapper names when evaluate udev /dev/disk-by symlinks. * on systems where DM is fully integrated with udev the /dev/mapper/ files are symlinks to /dev/dm-N. It means we need a special care to hide private device-mapper names. Signed-off-by: Karel Zak include/canonicalize.h | 1 + lib/canonicalize.c | 48 ++++++++++++++++++++++++++++++++++++++++--- shlibs/blkid/src/devname.c | 27 +---------------------- 3 files changed, 47 insertions(+), 29 deletions(-) commit 4c8e837230bb96dc3c447706d9c3b11e4167ba13 Author: Karel Zak Date: Thu Oct 22 21:40:27 2009 +0200 libblkid: convert GPT partition LBA to 512-byte sectors The libblkid keeps information about partitions in 512-byte counts. This patch: * convert GPT partition LBA to 512-byte sectors * fix n+1 bug in GPT partition size, because: "The partition is defined as all the logical blocks **inclusive** of the StartingLBA and EndingLBA." (UEFI 2.3) Signed-off-by: Karel Zak shlibs/blkid/src/partitions/gpt.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit 2a1dfbad1c3da1c98fa35e3175e84229253af387 Author: Karel Zak Date: Thu Oct 22 14:52:39 2009 +0200 libblkid: use BLKSSZGET for GPT sectors The current implementation uses fixed sector size (512 bytes), that's wrong. UEFI standard requires real logical sector size -- it means BLKSSZGET for Linux. The size of GPT header is not static, but whole sector is allocated for the header. In theory the HeaderSize field could be greater than sizeof(struct gpt_header). It means we have to read whole sector with the header, because the header crc32 checksum is counted according to HeaderSize. Signed-off-by: Karel Zak lib/blkdev.c | 6 ++++- shlibs/blkid/src/partitions/gpt.c | 38 +++++++++++++++++++++++++++--------- shlibs/blkid/src/probe.c | 2 +- 3 files changed, 34 insertions(+), 12 deletions(-) commit d13fe35ca15acff029aafec56052a0b40edcaa63 Author: Ken Kopin Date: Mon Oct 19 07:58:57 2009 -0600 dmesg: fix typo in man page Signed-off-by: LaMont Jones sys-utils/dmesg.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6d2b1f82c2526a783c7eebf8b1b8596ce9285cbf Author: Karel Zak Date: Mon Oct 19 15:39:31 2009 +0200 libblkid: topology - ignore non-blockdevs Signed-off-by: Karel Zak shlibs/blkid/src/topology/topology.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 58cde6ce4143d1852696e96e588079b700b557e0 Author: Karel Zak Date: Mon Oct 19 15:33:00 2009 +0200 libblkid: add support for topology ioctls Signed-off-by: Karel Zak shlibs/blkid/src/topology/Makefile.am | 1 + shlibs/blkid/src/topology/ioctl.c | 70 +++++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.c | 1 + shlibs/blkid/src/topology/topology.h | 1 + 4 files changed, 73 insertions(+), 0 deletions(-) commit 5e51568e144746ab5821b43d9991c208189fbbb8 Author: Karel Zak Date: Mon Oct 19 11:26:12 2009 +0200 docs: add 'unshare' and 'wipefs' to AUTHORS Signed-off-by: Karel Zak AUTHORS | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 3bcf2c734fcb8d1bafbb1448b2f3f13b52f366a9 Author: Karel Zak Date: Mon Oct 19 10:59:15 2009 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) commit 56e7984dd561887c367204d79047d5e832f9bcf8 Author: Karel Zak Date: Mon Oct 19 10:55:17 2009 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 2923 +++++++++++++++++++----------------- po/cs.po | 3562 ++++++++++++++++++++++++------------------- po/da.po | 2922 +++++++++++++++++++----------------- po/de.po | 2930 +++++++++++++++++++----------------- po/es.po | 2922 +++++++++++++++++++----------------- po/et.po | 2912 +++++++++++++++++++----------------- po/eu.po | 2897 +++++++++++++++++++----------------- po/fi.po | 3607 +++++++++++++++++++++++++------------------- po/fr.po | 4126 +++++++++++++++++++++++++++++--------------------- po/hu.po | 2932 +++++++++++++++++++----------------- po/id.po | 3848 +++++++++++++++++++++++++++-------------------- po/it.po | 2932 +++++++++++++++++++----------------- po/ja.po | 3528 ++++++++++++++++++++++++------------------- po/nl.po | 2930 +++++++++++++++++++----------------- po/pl.po | 2887 +++++++++++++++++++----------------- po/pt_BR.po | 2922 +++++++++++++++++++----------------- po/ru.po | 2922 +++++++++++++++++++----------------- po/sl.po | 2922 +++++++++++++++++++----------------- po/sv.po | 2928 +++++++++++++++++++----------------- po/tr.po | 2922 +++++++++++++++++++----------------- po/uk.po | 2922 +++++++++++++++++++----------------- po/util-linux-ng.pot | 2882 +++++++++++++++++++----------------- po/vi.po | 3621 +++++++++++++++++++++++++------------------- po/zh_CN.po | 2899 +++++++++++++++++++----------------- 24 files changed, 40930 insertions(+), 33868 deletions(-) commit 65ff5013383e12fd3673d2b97d60156fe00fe71a Author: Karel Zak Date: Mon Oct 19 10:53:52 2009 +0200 po: update po/POTFILES.in Signed-off-by: Karel Zak po/POTFILES.in | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit c397dfd1c2750689c75f2b4e7156b26b1a187e29 Author: Clytie Siddall Date: Mon Oct 19 10:45:58 2009 +0200 po: update vi.po (from translationproject.org) po/vi.po | 826 ++++++++++++++++++++------------------------------------------ 1 files changed, 270 insertions(+), 556 deletions(-) commit 1d492495b1d37f6409cc33aab25ff378c89884ed Author: Makoto Kato Date: Mon Oct 19 10:45:58 2009 +0200 po: update ja.po (from translationproject.org) po/ja.po | 1436 +++++++++++++++++++++++++++----------------------------------- 1 files changed, 619 insertions(+), 817 deletions(-) commit b631d132f033b44b2e7d52072715a7a61f68c4d2 Author: Arif E. Nugroho Date: Mon Oct 19 10:45:58 2009 +0200 po: update id.po (from translationproject.org) po/id.po | 1035 ++++++++++++++++++++------------------------------------------ 1 files changed, 325 insertions(+), 710 deletions(-) commit 889eaf220f3bd715d8358c58b5412bdd2d2b8925 Author: Nicolas Provost Date: Mon Oct 19 10:45:58 2009 +0200 po: update fr.po (from translationproject.org) po/fr.po | 1202 +++++++++++++++++++------------------------------------------- 1 files changed, 359 insertions(+), 843 deletions(-) commit 7a83395bc01918e7cd2f35e71f63e31c7c9df571 Author: Lauri Nurmi Date: Mon Oct 19 10:45:58 2009 +0200 po: update fi.po (from translationproject.org) po/fi.po | 682 +++++++++++++++++++------------------------------------------- 1 files changed, 204 insertions(+), 478 deletions(-) commit dfb1ba902f37c51097354e3037b586b9b3ebd558 Author: Petr Pisar Date: Mon Oct 19 10:45:58 2009 +0200 po: update cs.po (from translationproject.org) po/cs.po | 637 +++++++++++++++++++------------------------------------------- 1 files changed, 198 insertions(+), 439 deletions(-) commit 23387a68a7746e14fe7b3f04af16bc4ffcdfbb12 Author: Karel Zak Date: Fri Oct 16 23:37:22 2009 +0200 initctl: fix strict-aliasing bugs Signed-off-by: Karel Zak login-utils/initctl.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit dfea25692c4258d3c82f65814e26d6196503d217 Author: Karel Zak Date: Fri Oct 16 22:13:14 2009 +0200 mkfs.minix: fix strict-aliasing bugs Signed-off-by: Karel Zak disk-utils/mkfs.minix.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit c326060c2fe3ffbb302e2cbce9e8ae3c4947a652 Author: Karel Zak Date: Fri Oct 16 22:08:35 2009 +0200 fsck.minix: fix strict-aliasing bugs Signed-off-by: Karel Zak disk-utils/fsck.minix.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit b2f15782a71fd7d89bed7b3e1f799358779ee828 Author: Karel Zak Date: Fri Oct 16 21:49:33 2009 +0200 fdisk: fix strict-aliasing bugs gcc 4.4 produces tons of "dereferencing type-punned pointer will break strict-aliasing rules" warnings for fdisk code where is char buffer[BUFSIZ]; ((struct disklabel *) MBRBuffer)->foo There are two ways how fix the problem: 1/ union { char buffer[BUFSIZ], struct disklabel label } MBRBuffer; 2/ use allocated buffer, this way seems less invasive. This patch implements 2/. Old version: $ make -C fdisk | grep -c warning 236 New version: $ make -C fdisk | grep -c warning 0 About aliasing: - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40665 - http://cellperformance.beyond3d.com/articles/2006/06/understanding-strict-aliasing.html - C99 Signed-off-by: Karel Zak fdisk/fdisk.c | 25 ++++++++++++++++++++++++- fdisk/fdisk.h | 4 +++- fdisk/fdiskaixlabel.c | 2 +- fdisk/fdiskmaclabel.c | 2 +- fdisk/fdisksgilabel.c | 2 +- fdisk/fdisksunlabel.c | 2 +- 6 files changed, 31 insertions(+), 6 deletions(-) commit 3f8a8dd82f702594f3bb61b15460745e6553ef45 Author: Karel Zak Date: Fri Oct 16 22:53:12 2009 +0200 Revert "build-sys: move fsck/mkfs for bfs/cramfs/minix to /usr" See http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2689/focus=2690 This reverts commit d4fa971c42467fb69e5d89d28e1b98c491a1505a. disk-utils/Makefile.am | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) commit 83aca6b072baace04fc785c07ea79fdc8b12a4db Author: Karel Zak Date: Fri Oct 16 11:43:02 2009 +0200 fdisk: sgi label - remove duplicate swab16swab[16,32]() definitions Signed-off-by: Karel Zak fdisk/fdisksgilabel.c | 13 ------------- fdisk/fdisksgilabel.h | 10 ++++++---- 2 files changed, 6 insertions(+), 17 deletions(-) commit 3a1e412fe24de3d93688a1a0d5126d0c66526247 Author: Mike Hommey Date: Fri Oct 16 09:26:07 2009 +0200 libblkid: add support for VMFS (VMware File System) Signed-off-by: Mike Hommey Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/Makefile.am | 3 +- shlibs/blkid/src/superblocks/superblocks.c | 4 +- shlibs/blkid/src/superblocks/superblocks.h | 2 + shlibs/blkid/src/superblocks/vmfs.c | 101 ++++++++++++++++++++++++++++ 4 files changed, 108 insertions(+), 2 deletions(-) commit f8521e76520a3e93c7994ed94d4b3e567d07db42 Author: Karel Zak Date: Fri Oct 16 10:21:44 2009 +0200 libblkid: update docs/.gitignore Signed-off-by: Karel Zak shlibs/blkid/docs/.gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 11854e2eff8b15411bbbc35c95dc77d6a722cc6b Author: Karel Zak Date: Fri Oct 16 02:34:28 2009 +0200 libblkid: add missing packed attributes This patch add __attribute__((packed)) to almost all superblock and disk label definitions. Well, in many cases this is not necessary, but it's a cheap way how to keep the code robust... Signed-off-by: Karel Zak shlibs/blkid/src/partitions/bsd.c | 2 +- shlibs/blkid/src/partitions/mac.c | 4 ++-- shlibs/blkid/src/partitions/sgi.c | 8 ++++---- shlibs/blkid/src/partitions/solaris_x86.c | 4 ++-- shlibs/blkid/src/partitions/unixware.c | 4 ++-- shlibs/blkid/src/superblocks/adaptec_raid.c | 2 +- shlibs/blkid/src/superblocks/cramfs.c | 4 ++-- shlibs/blkid/src/superblocks/ext.c | 2 +- shlibs/blkid/src/superblocks/gfs.c | 2 +- shlibs/blkid/src/superblocks/hpfs.c | 6 +++--- shlibs/blkid/src/superblocks/iso9660.c | 4 ++-- shlibs/blkid/src/superblocks/luks.c | 2 +- shlibs/blkid/src/superblocks/ntfs.c | 2 +- shlibs/blkid/src/superblocks/nvidia_raid.c | 2 +- shlibs/blkid/src/superblocks/reiserfs.c | 4 ++-- shlibs/blkid/src/superblocks/romfs.c | 2 +- shlibs/blkid/src/superblocks/silicon_raid.c | 2 +- shlibs/blkid/src/superblocks/squashfs.c | 2 +- shlibs/blkid/src/superblocks/swap.c | 2 +- shlibs/blkid/src/superblocks/sysv.c | 2 +- shlibs/blkid/src/superblocks/udf.c | 18 +++++++++++------- shlibs/blkid/src/superblocks/vfat.c | 8 ++++---- shlibs/blkid/src/superblocks/via_raid.c | 4 ++-- shlibs/blkid/src/superblocks/xfs.c | 2 +- shlibs/blkid/src/superblocks/zfs.c | 2 +- 25 files changed, 50 insertions(+), 46 deletions(-) commit 45bda5c8dda9273d7ce0479a1931bfd9766717f7 Author: Karel Zak Date: Fri Oct 16 01:45:42 2009 +0200 include: use c.h in canonicalize.h Signed-off-by: Karel Zak include/canonicalize.h | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) commit fd03d92da81aaa03451b643ea79cce69e0f2798d Author: Karel Zak Date: Fri Oct 16 01:44:33 2009 +0200 namei: use c.h Signed-off-by: Karel Zak misc-utils/namei.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 3ebd663b09c7855d7aeb7155b767845207fe847e Author: Karel Zak Date: Fri Oct 16 01:43:07 2009 +0200 libblkid: use c.h in samples Signed-off-by: Karel Zak shlibs/blkid/samples/mkfs.c | 5 +---- shlibs/blkid/samples/topology.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) commit b6e899d9346ef550e1253d8f9168208c5d5f67f0 Author: Karel Zak Date: Fri Oct 16 01:40:58 2009 +0200 setterm: use c.h, remove tailing whitespace Signed-off-by: Karel Zak misc-utils/setterm.c | 22 +++++++++------------- 1 files changed, 9 insertions(+), 13 deletions(-) commit ad564eadf9f61022b1a5b64fcd80a540e66aaf32 Author: Karel Zak Date: Fri Oct 16 01:38:29 2009 +0200 newgrp: use c.h, remove tailing whitespace Signed-off-by: Karel Zak login-utils/newgrp.c | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) commit b940bae39754ef9892125e9e31a45951fdc99558 Author: Karel Zak Date: Fri Oct 16 01:37:09 2009 +0200 hwclock: use c.h Signed-off-by: Karel Zak hwclock/clock.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 1aff9b620eba8850b4819ebf32ed9fcf958e652c Author: Karel Zak Date: Fri Oct 16 01:35:55 2009 +0200 partx: use c.h Signed-off-by: Karel Zak partx/partx.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit c4c0eedc4d22f916b2a1e12606c37f3557f8d070 Author: Karel Zak Date: Fri Oct 16 01:34:20 2009 +0200 losetup: remove unused macro Signed-off-by: Karel Zak mount/lomount.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 172825382181ee12818d08d22a3943658551935a Author: Karel Zak Date: Fri Oct 16 01:32:28 2009 +0200 cal: use c.h Signed-off-by: Karel Zak misc-utils/cal.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit bf969be77de7a38848820cd9dee9205d8a4462c6 Author: Karel Zak Date: Fri Oct 16 01:28:41 2009 +0200 kill: use c.h Signed-off-by: Karel Zak misc-utils/kill.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 17d0d058fc68517ea974e720be7a8d540e9ff6a8 Author: Karel Zak Date: Fri Oct 16 01:26:46 2009 +0200 fdisk: use c.h Signed-off-by: Karel Zak fdisk/fdisk.h | 4 ++-- fdisk/fdiskbsdlabel.h | 2 +- fdisk/fdisksunlabel.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 11ef0c35d66842d1fc1eb73216926c6212b77030 Author: Karel Zak Date: Fri Oct 16 01:15:19 2009 +0200 sfdisk: use c.h, remove obsolete #ifdefs Signed-off-by: Karel Zak fdisk/sfdisk.c | 31 ++++++++----------------------- 1 files changed, 8 insertions(+), 23 deletions(-) commit 515422fdb3b0bb9473fc6c67f8654b6246240da8 Author: Karel Zak Date: Fri Oct 16 01:05:45 2009 +0200 blockdev: use c.h Signed-off-by: Karel Zak disk-utils/blockdev.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit b6534e4fd8d55e1e5127aaeb80537e002e83227b Author: Karel Zak Date: Fri Oct 16 01:01:48 2009 +0200 chrt: use c.h Signed-off-by: Karel Zak schedutils/chrt.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) commit becc79d5b6541f5f4192c460b46864381d49bed6 Author: Karel Zak Date: Fri Oct 16 01:00:27 2009 +0200 ldattach: use c.h Signed-off-by: Karel Zak sys-utils/ldattach.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) commit 33ba10999b0dd19369254c77369adaae73bcfaff Author: Karel Zak Date: Fri Oct 16 00:58:53 2009 +0200 libblkid: use c.h Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 23 ++--------------------- 1 files changed, 2 insertions(+), 21 deletions(-) commit 4d0dbb8b634ab0ec833348502aff284598858696 Author: Karel Zak Date: Fri Oct 16 00:42:22 2009 +0200 include: add c.h with fundamental C definitions Add: * ARRAY_SIZE with array type check * PATH_MAX, TRUE and FALSE macros * dummy __attribute__ for non-gcc compilers Signed-off-by: Karel Zak include/Makefile.am | 1 + include/c.h | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 0 deletions(-) commit d690f6255ce62210091ef12cf5db74ea141d087c Author: Karel Zak Date: Thu Oct 15 23:37:34 2009 +0200 tests: update fsck.ismounted test The latest version of the lib/test_ismounted binary returns absolute mountpoint path too. This patch removes the path from test output (the path is variable). Signed-off-by: Karel Zak tests/ts/fsck/ismounted | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 23546fe13d5b8016964c6bdfb7e9524fc386e6ca Author: Jim Meyering Date: Thu Oct 15 15:28:58 2009 +0200 libblkid: fix typo s/Hihg/High/ * shlibs/blkid/docs/libblkid-docs.xml Signed-off-by: Jim Meyering shlibs/blkid/docs/libblkid-docs.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b5d8aac1d0bc044e4a2a8ea929f3ffc16b638764 Author: Karel Zak Date: Thu Oct 15 15:20:38 2009 +0200 libblkid: add note about UUID_SUB, increment number of superblock values Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 2 +- shlibs/blkid/src/superblocks/superblocks.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) commit e98754d6bbd277902f4e5e8190b29ece5d4376ec Author: Karel Zak Date: Thu Oct 15 14:14:32 2009 +0200 fsck.minix: fix broken zone checking This bug has been introduced by commit 95356e8b744439336925eeb36f01399f1ee8a5e9. The fsck.minix code assumes that isset() macro returns boolean, unfortunately the generic implementation from libc returns integer. This patch also add a fallback for the bitmap macros to include/bitops.h. Reported-by: "Andries E. Brouwer" Signed-off-by: Karel Zak disk-utils/fsck.minix.c | 6 +++--- disk-utils/mkfs.minix.c | 5 ++--- include/bitops.h | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) commit ed98508a1cf5ebe67948b6c2ec7a65f4ddd110f8 Author: Karel Zak Date: Thu Oct 15 02:32:03 2009 +0200 blockdev: fix topology ioctls kernel 2.6.32-rc4 (kvm): # blockdev -v --getss --getpbsz --getiomin --getioopt --getmaxsect --getalignoff /dev/sda get logical block (sector) size: 512 get physical block (sector) size: 512 get minimum I/O size: 512 get optimal I/O size: 0 get max sectors per request: 1024 get alignment offset: 0 Signed-off-by: Karel Zak disk-utils/blockdev.c | 2 +- include/blkdev.h | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) commit d965d63f6414b27c04acee860cc5357887b2e788 Author: Karel Zak Date: Thu Oct 15 01:22:42 2009 +0200 blockdev: add topology ioctls support new options: --getpbsz get physical block (sector) size --getiomin get minimum I/O size --getioopt get optimal I/O size --getalignoff get alignment offset --getmaxsect get max sectors per request Signed-off-by: Karel Zak disk-utils/blockdev.c | 32 +++++++++++++++++++++++++++++++- include/blkdev.h | 6 ++++++ 2 files changed, 37 insertions(+), 1 deletions(-) commit 726fa24e73661855ad772ca7365c15fc38cb2084 Author: Karel Zak Date: Thu Oct 15 00:06:07 2009 +0200 blockdev: add support for uint and ushort ioctls Signed-off-by: Karel Zak disk-utils/blockdev.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) commit c3f62be7d8193a0787dfff94c593ca934805927a Author: Karel Zak Date: Wed Oct 14 23:57:52 2009 +0200 blockdev: refactoring (better commands definition) Signed-off-by: Karel Zak disk-utils/blockdev.c | 254 +++++++++++++++++++++++++++++++------------------ 1 files changed, 162 insertions(+), 92 deletions(-) commit 2d71a929413c7afc25a836560243881b81e922c4 Author: Karel Zak Date: Wed Oct 14 02:17:27 2009 +0200 blkid: add pretty output, document -L incompatibility with e2fsprogs ... sad story, I have temporary disabled pretty-output code in very early version of blkid.c in u-l-ng. (It was also in time when pretty-output was very new feature in e2fsprogs.) Unfortunately, the -L option (shortcut to "-o list") in u-l-ng version was reused for for any other functionality few months later.... this stupid thing was released in u-l-ng 2.15 and 2.16 without any negative feedback from users. It means the blkid from u-l-ng is not backwardly compatible with the original version from e2fsprogs. The -L option has a different meaning there. I'm sorry about this bug... This patch: * enable pretty-output (-o line) * add a note about incompatibility between u-l-ng and e2fsprogs to blkid.8 man page Signed-off-by: Karel Zak misc-utils/Makefile.am | 1 + misc-utils/blkid.8 | 14 +++++++++++--- misc-utils/blkid.c | 27 +++++++++++++++------------ 3 files changed, 27 insertions(+), 15 deletions(-) commit acf6ab6f676b1ce91f438518d21fd6fa7b671f2b Author: Karel Zak Date: Wed Oct 14 01:13:18 2009 +0200 lib: import whole ismounted.c code from e2fsprogs Signed-off-by: Karel Zak configure.ac | 1 + include/ismounted.h | 8 ++ lib/ismounted.c | 302 +++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 241 insertions(+), 70 deletions(-) commit 2eefcaaace7e07eabf4dc054d33f9e0fb1a2d6d8 Author: Scott James Remnant Date: Thu Sep 24 12:17:23 2009 -0700 hwclock: set kernel timezone with --systz --utc Even though --systz doesn't need to change the system clock when the hardware clock is in UTC time (--systz --utc), it does need to set the kernel timezone so that FAT timestamps, etc. will be correct. Signed-off-by: Scott James Remnant hwclock/hwclock.c | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) commit d4e0f2f2ad93124c01695c072e7a514ff8e27d2c Author: Karel Zak Date: Tue Oct 13 15:37:49 2009 +0200 tests: swapon workaround for libtool wrapper The swapon command behaviour depends on program name (argv[0] = swapon | swapoff). It means we cannot use the libtool wrapper script in our regression tests. It seems better to call the binaries directly with proper LD_LIBRARY_PATH. This is probably less portable, but good enough for our tests. Signed-off-by: Karel Zak tests/commands.sh.in | 6 ++++-- tests/functions.sh | 3 ++- tests/ts/swapon/devname | 3 ++- tests/ts/swapon/label | 3 ++- tests/ts/swapon/uuid | 3 ++- 5 files changed, 12 insertions(+), 6 deletions(-) commit 01373d74ef13014262d599cd9c26c1ec724a2204 Author: Karel Zak Date: Tue Oct 13 14:22:33 2009 +0200 swapon: more robust progname probing Currently, the 'swapoff' is the default behavior. It means that if you have a libtool wrapper script in your build directory the executed binary name is 'lt-swapon' and then "swapon -a" is interpreted as "swapoff -a". Any random argv[0] should not be interpreted as "swapoff". Signed-off-by: Karel Zak mount/swapon.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit d08cd85fad8b6a3e2aaaeac61afb0e19564ac7d7 Author: Mike Frysinger Date: Tue Oct 13 06:05:19 2009 -0400 swapon: handle <=linux-2.6.19 bug in /proc/swaps Linux <=2.6.19 contained a bug in the /proc/swaps code where the header would not be displayed (the first line). Most people report the issue as a sequence of swapon/swapoff calls to trigger, but for some lucky people, it triggers all the time at initial boot. Since this throws up an error, init systems don't actually activate any swap files. First, swapon shouldn't whine about unexpected format if the file is empty (the default at boot). This is easy to do by putting the warning behind a check to ferror(). Second, we can detect that the first line isn't actually the header but instead is a valid swap line and so need to be processed. This assumes that the first line will always be the same format. Looking quickly at older versions shows that this header has retained its exact format since at least Linux 2.2.0 and considering the concern that goes along with proc files and the ABI, it's highly unlikely it will ever change. Signed-off-by: Mike Frysinger mount/swapon.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 304762d663608bbda4661c87d298d77c0629da5e Author: Scott James Remnant Date: Thu Sep 24 11:59:33 2009 -0700 hwclock: do not access hardware clock when using --systz When using --systz we do not read from the hardware clock, so there is no need to search for a hardware clock. Indeed, we may be running hwclock --systz before /dev is mounted. Signed-off-by: Scott James Remnant hwclock/hwclock.c | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) commit a77bfc3a00182a26a6fd46dde971bf2688e06d63 Author: Karel Zak Date: Mon Oct 12 14:14:56 2009 +0200 build-sys: clean up gtk-doc usage Currently gtk-doc is optional. Unfortunately, the ./configure script still depends on GTK_DOC_CHECK macro and shlibs/blkid/docs/Makefile.am depends on gtk-doc.make. It seems that the best solution is to add gtk-doc.[make,m4] files to the repository. Signed-off-by: Karel Zak .gitignore | 4 +- autogen.sh | 19 ++--- config/gtk-doc.make | 196 +++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- m4/gtk-doc.m4 | 39 ++++++++ shlibs/blkid/docs/Makefile.am | 2 +- 6 files changed, 247 insertions(+), 15 deletions(-) commit b456d0c7309a7f5aa3f450a4b61e21ce35d4c7c2 Author: Florentin Duneau Date: Sat Oct 10 18:45:42 2009 -0600 swapon: fix typo on swapon.8 manpage Addresses-Debian-Bug: 487497 Signed-off-by: LaMont Jones mount/swapon.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d4fa971c42467fb69e5d89d28e1b98c491a1505a Author: Mike Frysinger Date: Sat Oct 10 20:07:16 2009 -0400 build-sys: move fsck/mkfs for bfs/cramfs/minix to /usr The bfs/cramfs/minix rarely (if ever?) are used for root filesystems, so it doesn't make much sense to keep them in the root partition. Move them to /usr by default. Signed-off-by: Mike Frysinger disk-utils/Makefile.am | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) commit c21e7023cac5762d5e3850fc8b02ea481a8d6b44 Author: Karel Zak Date: Fri Oct 9 16:26:45 2009 +0200 namei: better mount points detection Reported-by: Sami Kerola Signed-off-by: Karel Zak misc-utils/namei.c | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 40 insertions(+), 3 deletions(-) commit 532c6cb199b926a378079859b3359b50491fa3c6 Author: Karel Zak Date: Fri Oct 9 15:00:38 2009 +0200 switch_root: remove TIOCSCTTY and setsid() requested by dracut developers because: bash: cannot set terminal process group (-1): Inappropriate ioctl for device Addresses-Red-Hat-Bug: #519237 Signed-off-by: Karel Zak sys-utils/switch_root.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) commit cef0ccd580fd51e2570eedec51cb66dbce301e56 Author: Guillem Jover Date: Thu Oct 8 13:40:14 2009 +0200 Remove now unused includes Those became unused with the switch to the blkdev functions. Signed-off-by: Guillem Jover disk-utils/fsck.cramfs.c | 1 - disk-utils/mkfs.bfs.c | 1 - disk-utils/mkfs.minix.c | 1 - disk-utils/mkswap.c | 1 - fdisk/fdiskbsdlabel.c | 1 - fdisk/gpt.c | 1 - hwclock/hwclock.c | 1 - login-utils/agetty.c | 1 - shlibs/blkid/src/topology/dm.c | 1 - shlibs/blkid/src/topology/lvm.c | 1 - 10 files changed, 0 insertions(+), 10 deletions(-) commit 76fb73ef988e6de5b8d8b235df3868cbc8147d28 Author: Guillem Jover Date: Thu Oct 8 13:40:13 2009 +0200 cal: remove obsolete include The fact that the system does not have does not imply that it has (which is an ancient header from Linux libc4). Signed-off-by: Guillem Jover misc-utils/cal.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit feada32ffc0c48827809fe174ffb4d1cc88462c8 Author: Guillem Jover Date: Thu Oct 8 13:40:12 2009 +0200 ipcs: use __GLIBC__ instead of obsolete __GNU_LIBRARY__ The latter is obsolete and it's currently defined to 6 for historical reasons (as per comment in ) instead of 2 as what would be expected. Signed-off-by: Guillem Jover sys-utils/ipcs.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 869829e457cf7ca79c7f3f997088af8cb70aff77 Author: Guillem Jover Date: Thu Oct 8 13:40:11 2009 +0200 build-sys: check for union semun instead of using _SEM_SEMUN_UNDEFINED Older versions of glibc used to declare ‘union semun’ in , but POSIX.1-2001 requires the caller to declare it instead. Later versions of glibc started defining _SEM_SEMUN_UNDEFINED to note that the union was not being declared, but conforming systems are not required to define that macro (e.g. FreeBSD). As a side effect we get rid of some obsolete __GNU_LIBRARY__ macro usage. [kzak@redhat.com: - use #ifndef] Signed-off-by: Guillem Jover Signed-off-by: Karel Zak configure.ac | 5 +++++ sys-utils/ipcrm.c | 4 +--- sys-utils/ipcs.c | 4 +--- 3 files changed, 7 insertions(+), 6 deletions(-) commit eb35c251749f5d0be06234ec70a0b7a075e5d880 Author: Guillem Jover Date: Thu Oct 8 13:40:09 2009 +0200 build-sys: enable silent rules if automake >= 1.11 Make the build silent if the system has a new enough automake, otherwise keep the current behaviour. Signed-off-by: Guillem Jover configure.ac | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit e79829db464dece64a698f913c98154a4bf7db0b Author: Guillem Jover Date: Thu Oct 8 13:40:07 2009 +0200 build-sys: detect if volatile is available Do not defined volatile away on non-Linux systems, detect its presence using AC_C_VOLATILE instead. Signed-off-by: Guillem Jover configure.ac | 1 + disk-utils/fsck.minix.c | 4 ---- 2 files changed, 1 insertions(+), 4 deletions(-) commit 85b4c147718e0618a0747c8e42c83648350725a0 Author: Guillem Jover Date: Thu Oct 8 13:40:06 2009 +0200 build-sys: detect if const is available Some systems define __STDC__ and do not have a working const, some do not define the macro but do have a working const. Use AC_C_CONST to check for its presence. Signed-off-by: Guillem Jover configure.ac | 1 + fsck/fsck.h | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) commit 0b4dedb3cd35ce9cc3761c1b7409b830873a4433 Author: Karel Zak Date: Thu Oct 8 00:40:34 2009 +0200 libblkid: fix warning message in mkfs sample shlibs/blkid/samples/mkfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a439d194fb62a78212c917c088f32b556f3842d3 Author: Karel Zak Date: Wed Oct 7 01:37:57 2009 +0200 namei: gater information about / (root) $ ll -d /foo drwxr-xr-x 2 kzak kzak 4096 2009-10-07 01:23 /foo old version: $ namei -l /foo f: /foo Segmentation fault new version: $ namei -l /foo f: /foo drwxr-xr-x root root / drwxr-xr-x kzak kzak foo Signed-off-by: Karel Zak misc-utils/namei.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) commit d1dca71078a9ed8eef35ba2b790d1e7db9421f66 Author: Karel Zak Date: Wed Oct 7 01:34:36 2009 +0200 namei: fix alone symlink evaluation $ mkdir aaa $ ln -s aaa mylink old version: $ namei mylink namei: could not stat 'mylink/aaa': No such file or directory new version: $ namei mylink f: mylink l mylink -> aaa d aaa Signed-off-by: Karel Zak misc-utils/namei.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit f54a736f2f928c1eb8aa10fcf7d8c4c99e3d8255 Author: Karel Zak Date: Wed Oct 7 00:04:08 2009 +0200 wipefs: fix coding style Signed-off-by: Karel Zak misc-utils/wipefs.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 6264af59fd01ca38387bc4c7449b23c237f5b4ee Author: Karel Zak Date: Tue Oct 6 23:49:56 2009 +0200 fallocate: check for ERANGE errors Signed-off-by: Karel Zak sys-utils/fallocate.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit c49057d261a63235192fadc3d3b782c5c3a2acbf Author: Karel Zak Date: Mon Oct 5 13:14:07 2009 +0200 wipefs: new command # ./wipefs /dev/sda4 offset type ---------------------------------------------------------------- 0xff6 swap [other] UUID: da6c54ea-77d9-470a-82f1-e793fd5d9131 0x36 vfat [filesystem] UUID: 497F-3013 # ./wipefs --offset 0x36 /dev/sda4 8 bytes [46 41 54 31 32 20 20 20] erased at offset 0x36 (vfat) Signed-off-by: Karel Zak misc-utils/.gitignore | 1 + misc-utils/Makefile.am | 6 +- misc-utils/blkid.8 | 1 + misc-utils/wipefs.8 | 45 ++++++ misc-utils/wipefs.c | 386 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 437 insertions(+), 2 deletions(-) commit 6728c64649176be06d1ed29d2369266e415e3780 Author: Karel Zak Date: Tue Oct 6 22:22:39 2009 +0200 tests: add BFS libblkid regression test Signed-off-by: Karel Zak tests/expected/blkid/low-probe-bfs | 2 ++ tests/ts/blkid/images-fs/bfs.img.bz2 | Bin 0 -> 133 bytes 2 files changed, 2 insertions(+), 0 deletions(-) commit e38ccfcd8e05aa08ff854359eefd7335df1317bd Author: Christoph Hellwig Date: Tue Oct 6 14:10:31 2009 -0400 libblkid: add a probe for bfs blkid is currently missing a probe for the bfs filesystem, leading to a blkid-enable xfsprogs failing xfsqa testcase 032. This patch adds a trivial probe for the magic. Signed-off-by: Christoph Hellwig shlibs/blkid/src/superblocks/Makefile.am | 3 ++- shlibs/blkid/src/superblocks/bfs.c | 23 +++++++++++++++++++++++ shlibs/blkid/src/superblocks/superblocks.c | 3 ++- shlibs/blkid/src/superblocks/superblocks.h | 1 + 4 files changed, 28 insertions(+), 2 deletions(-) commit 4a2ecf0a5071c66d8bd884888b315110af230a89 Author: Karel Zak Date: Tue Oct 6 21:57:48 2009 +0200 build-sys: fix BUILD_PIVOT_ROOT condition Signed-off-by: Karel Zak configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 11125e7aa97222ba1a9c4bf2c1d197d9095ae2ef Author: Karel Zak Date: Tue Oct 6 12:43:22 2009 +0200 build-sys: cleanup --disable-{fallocate,pivot_root,unshare} * add --disable-fallocate * add --disable-pivot_root * cleanup --disable-unshare Signed-off-by: Karel Zak configure.ac | 89 ++++++++++++++++++++++++++++++++++++++++--------- sys-utils/Makefile.am | 4 +- 2 files changed, 75 insertions(+), 18 deletions(-) commit 4205f1fda1ac32046125a2e0f3937b666186bfab Author: Mikhail Gusarov Date: Sun Oct 4 02:42:08 2009 +0700 unshare: new command New utility allows to run process with separate mount, UTC, IPC or network namespaces. [kzak@redhat.com: - some cosmetic changes in usage() and err() usage - move "if BUILD_UNSHARE" to separate place in Makefile.am - add unshare to .gitignore] Signed-off-by: Mikhail Gusarov Signed-off-by: Karel Zak TODO | 4 -- configure.ac | 18 +++++++ sys-utils/.gitignore | 1 + sys-utils/Makefile.am | 5 ++ sys-utils/unshare.1 | 58 ++++++++++++++++++++++++ sys-utils/unshare.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 201 insertions(+), 4 deletions(-) commit 4629c03d34109812af4dff03f8b65dedd474270a Author: Cristian Rodríguez Date: Sun Oct 4 16:08:49 2009 -0400 fdformat: fix memory leak in verify_disk() Signed-off-by: Cristian Rodríguez disk-utils/fdformat.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 041a4ff1db7c3004644211377ac828e8a536da02 Author: Karel Zak Date: Tue Oct 6 09:17:06 2009 +0200 libblkid: fix buffer usage in FAT prober The blkid_probe_get_buffer() function returns buffer that could be overwritten in the next blkid_probe_get_buffer() call. It means that we have to save FAT super block to the temporary buffer if we want to call blkid_probe_get_buffer() for directory entries or fsinfo. Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/vfat.c | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) commit 6e0693bf32860e17548c0f3f37725537c2c0e07d Author: Lawrence Rust Date: Mon Oct 5 15:42:13 2009 +0200 libblkid: fix FAT super block definition Signed-off-by: Lawrence Rust Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/vfat.c | 19 +++++++------------ 1 files changed, 7 insertions(+), 12 deletions(-) commit 7a2fd520324c287cec995ea431f739c01890c43b Author: Karel Zak Date: Mon Oct 5 12:31:03 2009 +0200 findfs: fix typo in findfs.8 Signed-off-by: Karel Zak misc-utils/findfs.8 | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 2f1a8f2d49295dcf572618ef5d3598f2bcf87cfa Merge: 44ef90b fdf0858 Author: Karel Zak Date: Mon Oct 5 15:23:12 2009 +0200 Merge branch 'for_upstream' of git://git.kernel.org/pub/scm/utils/util-linux-ng/tytso/util-linux-ng commit fdf08588af55d07a99b411708a08f4ebe6819706 Author: Theodore Ts'o Date: Sat Oct 3 12:50:06 2009 -0400 lib: fix file descriptor leak in is_mounted() Remove an extraneous fopen() that leaks memory and a file descriptor. Signed-off-by: "Theodore Ts'o" lib/ismounted.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 44ef90bcbdcb5de977b9ff0bd3dd9bb9b92b99fb Author: Karel Zak Date: Fri Oct 2 00:49:07 2009 +0200 libblkid: fix blkid_do_probe() to work properly with chains The blkid_do_probe() always switched to the new chain -- that's bad, we have to try all probing methods in the chain. Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 38 ++++++++++++++++++--------- shlibs/blkid/src/superblocks/superblocks.c | 2 - shlibs/blkid/src/topology/topology.c | 2 - 3 files changed, 25 insertions(+), 17 deletions(-) commit a0fff7ce3507668735c94cd363a686ef833b5605 Author: Karel Zak Date: Thu Oct 1 23:47:49 2009 +0200 libblkid: add blkit_[un]ref() to TODO Signed-off-by: Karel Zak TODO | 12 ++++++++---- shlibs/blkid/src/partitions/partitions.c | 8 ++++++++ shlibs/blkid/src/topology/topology.c | 8 ++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) commit bd635f86e8a3f674ff2ae37dc89e3342cae6d9cc Author: Karel Zak Date: Thu Oct 1 22:49:44 2009 +0200 libblkid: fix segfault in blkid_do_probe() This: pr->cur_chain += sizeof(struct blkid_chain); is nonsense of course, there should be a cast to (char *) or so. It seems that the most robust solution is to avoid this game with pointers and use chain->driver-id which is useful as array index. Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) commit 78419f261750efecfcde9a3b3c91b828821256ef Author: Karel Zak Date: Thu Oct 1 15:14:48 2009 +0200 libblkid: fix non-magic FAT detection On Wed, Sep 30, 2009 at 03:15:41PM +0200, Lawrence Rust wrote: > The problem is with shlibs/blkid/src/probers/vfat.c.  At the end of > this file the struct blkid_idinfo is declared with some magic > search strings.  In particular, 2 patterns are defined to match the > single byte jmp/jxx opcodes at the start of a DOS boot sector. > Because the partition was once formatted as a bootable DOS > partition it matches these patterns and consequently the function > probe_vfat is called.  For these simple pattern matches the function > probe_fat_nomagic is called to filter out false positives. > > In normal circumstances only MSDOS 2 and earlier floppies should be > detected by this function.  A very important feature of these disks > is the boot signature - bytes 0x55, 0xaa at the end of the 1st > sector which indicate to the BIOS that the disk is bootable.  All > MSDOS floppies have these bytes but the function probe_fat_nomagic > doesn't check for them. Note that the msdos/vfat superblock comments has been suggested by Lawrence. Reported-by: Lawrence Rust Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/vfat.c | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) commit 3d1b35b62dd15282162c21895c25b297768dcbb6 Author: Karel Zak Date: Wed Sep 30 16:54:17 2009 +0200 mount: more verbose "mount: only root can do that" message > [chroot-i486] root:/$ whoami > root > [chroot-i486] root:/$ mkdir -p /dev1 > [chroot-i486] root:/$ mount --move /dev /dev1 > mount: only root can do that Reported-by: Gilles Espinasse Signed-off-by: Karel Zak mount/mount.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) commit 4c24a7aed67282a49d5e133173c207bf35dcca4a Author: Karel Zak Date: Wed Sep 30 16:51:20 2009 +0200 build-sys: add --disable-makeinstall-setuid .. to disable "chmod 4755" for mount and umount. Signed-off-by: Karel Zak configure.ac | 6 ++++++ mount/Makefile.am | 5 ++++- 2 files changed, 10 insertions(+), 1 deletions(-) commit 37ec7366c56e90afc1532b8969a73931d7245f70 Author: Karel Zak Date: Wed Sep 30 01:14:26 2009 +0200 lib: fix lib/Makefile.am (remove pttype.c) Signed-off-by: Karel Zak lib/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit ab347a1433d5852544a3b8dfb2326a0dfab6538e Author: Karel Zak Date: Tue Sep 29 21:58:52 2009 +0200 libblkid: use blkid_new_probe_from_filename() in docs Signed-off-by: Karel Zak shlibs/blkid/src/partitions/partitions.c | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-) commit f38db0cfb1a78dd1a189a486d1382c7ba284b928 Author: Karel Zak Date: Tue Sep 29 21:46:30 2009 +0200 libblkid: add blkid_new_probe_from_filename() Signed-off-by: Karel Zak shlibs/blkid/docs/libblkid-sections.txt | 1 + shlibs/blkid/samples/mkfs.c | 15 ++------- shlibs/blkid/samples/partitions.c | 16 ++------- shlibs/blkid/samples/topology.c | 16 ++------- shlibs/blkid/src/blkid.h | 1 + shlibs/blkid/src/blkid.sym | 1 + shlibs/blkid/src/blkidP.h | 11 ++++--- shlibs/blkid/src/probe.c | 50 ++++++++++++++++++++++++++++++- 8 files changed, 70 insertions(+), 41 deletions(-) commit 92838067f3c3ac92cd1754341f72e0857d1f822c Author: Karel Zak Date: Tue Sep 29 15:59:34 2009 +0200 libblkid: add support for SBMAGIC and SBMAGIC_OFFSET Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 1 + shlibs/blkid/src/blkidP.h | 6 +++--- shlibs/blkid/src/superblocks/superblocks.c | 20 +++++++++++++++----- 3 files changed, 19 insertions(+), 8 deletions(-) commit 6f68ab6af00b109e40d74d0d4c34170963210d95 Author: Karel Zak Date: Tue Sep 29 13:54:58 2009 +0200 mkfs.cramfs: fix gcc warning (incompatible pointer type) mkfs.cramfs.c: In function ‘parse_directory’: mkfs.cramfs.c:310: warning: passing argument 4 of ‘scandir’ from incompatible pointer type Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 5da4239746c11f1f048d03dad1d1a193486f71c8 Author: Karel Zak Date: Tue Sep 29 13:48:16 2009 +0200 libblkid: fix gcc warning (warn_unused_result) save.c: In function ‘blkid_flush_cache’: save.c:146: warning: ignoring return value of ‘link’, declared with attribute warn_unused_result Signed-off-by: Karel Zak shlibs/blkid/src/save.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit a4532e10e3e72555c7302d7bd8cb827870bfcdb1 Author: Karel Zak Date: Tue Sep 29 13:28:12 2009 +0200 lib: remove pttype.c The libblkid library supports partition tables detection now. Signed-off-by: Karel Zak include/Makefile.am | 1 - include/pttype.h | 11 -- lib/Makefile.am | 2 +- lib/pttype.c | 292 --------------------------------------------------- 4 files changed, 1 insertions(+), 305 deletions(-) commit 24250c7aa6b4b5c1b6ff87f12d93730d2c8dd04b Author: Karel Zak Date: Tue Sep 29 11:08:32 2009 +0200 libblkid: fix the default cache file path The blkid_get_cache_filename() can returns BLKID_CONFIG_FILE instead BLKID_CACHE_FILE. Yeah, pretty stupid typo. Fortunately, this brown-paper-bag bug is invisible in almost all cases, because the default path is returned by blkid_read_config(). The bug can be visible only when blkid_read_config() returns NULL -- it means on parses or malloc error. Signed-off-by: Karel Zak shlibs/blkid/src/cache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 566f35bc81d992bfec0a41485eea073854f54b0e Author: Karel Zak Date: Fri Sep 25 16:27:27 2009 +0200 mkswap: use libblkid to detect PT Signed-off-by: Karel Zak configure.ac | 1 + disk-utils/Makefile.am | 8 +++++++- disk-utils/mkswap.c | 45 ++++++++++++++++++++++++++++++++++++--------- 3 files changed, 44 insertions(+), 10 deletions(-) commit 2e017d3b0f0ed1a060e5fa7e71a6f3bd1f2a9c27 Author: Karel Zak Date: Fri Sep 25 15:41:53 2009 +0200 docs: update TODO Signed-off-by: Karel Zak TODO | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) commit a1679f19004e0afee000d1f6f2c4929c61e2292d Author: Karel Zak Date: Fri Sep 25 15:33:07 2009 +0200 libblkid: don't scan private /dev/.udev directory Signed-off-by: Karel Zak shlibs/blkid/src/devno.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit f38fd19d2b0367f5f4517ba30a8964802c7ce1ab Author: Karel Zak Date: Fri Sep 25 14:40:23 2009 +0200 libblkid: use fstatat(), improve readdir() usage * fix possible memory leak in ubi_probe_all() * use dirent->d_type if available (this is tricky, because d_type is not supported on all systems and some filesystems returns DT_UNKNOWN). The dirent->d_type allows to avoid unnecessary stat() calls. * use fstatat() if available -- allows to avoid malloc() and sprintf("%s/%s", dirname, dirent->d_name) Signed-off-by: Karel Zak TODO | 2 - shlibs/blkid/src/blkidP.h | 5 ++ shlibs/blkid/src/devname.c | 34 +++++++--------- shlibs/blkid/src/devno.c | 96 ++++++++++++++++++++++++++++++++++++------- 4 files changed, 100 insertions(+), 37 deletions(-) commit 0d17b1cf91f5c1a41660e8f240f9ff11259fcf1a Author: Karel Zak Date: Thu Sep 24 15:48:13 2009 +0200 libblkid: cleanup blkid_probe_set_device() It does not make sense to use libblkid for anything other than block devices, char devices (UBI only) and regular files. Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) commit 62fc170c44963b40d039afacc4bf9f9eea2a34e0 Author: Corentin Chary Date: Mon Aug 24 13:11:56 2009 +0200 tests: add UBIFS test image to blkid test suite Signed-off-by: Corentin Chary Signed-off-by: Karel Zak tests/expected/blkid/low-probe-ubifs | 5 +++++ tests/ts/blkid/images-fs/ubifs.img.bz2 | Bin 0 -> 937 bytes 2 files changed, 5 insertions(+), 0 deletions(-) commit 4b297604c2ee2ce4f46129746e0913b56f467df6 Author: Corentin Chary Date: Mon Aug 24 13:11:55 2009 +0200 libblkid: add UBIFS support Signed-off-by: Corentin Chary Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/Makefile.am | 3 +- shlibs/blkid/src/superblocks/superblocks.c | 3 +- shlibs/blkid/src/superblocks/superblocks.h | 1 + shlibs/blkid/src/superblocks/ubifs.c | 121 ++++++++++++++++++++++++++++ 4 files changed, 126 insertions(+), 2 deletions(-) commit c1ba7962f60672be37f41a5d01c10acf46442f2e Author: Corentin Chary Date: Mon Aug 24 13:11:54 2009 +0200 libblkid: add UBI volume support Probe UBI volume under /dev (or /devfs, /devices). ubi_ctrl skip is hardcoded, maybe we should find a cleaner way to do that. Also change probe.c to handle char devices. [kzak@redhat.com: - rebase the patch to the current HEAD] Signed-off-by: Corentin Chary Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/devname.c | 56 +++++++++++++++++++++++++++++++++++++++++++- shlibs/blkid/src/probe.c | 14 ++++++++--- 3 files changed, 66 insertions(+), 5 deletions(-) commit 7711e2150b79393c14febc7ed2e675f35cc614d4 Author: Karel Zak Date: Thu Sep 24 14:44:47 2009 +0200 blkid: allow to use -s for low-level probing (-p mode) # blkid -p -s TYPE /dev/sda3 /dev/sda3: TYPE="swap" Signed-off-by: Karel Zak misc-utils/blkid.8 | 5 ++++- misc-utils/blkid.c | 47 ++++++++++++++++++++++++++++------------------- 2 files changed, 32 insertions(+), 20 deletions(-) commit 68ee5746f068a69999920c7799dd7270a9ba6701 Author: Karel Zak Date: Thu Sep 24 10:46:25 2009 +0200 tests: add blkid regression tests for ISO9660 Note that Rock-Ridge detection is not supported yet. Signed-off-by: Karel Zak tests/expected/blkid/low-probe-iso | 4 ++++ tests/expected/blkid/low-probe-iso-joliet | 5 +++++ tests/expected/blkid/low-probe-iso-rr-joliet | 5 +++++ tests/ts/blkid/images-fs/iso-joliet.img.bz2 | Bin 0 -> 21050 bytes tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2 | Bin 0 -> 21380 bytes tests/ts/blkid/images-fs/iso.img.bz2 | Bin 0 -> 20718 bytes 6 files changed, 14 insertions(+), 0 deletions(-) commit 7d0c1c45a911be05a35296961c585e9488671dce Author: Karel Zak Date: Wed Sep 23 21:27:01 2009 +0200 libblkid: add LVM topology support (for old kernels) Signed-off-by: Karel Zak shlibs/blkid/src/topology/Makefile.am | 3 +- shlibs/blkid/src/topology/lvm.c | 149 +++++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.c | 1 + shlibs/blkid/src/topology/topology.h | 1 + 4 files changed, 153 insertions(+), 1 deletions(-) commit b3051c3f72c1930cd1ff86560872d2732eabd772 Author: Karel Zak Date: Wed Sep 23 21:23:21 2009 +0200 libblkid: minor changes to dm topology code Signed-off-by: Karel Zak shlibs/blkid/src/topology/dm.c | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) commit a03611ce8c09a026063887ead7daaf76fe378ea1 Author: Karel Zak Date: Wed Sep 23 11:28:28 2009 +0200 libblkid: cleanup topology fallback Signed-off-by: Karel Zak shlibs/blkid/src/topology/dm.c | 5 +---- shlibs/blkid/src/topology/evms.c | 4 +--- shlibs/blkid/src/topology/md.c | 4 +--- 3 files changed, 3 insertions(+), 10 deletions(-) commit 4466c365052b477caac5a05b0a73eb2958f490df Author: Maxim Levitsky Date: Wed Sep 23 09:47:49 2009 +0200 libblkid: announce Joliet extension Signed-off-by: Maxim Levitsky Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/iso9660.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d46a54994e30da03385b82f64eaecffe5c170c92 Author: Karel Zak Date: Tue Aug 18 13:33:27 2009 +0200 fallocate: new command The fallocate(1) utility is used to preallocate blocks to a file. This can be useful for virtual images, database files, testing, etc. Normally we'd hope that various tools will start using preallocation internally, but until then such a utility may be useful, and could be scripted as well. The original Eric's version is available at: http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2490 This version: - checks for fallocate glibc function and kernel syscall - does not provide a fallback and does not call posix_fallocate() - adds long options - uses err.h for errro messages - adds NLS support - cleanups man page Co-Author: Eric Sandeen Signed-off-by: Eric Sandeen Signed-off-by: Karel Zak AUTHORS | 1 + configure.ac | 3 + sys-utils/.gitignore | 1 + sys-utils/Makefile.am | 5 ++ sys-utils/fallocate.1 | 51 ++++++++++++++ sys-utils/fallocate.c | 173 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 234 insertions(+), 0 deletions(-) commit 34fa5bc8e80b9710fd7841a21755f06be4139f3f Author: kevin.granade@gmail.com Date: Mon Sep 7 18:16:55 2009 -0500 mount: document changed semantics of tmpfs size option in mount.8 Linux kernel commit 818db35992c249dc32c1d86daf7d533fb0952f5d fixed a problem where invoking mount -t tmpfs with a size argument smaler than the size of one page caused the limits on the size of a tmpfs to not operate. The commit also caused the number supplied by the size option to be rounded up to the nearest page size instead of down. This alters the man page to match the behavior of the kernel in this instance. Signed-off-by: Kevin Granade mount/mount.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ec7498784c9c79952d5fda36a1195e8242d382f7 Author: Karel Zak Date: Tue Sep 22 14:58:34 2009 +0200 libblkid: prefer ISO9660 PVD Label to Joliet Label The old good libvolume_id had the same behavior. Reported-by: Maxim Levitsky Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/iso9660.c | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) commit c2dbd49bdfd84e9145044ae564d5ef841e60a41e Author: Karel Zak Date: Tue Sep 22 12:32:34 2009 +0200 libblkid: trim tailing whitespace from unicode LABELs old version: $ ./blkid -o udev -p iso-joliet.img ID_FS_LABEL=ThisIsLabel ID_FS_LABEL_ENC=ThisIsLabel\x20\x20\x20\x20\x20 ID_FS_VERSION=Joliet\x20Extension ID_FS_TYPE=iso9660 ID_FS_USAGE=filesystem new version: $ ./blkid -o udev -p iso-joliet.img ID_FS_LABEL=ThisIsLabel ID_FS_LABEL_ENC=ThisIsLabel ID_FS_VERSION=Joliet\x20Extension ID_FS_TYPE=iso9660 ID_FS_USAGE=filesystem Reported-by: Maxim Levitsky Addresses-Ubuntu-Bug: #432215 Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/partitions/partitions.c | 12 +++--------- shlibs/blkid/src/probe.c | 24 ++++++++++++++++++++++++ shlibs/blkid/src/superblocks/superblocks.c | 14 +++----------- 4 files changed, 31 insertions(+), 20 deletions(-) commit 734634b29a4963b8b01021856f46e34c2734e6c3 Author: Karel Zak Date: Tue Sep 22 11:53:07 2009 +0200 libblkid: fix blkid_probe_set_utf8label() call for Joliet Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/iso9660.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 79e1f9f15cea3d81aeea64a89610b6ed72fd310e Author: Karel Zak Date: Mon Sep 21 15:39:00 2009 +0200 libblkid: minor changes to samples Signed-off-by: Karel Zak shlibs/blkid/samples/mkfs.c | 11 ++++++----- shlibs/blkid/samples/partitions.c | 4 ++-- shlibs/blkid/samples/topology.c | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) commit c9e4a61574ac5113ed58751c96920a81bff39c67 Author: Karel Zak Date: Mon Sep 21 15:32:09 2009 +0200 libblkid: add EVMS topology support (for old kernels) Signed-off-by: Karel Zak shlibs/blkid/src/topology/Makefile.am | 3 +- shlibs/blkid/src/topology/evms.c | 73 +++++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.c | 3 +- shlibs/blkid/src/topology/topology.h | 1 + 4 files changed, 78 insertions(+), 2 deletions(-) commit 4c4d3988f65bb19e2e4265e092590373218f5180 Author: Karel Zak Date: Mon Sep 21 13:41:10 2009 +0200 libblkid: add DM topology support (for old kernels) Signed-off-by: Karel Zak shlibs/blkid/src/topology/Makefile.am | 3 +- shlibs/blkid/src/topology/dm.c | 143 +++++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.c | 3 +- shlibs/blkid/src/topology/topology.h | 1 + 4 files changed, 148 insertions(+), 2 deletions(-) commit f912ab262005ed175e4f52580b11a361458cae19 Author: Karel Zak Date: Mon Sep 21 11:52:26 2009 +0200 libblkid: add MD topology support (for old kernels) Signed-off-by: Karel Zak shlibs/blkid/src/topology/Makefile.am | 3 +- shlibs/blkid/src/topology/md.c | 149 +++++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.c | 9 ++- shlibs/blkid/src/topology/topology.h | 1 + 4 files changed, 158 insertions(+), 4 deletions(-) commit 77082c5a7b08998f11cb8cbec940a589ba2fb0a0 Author: Karel Zak Date: Fri Sep 18 13:21:19 2009 +0200 libblkid: cosmetic change in topology sample Signed-off-by: Karel Zak shlibs/blkid/samples/topology.c | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) commit 958757bbd7e27adc092e037c3012ee26e1b09a0a Author: Karel Zak Date: Fri Sep 18 13:18:31 2009 +0200 libblkid: fix probing for binary interface The probing for binary interface has to always start from scratch. Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4747be18976da4f7c5bd17fe478d87fc02b4e6c3 Author: Karel Zak Date: Fri Sep 18 13:07:52 2009 +0200 libblkid: add private blkid_topology_set_*() functions Signed-off-by: Karel Zak shlibs/blkid/src/topology/sysfs.c | 40 +++++++------------------- shlibs/blkid/src/topology/topology.c | 51 ++++++++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.h | 11 ++----- 3 files changed, 65 insertions(+), 37 deletions(-) commit 7ef93b3eff22c6671c12621fef26853c907435ec Author: Karel Zak Date: Fri Sep 18 13:07:05 2009 +0200 libblkid: add blkid_driver_has_major() Signed-off-by: Karel Zak include/pathnames.h | 1 + shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/devno.c | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 0 deletions(-) commit 5cd0823c6b0fce8bfd4236eb59426dc791de84ac Author: Karel Zak Date: Fri Sep 18 10:48:32 2009 +0200 libblkid: fix blkid_devno_to_wholedisk() Signed-off-by: Karel Zak shlibs/blkid/src/devno.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bf539f48f37da7a3609350ce4e9839921527de23 Author: Karel Zak Date: Fri Sep 18 10:19:59 2009 +0200 libblkid: allows more probing methods for topology chain This patch moves the current topology code to the separate sysfs.c file. Signed-off-by: Karel Zak shlibs/blkid/src/topology/Makefile.am | 4 +- shlibs/blkid/src/topology/sysfs.c | 156 +++++++++++++++++++++++++++++ shlibs/blkid/src/topology/topology.c | 177 +++++++------------------------- shlibs/blkid/src/topology/topology.h | 21 ++++ 4 files changed, 219 insertions(+), 139 deletions(-) commit 38fb0905a6105f0dafe2db1beef8a92271c68f35 Author: Karel Zak Date: Fri Sep 18 00:06:17 2009 +0200 libblkid: minor fix in topology sample Signed-off-by: Karel Zak shlibs/blkid/samples/topology.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 1db59ad75b7753d360f5d931d89ea177a73a3f84 Author: Eric Sandeen Date: Thu Sep 17 16:56:00 2009 -0500 libblkid: fix topology information values Looks like the topology values returned are being inflated by x 512, but the kernel reports them in bytes; no need for the multiplication, just return the value as-is. With the patch it all matches: # mdadm -D /dev/md0 | grep Chunk Chunk Size : 64K # cat /sys/devices/virtual/block/md0/queue/minimum_io_size 65536 # blkid/samples/topology /dev/md0 ----- NAME=value interface (values: 0): MINIMUM_IO_SIZE = 65536 OPTIMAL_IO_SIZE = 131072 ----- binary interface: alignment offset : 0 minimum io size : 65536 optimal io size : 131072 Signed-off-by: Eric Sandeen shlibs/blkid/src/topology/topology.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4ed18c6b46837f0ef552429917e13d8bd114b950 Author: Karel Zak Date: Thu Sep 17 17:29:40 2009 +0200 mount: fix mount.8, xfs attr2 is enabled by default Address-Red-Hat-Bug: #510845 Signed-off-by: Karel Zak mount/mount.8 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 0e8a806546c4daa68a059c65b5a11a2d9dbaec0d Author: Karel Zak Date: Thu Sep 17 17:01:19 2009 +0200 libblkid: add blkid_partition_get_type_string() .. because for example Mac and GPT don't use numbers, but strings or UUIDs as partition type identifier. Signed-off-by: Karel Zak shlibs/blkid/docs/libblkid-sections.txt | 1 + shlibs/blkid/samples/partitions.c | 3 + shlibs/blkid/src/blkid.h | 1 + shlibs/blkid/src/blkid.sym | 1 + shlibs/blkid/src/partitions/gpt.c | 3 + shlibs/blkid/src/partitions/mac.c | 3 + shlibs/blkid/src/partitions/partitions.c | 75 +++++++++++++++++++++++++----- shlibs/blkid/src/partitions/partitions.h | 6 ++ tests/expected/blkid/lowprobe-pt-gpt | 10 ++-- 9 files changed, 86 insertions(+), 17 deletions(-) commit 74776ee8f01ff9ea167e6ef2c901bef636c77240 Author: Karel Zak Date: Thu Sep 17 11:13:07 2009 +0200 mount: fix reference to samba-client in mount.8 Address-Red-Hat-Bug: #521367 Signed-off-by: Karel Zak mount/mount.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ed425ac12fbf17fc0b4dc591646396e5f40574be Author: Karel Zak Date: Wed Sep 16 21:58:56 2009 +0200 po: update POTFILES.in Signed-off-by: Karel Zak po/POTFILES.in | 89 +++++++++++++++++++++++++++++++++---------------------- 1 files changed, 53 insertions(+), 36 deletions(-) commit 5777ba99a3b3d24ab20412828de5726c1b9daaeb Author: Karel Zak Date: Fri Sep 11 13:15:18 2009 +0200 tests: add partitions probing test Signed-off-by: Karel Zak tests/commands.sh.in | 3 ++ tests/expected/blkid/lowprobe-pt-bsd | 4 ++ tests/expected/blkid/lowprobe-pt-dos+bsd | 6 ++++ tests/expected/blkid/lowprobe-pt-gpt | 7 ++++ tests/expected/blkid/lowprobe-pt-sgi | 4 ++ tests/expected/blkid/lowprobe-pt-sun | 4 ++ tests/ts/blkid/images-pt/bsd.img.bz2 | Bin 0 -> 122 bytes tests/ts/blkid/images-pt/dos+bsd.img.bz2 | Bin 0 -> 1728 bytes tests/ts/blkid/images-pt/gpt.img.bz2 | Bin 0 -> 494 bytes tests/ts/blkid/images-pt/sgi.img.bz2 | Bin 0 -> 144 bytes tests/ts/blkid/images-pt/sun.img.bz2 | Bin 0 -> 170 bytes tests/ts/blkid/low-probe | 5 +-- tests/ts/blkid/lowprobe-pt | 45 ++++++++++++++++++++++++++++++ 13 files changed, 74 insertions(+), 4 deletions(-) commit 5e30325b7983ef5919ddee82e95bca00ac197a7e Author: Karel Zak Date: Fri Sep 11 12:20:28 2009 +0200 tests: rename blkid/images to blkid/images-fs Signed-off-by: Karel Zak tests/ts/blkid/images-fs/cramfs.img.bz2 | Bin 0 -> 124 bytes tests/ts/blkid/images-fs/ddf-raid.img.bz2 | Bin 0 -> 534 bytes tests/ts/blkid/images-fs/ext2.img.bz2 | Bin 0 -> 356 bytes tests/ts/blkid/images-fs/ext3.img.bz2 | Bin 0 -> 1489 bytes tests/ts/blkid/images-fs/fat.img.bz2 | Bin 0 -> 249 bytes tests/ts/blkid/images-fs/fat32_label_64MB.img.bz2 | Bin 0 -> 1151 bytes tests/ts/blkid/images-fs/gfs2.img.bz2 | Bin 0 -> 121 bytes tests/ts/blkid/images-fs/hfs.img.bz2 | Bin 0 -> 257 bytes tests/ts/blkid/images-fs/hfsplus.img.bz2 | Bin 0 -> 300 bytes tests/ts/blkid/images-fs/hpfs.img.bz2 | Bin 0 -> 2454 bytes tests/ts/blkid/images-fs/jbd.img.bz2 | Bin 0 -> 205 bytes tests/ts/blkid/images-fs/jfs.img.bz2 | Bin 0 -> 3434 bytes tests/ts/blkid/images-fs/lvm2.img.bz2 | Bin 0 -> 173 bytes tests/ts/blkid/images-fs/mdraid.img.bz2 | Bin 0 -> 160 bytes tests/ts/blkid/images-fs/minix.img.bz2 | Bin 0 -> 138 bytes tests/ts/blkid/images-fs/netware.img.bz2 | Bin 0 -> 239 bytes tests/ts/blkid/images-fs/ocfs2.img.bz2 | Bin 0 -> 1002 bytes tests/ts/blkid/images-fs/reiser3.img.bz2 | Bin 0 -> 282 bytes tests/ts/blkid/images-fs/reiser4.img.bz2 | Bin 0 -> 366 bytes tests/ts/blkid/images-fs/romfs.img.bz2 | Bin 0 -> 105 bytes tests/ts/blkid/images-fs/small-fat32.img.bz2 | Bin 0 -> 372 bytes tests/ts/blkid/images-fs/swap0.img.bz2 | Bin 0 -> 72 bytes tests/ts/blkid/images-fs/swap1.img.bz2 | Bin 0 -> 120 bytes tests/ts/blkid/images-fs/udf.img.bz2 | Bin 0 -> 2031 bytes tests/ts/blkid/images-fs/xfs.img.bz2 | Bin 0 -> 443 bytes tests/ts/blkid/images-fs/zfs.img.bz2 | Bin 0 -> 10869 bytes tests/ts/blkid/images/cramfs.img.bz2 | Bin 124 -> 0 bytes tests/ts/blkid/images/ddf-raid.img.bz2 | Bin 534 -> 0 bytes tests/ts/blkid/images/ext2.img.bz2 | Bin 356 -> 0 bytes tests/ts/blkid/images/ext3.img.bz2 | Bin 1489 -> 0 bytes tests/ts/blkid/images/fat.img.bz2 | Bin 249 -> 0 bytes tests/ts/blkid/images/fat32_label_64MB.img.bz2 | Bin 1151 -> 0 bytes tests/ts/blkid/images/gfs2.img.bz2 | Bin 121 -> 0 bytes tests/ts/blkid/images/hfs.img.bz2 | Bin 257 -> 0 bytes tests/ts/blkid/images/hfsplus.img.bz2 | Bin 300 -> 0 bytes tests/ts/blkid/images/hpfs.img.bz2 | Bin 2454 -> 0 bytes tests/ts/blkid/images/jbd.img.bz2 | Bin 205 -> 0 bytes tests/ts/blkid/images/jfs.img.bz2 | Bin 3434 -> 0 bytes tests/ts/blkid/images/lvm2.img.bz2 | Bin 173 -> 0 bytes tests/ts/blkid/images/mdraid.img.bz2 | Bin 160 -> 0 bytes tests/ts/blkid/images/minix.img.bz2 | Bin 138 -> 0 bytes tests/ts/blkid/images/netware.img.bz2 | Bin 239 -> 0 bytes tests/ts/blkid/images/ocfs2.img.bz2 | Bin 1002 -> 0 bytes tests/ts/blkid/images/reiser3.img.bz2 | Bin 282 -> 0 bytes tests/ts/blkid/images/reiser4.img.bz2 | Bin 366 -> 0 bytes tests/ts/blkid/images/romfs.img.bz2 | Bin 105 -> 0 bytes tests/ts/blkid/images/small-fat32.img.bz2 | Bin 372 -> 0 bytes tests/ts/blkid/images/swap0.img.bz2 | Bin 72 -> 0 bytes tests/ts/blkid/images/swap1.img.bz2 | Bin 120 -> 0 bytes tests/ts/blkid/images/udf.img.bz2 | Bin 2031 -> 0 bytes tests/ts/blkid/images/xfs.img.bz2 | Bin 443 -> 0 bytes tests/ts/blkid/images/zfs.img.bz2 | Bin 10869 -> 0 bytes tests/ts/blkid/low-probe | 11 +++++++---- 53 files changed, 7 insertions(+), 4 deletions(-) commit 1e018c1571ff80b7750cadeb591da36d75c51083 Author: Karel Zak Date: Wed Sep 16 21:25:38 2009 +0200 libblkid: gtkdocize (API docs generated by gtk-docs) Signed-off-by: Karel Zak .gitignore | 1 + Makefile.am | 3 +- autogen.sh | 17 ++++- configure.ac | 5 + shlibs/blkid/Makefile.am | 4 + shlibs/blkid/docs/.gitignore | 16 ++++ shlibs/blkid/docs/Makefile.am | 99 ++++++++++++++++++++++ shlibs/blkid/docs/libblkid-config.xml | 57 +++++++++++++ shlibs/blkid/docs/libblkid-docs.xml | 69 +++++++++++++++ shlibs/blkid/docs/libblkid-sections.txt | 140 +++++++++++++++++++++++++++++++ shlibs/blkid/docs/version.xml.in | 1 + 11 files changed, 410 insertions(+), 2 deletions(-) commit 488e52be1ec986112f304d0f6ee019f186ff3d1d Author: Karel Zak Date: Wed Sep 16 16:42:12 2009 +0200 libblkid: add missing comments Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 33 +++++++++++++++++++++++++++++++ shlibs/blkid/src/cache.c | 45 +++++++++++++++++++++++++++++++++++++++++++ shlibs/blkid/src/dev.c | 15 ++++++++++++++ shlibs/blkid/src/devname.c | 16 +++++++++++++++ shlibs/blkid/src/encode.c | 9 ++++++++ shlibs/blkid/src/evaluate.c | 28 +++++++++++++++++++++----- shlibs/blkid/src/probe.c | 11 +++++++-- shlibs/blkid/src/version.c | 2 +- 8 files changed, 149 insertions(+), 10 deletions(-) commit b95d4a7327c5824e79f80c139b30a35e8619faf1 Author: Karel Zak Date: Wed Sep 16 16:27:32 2009 +0200 libblkid: add mkfs sample Signed-off-by: Karel Zak shlibs/blkid/samples/.gitignore | 1 + shlibs/blkid/samples/Makefile.am | 2 +- shlibs/blkid/samples/mkfs.c | 88 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 1 deletions(-) commit c7fcbf5a891dc74206e945bf0011192e0956469f Author: Karel Zak Date: Wed Sep 16 16:24:14 2009 +0200 libblkid: add partitions sample Signed-off-by: Karel Zak shlibs/blkid/samples/.gitignore | 1 + shlibs/blkid/samples/Makefile.am | 2 +- shlibs/blkid/samples/partitions.c | 93 +++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 1 deletions(-) commit 7a8f74e8ce65208665d0be354bc0d1d050745c33 Author: Karel Zak Date: Wed Sep 16 16:21:17 2009 +0200 libblkid: add EFI GPT partitions support Signed-off-by: Karel Zak shlibs/blkid/src/Makefile.am | 3 +- shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/gpt.c | 356 ++++++++++++++++++++++++++++++ shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 1 + 5 files changed, 362 insertions(+), 2 deletions(-) commit 7176f22db5354274c5c6b3b46b21dd96f7c3146d Author: Karel Zak Date: Wed Sep 16 16:17:41 2009 +0200 lib: add a generic crc32() This is public domain implementation, based on static crc32_table[]. This implementation is used on may places (libparted, FreeBSD kernel, PostgreSQL, ...). The Linux kernel uses on-the-fly generated and allocated tables. That's useless in shared libraries. Signed-off-by: Karel Zak include/Makefile.am | 1 + include/crc32.h | 9 ++++ lib/crc32.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+), 0 deletions(-) commit b507ce0382876bb693498cf86208a53917b3cb29 Author: Karel Zak Date: Wed Sep 16 16:12:29 2009 +0200 libblkid: add MINIX partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/dos.c | 1 + shlibs/blkid/src/partitions/minix.c | 99 ++++++++++++++++++++++++++++++ shlibs/blkid/src/partitions/partitions.c | 3 +- shlibs/blkid/src/partitions/partitions.h | 1 + 5 files changed, 105 insertions(+), 2 deletions(-) commit 60ad0bbba55401daee3bfb7427474c211747a75c Author: Karel Zak Date: Wed Sep 16 16:10:43 2009 +0200 libblkid: add MS-DOS partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 4 +- shlibs/blkid/src/partitions/dos.c | 256 ++++++++++++++++++++++++++++++ shlibs/blkid/src/partitions/dos.h | 36 ++++ shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 1 + 5 files changed, 297 insertions(+), 1 deletions(-) commit 5c9204dc9f63fb80d369b2f094613914bae441eb Author: Karel Zak Date: Wed Sep 16 16:08:37 2009 +0200 libblkid: add MAC partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/mac.c | 178 ++++++++++++++++++++++++++++++ shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 1 + 4 files changed, 182 insertions(+), 1 deletions(-) commit 0e72876572ecb01267857d30d52868a1112bbdc7 Author: Karel Zak Date: Wed Sep 16 16:07:16 2009 +0200 libblkid: add SGI partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 1 + shlibs/blkid/src/partitions/sgi.c | 153 ++++++++++++++++++++++++++++++ 4 files changed, 157 insertions(+), 1 deletions(-) commit d23768d8ace32ecf5ba880a86fecb600dbc18aa5 Author: Karel Zak Date: Wed Sep 16 16:06:07 2009 +0200 libblkid: add SUN partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 1 + shlibs/blkid/src/partitions/sun.c | 168 ++++++++++++++++++++++++++++++ 4 files changed, 172 insertions(+), 1 deletions(-) commit cdb5fd18058591257c41621d9db68130fd37739a Author: Karel Zak Date: Wed Sep 16 16:04:38 2009 +0200 libblkid: add SOLARIS-X86 partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 1 + shlibs/blkid/src/partitions/solaris_x86.c | 146 +++++++++++++++++++++++++++++ 4 files changed, 150 insertions(+), 1 deletions(-) commit 85ecbfe737e03a08a8127397107f599414be0427 Author: Karel Zak Date: Wed Sep 16 16:02:28 2009 +0200 libblkid: add UNIXWARE partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/partitions.c | 3 +- shlibs/blkid/src/partitions/partitions.h | 1 + shlibs/blkid/src/partitions/unixware.c | 187 ++++++++++++++++++++++++++++++ 4 files changed, 192 insertions(+), 2 deletions(-) commit c472fc8e2fa8d5d3d7302f59bf7ade2cf7471128 Author: Karel Zak Date: Wed Sep 16 15:57:45 2009 +0200 libblkid: add BSD partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 3 +- shlibs/blkid/src/partitions/bsd.c | 239 ++++++++++++++++++++++++++++++ shlibs/blkid/src/partitions/partitions.c | 3 +- shlibs/blkid/src/partitions/partitions.h | 1 + 4 files changed, 244 insertions(+), 2 deletions(-) commit 02dc119b64355dcd9f7a4517920aca929cf2cfe2 Author: Karel Zak Date: Wed Sep 16 15:55:58 2009 +0200 libblkid: add AIX partitions support Signed-off-by: Karel Zak shlibs/blkid/src/partitions/Makefile.am | 4 ++- shlibs/blkid/src/partitions/aix.c | 58 ++++++++++++++++++++++++++++++ shlibs/blkid/src/partitions/aix.h | 7 ++++ shlibs/blkid/src/partitions/partitions.c | 1 + shlibs/blkid/src/partitions/partitions.h | 5 +++ 5 files changed, 74 insertions(+), 1 deletions(-) commit 48805d562ba48aa4a7c3e1a568a658df235d2620 Author: Karel Zak Date: Wed Sep 16 15:49:44 2009 +0200 libblkid: add partitions filter routines Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 5 +++ shlibs/blkid/src/blkid.sym | 3 ++ shlibs/blkid/src/partitions/partitions.c | 42 ++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 0 deletions(-) commit e4799a35bd44a4a20d672d566383533cbd2c9704 Author: Karel Zak Date: Wed Sep 16 15:39:14 2009 +0200 libblkid: add partitions parsing support This patch is large, but not invasive. There is a new code only. Signed-off-by: Karel Zak configure.ac | 1 + shlibs/blkid/src/Makefile.am | 3 +- shlibs/blkid/src/blkid.h | 52 ++ shlibs/blkid/src/blkid.sym | 19 + shlibs/blkid/src/blkidP.h | 3 +- shlibs/blkid/src/partitions/Makefile.am | 9 + shlibs/blkid/src/partitions/blkid_parttypes.h | 121 ++++ shlibs/blkid/src/partitions/partitions.c | 929 +++++++++++++++++++++++++ shlibs/blkid/src/partitions/partitions.h | 35 + shlibs/blkid/src/probe.c | 2 + 10 files changed, 1172 insertions(+), 2 deletions(-) commit e21677fe7dc247515554e702ddd5c048b57876cd Author: Karel Zak Date: Thu Jul 30 10:44:08 2009 +0200 libblkid: add samples/topology.c Signed-off-by: Karel Zak configure.ac | 1 + shlibs/blkid/Makefile.am | 2 +- shlibs/blkid/samples/.gitignore | 1 + shlibs/blkid/samples/Makefile.am | 7 +++ shlibs/blkid/samples/topology.c | 95 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+), 1 deletions(-) commit cc33d69328271f795e5b9ca7bd3f6500e0399acf Author: Karel Zak Date: Wed Sep 16 14:40:41 2009 +0200 libblkid: add topology support Signed-off-by: Karel Zak configure.ac | 1 + shlibs/blkid/src/Makefile.am | 7 +- shlibs/blkid/src/blkid.h | 19 ++ shlibs/blkid/src/blkid.sym | 5 + shlibs/blkid/src/blkidP.h | 4 +- shlibs/blkid/src/probe.c | 15 ++ shlibs/blkid/src/topology/Makefile.am | 7 + shlibs/blkid/src/topology/topology.c | 298 +++++++++++++++++++++++++++++++++ 8 files changed, 353 insertions(+), 3 deletions(-) commit 0d44d469e2fbac66299e4b53274da1201af518c0 Author: Karel Zak Date: Wed Sep 16 11:37:08 2009 +0200 libblkid: add blkid_devno_to_wholedisk() Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 2 + shlibs/blkid/src/blkid.sym | 1 + shlibs/blkid/src/devno.c | 149 +++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 149 insertions(+), 3 deletions(-) commit 1b780848b0db32b972dc542a2e86aed9127599a1 Author: Karel Zak Date: Mon Sep 14 23:33:01 2009 +0200 libblkid: use the new API in whole u-l-ng Signed-off-by: Karel Zak lib/fsprobe.c | 9 ++++++--- misc-utils/blkid.c | 14 +++++++++----- shlibs/blkid/src/evaluate.c | 4 +++- shlibs/blkid/src/superblocks/ext.c | 4 +++- shlibs/blkid/src/verify.c | 14 ++++++++------ 5 files changed, 29 insertions(+), 16 deletions(-) commit b227e3b7753019746f1e5ea70fc126c5a7b85bb8 Author: Karel Zak Date: Tue Sep 15 23:14:50 2009 +0200 libblkid: refresh blkid.{h,sym} Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 30 +++++++++++++++++++++--------- shlibs/blkid/src/blkid.sym | 16 ++++++++++++++++ 2 files changed, 37 insertions(+), 9 deletions(-) commit 22571ebbf4e14fae1e90e6ebc0ec86193605a57a Author: Karel Zak Date: Tue Sep 15 23:00:12 2009 +0200 libblkid: add generic function for binary data Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/probe.c | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 0 deletions(-) commit ce011388e1e7afa16b8051cdb870ebd9064017d5 Author: Karel Zak Date: Tue Sep 15 22:55:05 2009 +0200 libblkid: allow to read in sectors Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 2 ++ shlibs/blkid/src/probe.c | 7 +++++++ 2 files changed, 9 insertions(+), 0 deletions(-) commit f319b5cadd9f7f9b5d9f807faf645768aa8ecccc Author: Karel Zak Date: Tue Sep 15 22:53:25 2009 +0200 libblkid: allow to change dimension of probing area Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 6 ++++++ shlibs/blkid/src/probe.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 0 deletions(-) commit b3ee97a3c2c29be58219356979d17095b62d76f4 Author: Karel Zak Date: Tue Sep 15 22:50:11 2009 +0200 libblkid: add blkid_probe_get_{size,sectorsize,devno} Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 5 ++++ shlibs/blkid/src/probe.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 0 deletions(-) commit 4d72b3371845f8ab9775dd84bee0d174ac6334b7 Author: Karel Zak Date: Tue Sep 15 22:43:58 2009 +0200 libblkid: add missing comments to probe.c Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 82 +++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 73 insertions(+), 9 deletions(-) commit 0bffad4783398c3bcd289aa25c4074e6c1f23f8b Author: Karel Zak Date: Tue Sep 15 22:37:33 2009 +0200 libblkid: use chains in blkid_do_{safe,full,}_probe() Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 333 ++++++++++++++++++---------------------------- 1 files changed, 131 insertions(+), 202 deletions(-) commit 52448df8608b3d791f6a037948aa58ad2bc4145d Author: Karel Zak Date: Tue Sep 15 22:33:34 2009 +0200 libblkid: use chains in prober (de)initialization Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 117 +++++++++++++++++++++++++++++++++++---------- 1 files changed, 91 insertions(+), 26 deletions(-) commit 81f737929449e31b641d176638e030140e03911e Author: Karel Zak Date: Tue Sep 15 22:22:16 2009 +0200 libblkid: use private {lookup,get}_value functions Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 56 +++++++++++++++++++++++++++++---------------- 1 files changed, 36 insertions(+), 20 deletions(-) commit 1c1726a71e38b64573944109e7dddb2f31a245ba Author: Karel Zak Date: Tue Sep 15 22:18:31 2009 +0200 libblkid: remove superblock functions from probe.c Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 18 +-- shlibs/blkid/src/probe.c | 206 ++++----------------------- shlibs/blkid/src/superblocks/superblocks.c | 189 +++++++++++++++++++++++++ shlibs/blkid/src/superblocks/superblocks.h | 19 +++ 4 files changed, 243 insertions(+), 189 deletions(-) commit 305ad2237bd713e17a9712b30d35c8622e2f3bb7 Author: Karel Zak Date: Tue Sep 15 22:02:20 2009 +0200 libblkid: use superblock filter functions Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 119 ---------------------------- shlibs/blkid/src/superblocks/superblocks.c | 76 ++++++++++++++++++ 2 files changed, 76 insertions(+), 119 deletions(-) commit b7f9a38d7df9bec90b74c51807db5313214e2e5c Author: Karel Zak Date: Tue Sep 15 21:45:15 2009 +0200 libblkid: add superblocks filter functions Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/superblocks.c | 117 ++++++++++++++++++++++++++++ 1 files changed, 117 insertions(+), 0 deletions(-) commit 8287d790f1b439213495e276d26696217f5d3151 Author: Karel Zak Date: Tue Sep 15 21:42:07 2009 +0200 libblkid: move blkid_known_fstype() to superblocks.c Signed-off-by: Karel Zak shlibs/blkid/src/probe.c | 15 --------------- shlibs/blkid/src/superblocks/superblocks.c | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) commit 0e89abac8b8ba5badbea987fc3a578c31a6fe3c4 Author: Karel Zak Date: Tue Sep 15 21:38:46 2009 +0200 libblkid: add superblocks chain Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/Makefile.am | 1 + shlibs/blkid/src/superblocks/superblocks.c | 301 ++++++++++++++++++++++++++++ 2 files changed, 302 insertions(+), 0 deletions(-) commit 5657c25a51b7c3dacaa34f61d81e3c883d774414 Author: Karel Zak Date: Tue Sep 15 21:37:03 2009 +0200 libblkid: add BLKID_SUBLKS_* flags Signed-off-by: Karel Zak shlibs/blkid/src/blkid.h | 50 ++++++++++++++++++++++++++++++--------------- 1 files changed, 33 insertions(+), 17 deletions(-) commit 46a734fd11fd079bd4ea450bc3a165d1df68a957 Author: Karel Zak Date: Tue Sep 15 21:31:07 2009 +0200 libblkid: add generic filter functions Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 6 ++ shlibs/blkid/src/probe.c | 125 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+), 0 deletions(-) commit 9bdf688541df79d2a0885a6d2f7ca4836360efa9 Author: Karel Zak Date: Tue Sep 15 21:27:54 2009 +0200 libblkid: add functions for chain tags Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 8 +++++ shlibs/blkid/src/probe.c | 64 ++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 69 insertions(+), 3 deletions(-) commit 924fe7475f97862f3b423b1f998999314d36283b Author: Karel Zak Date: Tue Sep 15 21:12:55 2009 +0200 libblkid: add chain structs Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 109 ++++++++++++++++++++++++++++++++++----------- shlibs/blkid/src/probe.c | 2 +- 2 files changed, 84 insertions(+), 27 deletions(-) commit f23e05578a84eac60a64b1ccfde4df661b40f1ad Author: Karel Zak Date: Tue Sep 15 20:51:30 2009 +0200 libblkid: move filter macros to header file * move blkid_bmp_* macros to blkidP.h * add blkid_bmp_nbytes() -- returns size of bitmap in bytes * add blkid_bmp_nwords() -- returns size of bitmap in words (rename from blkid_bmp_size()) Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 21 +++++++++++++++++++++ shlibs/blkid/src/probe.c | 20 +------------------- 2 files changed, 22 insertions(+), 19 deletions(-) commit 6db756a54898e51d447587692a0e1532e474edcd Author: Karel Zak Date: Tue Sep 15 20:45:47 2009 +0200 libblkid: create a generic blkid_encode_to_utf8() Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 3 +++ shlibs/blkid/src/encode.c | 35 +++++++++++++++++++++++++++++++++++ shlibs/blkid/src/probe.c | 37 +------------------------------------ 3 files changed, 39 insertions(+), 36 deletions(-) commit 201529bd71b0a20f2303be4f0b839af59ecf43c2 Author: Karel Zak Date: Tue Sep 15 20:36:46 2009 +0200 libblkid: create a generic blkid_unparse_uuid() Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 2 ++ shlibs/blkid/src/probe.c | 36 +++++++++++++++++++++--------------- 2 files changed, 23 insertions(+), 15 deletions(-) commit 1e3cf6a27c630443c016192801d98254ac886b6f Author: Karel Zak Date: Tue Jul 28 14:11:45 2009 +0200 libblkid: use superblocks.h Signed-off-by: Karel Zak shlibs/blkid/src/superblocks/adaptec_raid.c | 2 +- shlibs/blkid/src/superblocks/btrfs.c | 2 +- shlibs/blkid/src/superblocks/cramfs.c | 2 +- shlibs/blkid/src/superblocks/ddf_raid.c | 2 +- shlibs/blkid/src/superblocks/ext.c | 2 +- shlibs/blkid/src/superblocks/gfs.c | 2 +- shlibs/blkid/src/superblocks/hfs.c | 2 +- shlibs/blkid/src/superblocks/highpoint_raid.c | 2 +- shlibs/blkid/src/superblocks/hpfs.c | 2 +- shlibs/blkid/src/superblocks/iso9660.c | 2 +- shlibs/blkid/src/superblocks/isw_raid.c | 2 +- shlibs/blkid/src/superblocks/jfs.c | 2 +- shlibs/blkid/src/superblocks/jmicron_raid.c | 2 +- shlibs/blkid/src/superblocks/linux_raid.c | 2 +- shlibs/blkid/src/superblocks/lsi_raid.c | 2 +- shlibs/blkid/src/superblocks/luks.c | 2 +- shlibs/blkid/src/superblocks/lvm.c | 2 +- shlibs/blkid/src/superblocks/minix.c | 2 +- shlibs/blkid/src/superblocks/netware.c | 2 +- shlibs/blkid/src/superblocks/ntfs.c | 2 +- shlibs/blkid/src/superblocks/nvidia_raid.c | 2 +- shlibs/blkid/src/superblocks/ocfs.c | 2 +- shlibs/blkid/src/superblocks/promise_raid.c | 2 +- shlibs/blkid/src/superblocks/reiserfs.c | 2 +- shlibs/blkid/src/superblocks/romfs.c | 2 +- shlibs/blkid/src/superblocks/silicon_raid.c | 2 +- shlibs/blkid/src/superblocks/squashfs.c | 2 +- shlibs/blkid/src/superblocks/superblocks.h | 10 ++++++---- shlibs/blkid/src/superblocks/swap.c | 2 +- shlibs/blkid/src/superblocks/sysv.c | 2 +- shlibs/blkid/src/superblocks/udf.c | 2 +- shlibs/blkid/src/superblocks/ufs.c | 2 +- shlibs/blkid/src/superblocks/vfat.c | 2 +- shlibs/blkid/src/superblocks/via_raid.c | 2 +- shlibs/blkid/src/superblocks/vxfs.c | 2 +- shlibs/blkid/src/superblocks/xfs.c | 2 +- shlibs/blkid/src/superblocks/zfs.c | 2 +- 37 files changed, 42 insertions(+), 40 deletions(-) commit 219227c263ac15de91633f81ab6a536f5c8aa57e Author: Karel Zak Date: Wed Jul 22 23:21:27 2009 +0200 libblkid: move FS/raid stuff to superblocks directory Signed-off-by: Karel Zak configure.ac | 2 +- shlibs/blkid/src/Makefile.am | 6 +- shlibs/blkid/src/probe.c | 3 +- shlibs/blkid/src/probers/Makefile.am | 43 -- shlibs/blkid/src/probers/adaptec_raid.c | 107 ----- shlibs/blkid/src/probers/btrfs.c | 92 ---- shlibs/blkid/src/probers/cramfs.c | 62 --- shlibs/blkid/src/probers/ddf_raid.c | 74 ---- shlibs/blkid/src/probers/ext.c | 571 ------------------------- shlibs/blkid/src/probers/gfs.c | 129 ------ shlibs/blkid/src/probers/hfs.c | 313 -------------- shlibs/blkid/src/probers/highpoint_raid.c | 64 --- shlibs/blkid/src/probers/hpfs.c | 122 ------ shlibs/blkid/src/probers/iso9660.c | 133 ------ shlibs/blkid/src/probers/isw_raid.c | 60 --- shlibs/blkid/src/probers/jfs.c | 70 --- shlibs/blkid/src/probers/jmicron_raid.c | 59 --- shlibs/blkid/src/probers/linux_raid.c | 167 ------- shlibs/blkid/src/probers/lsi_raid.c | 55 --- shlibs/blkid/src/probers/luks.c | 66 --- shlibs/blkid/src/probers/lvm.c | 176 -------- shlibs/blkid/src/probers/minix.c | 51 --- shlibs/blkid/src/probers/netware.c | 97 ----- shlibs/blkid/src/probers/ntfs.c | 184 -------- shlibs/blkid/src/probers/nvidia_raid.c | 60 --- shlibs/blkid/src/probers/ocfs.c | 210 --------- shlibs/blkid/src/probers/probers.h | 61 --- shlibs/blkid/src/probers/promise_raid.c | 63 --- shlibs/blkid/src/probers/reiserfs.c | 126 ------ shlibs/blkid/src/probers/romfs.c | 51 --- shlibs/blkid/src/probers/silicon_raid.c | 77 ---- shlibs/blkid/src/probers/squashfs.c | 68 --- shlibs/blkid/src/probers/swap.c | 149 ------- shlibs/blkid/src/probers/sysv.c | 141 ------ shlibs/blkid/src/probers/udf.c | 159 ------- shlibs/blkid/src/probers/ufs.c | 225 ---------- shlibs/blkid/src/probers/vfat.c | 364 ---------------- shlibs/blkid/src/probers/via_raid.c | 82 ---- shlibs/blkid/src/probers/vxfs.c | 41 -- shlibs/blkid/src/probers/xfs.c | 63 --- shlibs/blkid/src/probers/zfs.c | 66 --- shlibs/blkid/src/superblocks/Makefile.am | 43 ++ shlibs/blkid/src/superblocks/adaptec_raid.c | 107 +++++ shlibs/blkid/src/superblocks/btrfs.c | 92 ++++ shlibs/blkid/src/superblocks/cramfs.c | 62 +++ shlibs/blkid/src/superblocks/ddf_raid.c | 74 ++++ shlibs/blkid/src/superblocks/ext.c | 571 +++++++++++++++++++++++++ shlibs/blkid/src/superblocks/gfs.c | 129 ++++++ shlibs/blkid/src/superblocks/hfs.c | 313 ++++++++++++++ shlibs/blkid/src/superblocks/highpoint_raid.c | 64 +++ shlibs/blkid/src/superblocks/hpfs.c | 122 ++++++ shlibs/blkid/src/superblocks/iso9660.c | 133 ++++++ shlibs/blkid/src/superblocks/isw_raid.c | 60 +++ shlibs/blkid/src/superblocks/jfs.c | 70 +++ shlibs/blkid/src/superblocks/jmicron_raid.c | 59 +++ shlibs/blkid/src/superblocks/linux_raid.c | 167 +++++++ shlibs/blkid/src/superblocks/lsi_raid.c | 55 +++ shlibs/blkid/src/superblocks/luks.c | 66 +++ shlibs/blkid/src/superblocks/lvm.c | 176 ++++++++ shlibs/blkid/src/superblocks/minix.c | 51 +++ shlibs/blkid/src/superblocks/netware.c | 97 +++++ shlibs/blkid/src/superblocks/ntfs.c | 184 ++++++++ shlibs/blkid/src/superblocks/nvidia_raid.c | 60 +++ shlibs/blkid/src/superblocks/ocfs.c | 210 +++++++++ shlibs/blkid/src/superblocks/promise_raid.c | 63 +++ shlibs/blkid/src/superblocks/reiserfs.c | 126 ++++++ shlibs/blkid/src/superblocks/romfs.c | 51 +++ shlibs/blkid/src/superblocks/silicon_raid.c | 77 ++++ shlibs/blkid/src/superblocks/squashfs.c | 68 +++ shlibs/blkid/src/superblocks/superblocks.h | 61 +++ shlibs/blkid/src/superblocks/swap.c | 149 +++++++ shlibs/blkid/src/superblocks/sysv.c | 141 ++++++ shlibs/blkid/src/superblocks/udf.c | 159 +++++++ shlibs/blkid/src/superblocks/ufs.c | 225 ++++++++++ shlibs/blkid/src/superblocks/vfat.c | 364 ++++++++++++++++ shlibs/blkid/src/superblocks/via_raid.c | 82 ++++ shlibs/blkid/src/superblocks/vxfs.c | 41 ++ shlibs/blkid/src/superblocks/xfs.c | 63 +++ shlibs/blkid/src/superblocks/zfs.c | 66 +++ 79 files changed, 4707 insertions(+), 4706 deletions(-) commit 71cd5d8a775d98e93f7583210a5b53c52b4ec34f Author: Karel Zak Date: Mon Sep 14 10:24:07 2009 +0200 libblkid: fix typo (swsupend -> swsuspend) Signed-off-by: Karel Zak shlibs/blkid/src/probers/swap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 96f3bfbc7cbe4a96be60337bb58c361042b6df68 Author: Karel Zak Date: Fri Sep 11 14:08:40 2009 +0200 mount: more explicitly explain 'strictatime' in mount.8 Signed-off-by: Karel Zak mount/mount.8 | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) commit 1f1614f6a89de4b06e1843d0fadbca3f8a5521fe Author: Karel Zak Date: Fri Sep 11 14:00:50 2009 +0200 sfdisk: dump has to be $LANG insensitive This stupid bug has been introduced by: commit add5133f4ad5136aac3ce7627e615d14893d0aeb Author: Pedro Ribeiro Date: Fri Oct 3 08:52:35 2008 +0200 fdisk: several strings without gettext calls ... so it shows that we need to improve our review process... :-( Address-Red-Hat-Bug: #522718 Signed-off-by: Karel Zak fdisk/sfdisk.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 85e8fce89ba260b15571ab9751bca8ceec6ca873 Author: Milan Broz Date: Mon Sep 7 12:47:04 2009 +0200 libuuid: remove .UE macro from libuuid man pages. On some system it produces insertion of "()". There is missing .UR anyway. [kzak@redhat.com: - this is u-l-ng bug, we don't use UR+UE macros like the original man pages in e2fsprogs] Signed-off-by: Milan Broz shlibs/uuid/man/uuid.3 | 1 - shlibs/uuid/man/uuid_clear.3 | 1 - shlibs/uuid/man/uuid_compare.3 | 1 - shlibs/uuid/man/uuid_copy.3 | 1 - shlibs/uuid/man/uuid_generate.3 | 1 - shlibs/uuid/man/uuid_is_null.3 | 1 - shlibs/uuid/man/uuid_parse.3 | 1 - shlibs/uuid/man/uuid_time.3 | 1 - shlibs/uuid/man/uuid_unparse.3 | 1 - 9 files changed, 0 insertions(+), 9 deletions(-) commit fe8bf220a9ea0dab156fba6c7b22c45e3ada416c Author: Jan Sarenik Date: Wed Sep 2 20:03:20 2009 +0200 docs: README width and language correction Signed-off-by: Jan Sarenik README | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit a88c48b4096c91ead0ff22c2079619f553e3cfe8 Author: Jan Sarenik Date: Wed Sep 2 20:03:19 2009 +0200 cfdisk: more key alternatives Signed-off-by: Jan Sarenik fdisk/cfdisk.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit 1da17ec6c1a22ae15fd4bf219d693e612b4bfe58 Author: Paul Fox Date: Thu Aug 13 11:35:53 2009 -0400 rtcwake: ignore the tm_isdst field returned from the RTC Signed-off-by: Paul Fox sys-utils/rtcwake.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fa2b1cb32e67d7257b319206ff1bc90a40a770de Author: Karel Zak Date: Thu Aug 6 10:34:36 2009 +0200 partx: work properly with 512 sectors (dos PT) Signed-off-by: Karel Zak partx/dos.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 77f5744c982cd57b1bf1181f8f37023512236902 Author: Karel Zak Date: Tue Aug 18 15:48:34 2009 +0200 rtcwake: add S5 support Based on patch from Piergiorgio Sartor at https://bugzilla.redhat.com/show_bug.cgi?id=449115 Piergiorgio's note about S5: > According to the ACPI specifications, chapter 4.7.2.4 "Real Time > Clock Alarm", the wakeup from RTC, when supported, should work from > *sleep* state S1-S3 and, optionally, from S4. > > Note 3 (same chapter) says that S5 is *not* a sleep state and should > not be supported. Actually it also says that: "The OS will disable > the RTC_EN bit prior to entering the G2/S5 or G3 states regardless." > > Nevertheless, on all PC supporting the RTC wakeup I tested, all were > able to wake from S5. Signed-off-by: Karel Zak include/pathnames.h | 1 + sys-utils/rtcwake.8 | 4 ++++ sys-utils/rtcwake.c | 24 +++++++++++++++++++++++- 3 files changed, 28 insertions(+), 1 deletions(-) commit 3216beb062707fd8a078ae5991fb17831399865b Author: Karel Zak Date: Mon Sep 7 08:59:27 2009 +0200 mkswap: fix memory leaks, cleanup check_blocks() Signed-off-by: Karel Zak disk-utils/mkswap.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) commit adda7f7ecd53eef1074d8ea531b635c322507a7f Author: Peter De Wachter Date: Sat Sep 5 21:19:56 2009 +0200 mkswap: unbreak -c ("check") option. In the check_blocks() loop, current_page is not incremented. Because of this bug, the loop does not end when the end of the device is reached. Instead it tries to continue reading, which of course fails, and eventually mkswap aborts ("too many bad pages"). Note that this can only be tested with swap partitions, mkswap ignores the -c option for swap files. Signed-off-by: Peter De Wachter disk-utils/mkswap.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 3096d61a916feffff300b9e1ce8ca57f7fdbf2bc Author: Florian Zumbiehl Date: Wed Sep 2 22:52:55 2009 +0200 libblkid: fix buffer overflow in blkid_encode_string() [kzak@redhat.com: - this is patch is originally from udev repository commit 8cfcf9980a3a7037a12a3052c38e4981cb0f0190] Signed-off-by: Karel Zak shlibs/blkid/src/encode.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit e94e99523d8a3d0218fe16b0a7a2c5886ccbc652 Author: Karel Zak Date: Sun Aug 23 20:33:10 2009 +0200 libblkid: add *.ko.gz support to modules.dep parser Address-Red-Hat-Bug: #518572 Signed-off-by: Karel Zak shlibs/blkid/src/probers/ext.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 437fa54f0516b39b633937fc20ff24c0dcc44bd7 Author: Daniel Mierswa Date: Mon Aug 17 21:22:02 2009 +0200 replace usleep() for systems that don't have them This function is marked obsolete in POSIX.1-2001 and removed in POSIX.1-2008. Conditionally replaced with nanosleep(). Signed-off-by: Daniel Mierswa configure.ac | 1 + hwclock/kd.c | 1 + include/Makefile.am | 1 + include/usleep.h | 18 ++++++++++++++++++ login-utils/shutdown.c | 1 + mount/fstab.c | 1 + sys-utils/rtcwake.c | 1 + text-utils/tailf.c | 1 + 8 files changed, 25 insertions(+), 0 deletions(-) commit 102f5d89d942ee54c5b9a5adfb04df8a5b09177f Author: Karel Zak Date: Thu Aug 20 15:46:10 2009 +0200 hwclocks: use time limit for KDGHWCLK busy wait Currently the busy wait in synchronize_to_clock_tick_kd() is restricted by number of loops. It's better to use time limit (1.5s). We already use this method for RTC. Signed-off-by: Karel Zak hwclock/kd.c | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) commit 3f99aaf1c95fa39e54d27324da777ebd3721c7de Author: Peter Volkov Date: Tue Aug 18 14:21:33 2009 +0200 mount: mention mtab for single mount point mount in mount.8 Karel Zak wrote: "This is very old (10+years) feature. The mount(8) is trying to found mountpoint/device in fstab and then in mtab. I guess the original purpose for this feature is user-friendly 'mount /node -o remount'. Unfortunately, the code does not check for MS_REMOUNT flag and consults mtab in all cases. (The code is consulting fstab/mtab before mount options parsing.)" This commit documents this feature. Signed-off-by: Karel Zak mount/mount.8 | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit d0d4a999c53efa94fb7c3016aa706711493304b9 Author: Karel Zak Date: Tue Aug 18 10:56:56 2009 +0200 mount: clean up mount.8 Signed-off-by: Karel Zak mount/mount.8 | 201 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 101 insertions(+), 100 deletions(-) commit 8fb94e0d97f5a95553eeb149158af02031c1a058 Author: Karel Zak Date: Tue Aug 18 10:53:15 2009 +0200 Revert "mount: clean up mount.8" This reverts commit 98c7944b52c54c86fb5b9d73fbead9442bfa0e30. Unfortunately, the patch has been committed by "git commit -a" and includes unwanted changes in configure.ac and sys-utils/Makefile.am... Sorry. configure.ac | 3 - mount/mount.8 | 201 ++++++++++++++++++++++++------------------------- sys-utils/Makefile.am | 7 -- 3 files changed, 100 insertions(+), 111 deletions(-) commit 98c7944b52c54c86fb5b9d73fbead9442bfa0e30 Author: Karel Zak Date: Mon Aug 17 17:40:04 2009 +0200 mount: clean up mount.8 * use "filesystem" everywhere (currently, the mount.8 man page is inconsistent and uses "file system" and "filesystem") * fix "The extN" to "The extN filesystem" (reported by Theodore Tso) Signed-off-by: Karel Zak configure.ac | 3 + mount/mount.8 | 201 +++++++++++++++++++++++++------------------------ sys-utils/Makefile.am | 7 ++ 3 files changed, 111 insertions(+), 100 deletions(-) commit d5ea216bf6a5f294984b56da51fc3e09e822247d Author: Karel Zak Date: Mon Aug 17 15:35:13 2009 +0200 mount: add info about ext{3,4} barriers to mount.8 Signed-off-by: Karel Zak mount/mount.8 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit d7c966543315a1a7e1d2cff8885f409f5c468c4d Author: Zdenek Behan Date: Wed Aug 12 23:55:16 2009 +0200 tests: test for basic functionality of sun labels Tests the following: * Creation and deletion of first two partitions * setting sysid to one (randomly chosen) value * setting readonly/mountable flags Signed-off-by: Zdenek Behan tests/expected/fdisk/sunlabel | 16 +++++++++ tests/ts/fdisk/sunlabel | 74 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 0 deletions(-) commit 9129bc47b04d58c5b12ce804f60381c8d3ba59d6 Author: Zdenek Behan Date: Mon Aug 3 03:54:11 2009 +0200 tests: fdisk doslabel test also checks setting partition active * Yet another test, this time for setting active partition Signed-off-by: Zdenek Behan tests/expected/fdisk/doslabel | 2 ++ tests/ts/fdisk/doslabel | 6 ++++++ 2 files changed, 8 insertions(+), 0 deletions(-) commit 28290b756d5409efcab56d863780b9ce52ea4592 Author: Zdenek Behan Date: Mon Aug 3 03:46:27 2009 +0200 tests: fdisk doslabel test also checks changing partition type * Changed apostrophes around test commands to quotes, this makes vim syntax highlighting more happy, and makes the newlines stand out. * Added check for changing partition type. After the change is done and checked, the partition is deleted and re-created to not mess with the other md5's already in place... Signed-off-by: Zdenek Behan tests/expected/fdisk/doslabel | 4 ++++ tests/ts/fdisk/doslabel | 29 ++++++++++++++++++++--------- 2 files changed, 24 insertions(+), 9 deletions(-) commit c45b8d6ae09455cf325fa8839ce51838b893c89a Author: Peter Breitenlohner Date: Wed Jul 22 11:29:50 2009 +0200 fsck.8: formatting Signed-off-by: Peter Breitenlohner fsck/fsck.8 | 181 ++++++++++++++++++++++++++++------------------------------- 1 files changed, 86 insertions(+), 95 deletions(-) commit 7c7c2e5d1940257503aaa19336062af174ce958a Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 ionice.1: formatting Signed-off-by: Peter Breitenlohner schedutils/ionice.1 | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) commit 93f9a8e4da9092ac8cef0e8cd365465485e9ca99 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 hwclock.8: formatting Signed-off-by: Peter Breitenlohner hwclock/hwclock.8 | 47 ++++++++++++++++++++++++----------------------- 1 files changed, 24 insertions(+), 23 deletions(-) commit 09a47014692d18662af4d419c99c5042b9c1285e Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 getopt.1: formatting Signed-off-by: Peter Breitenlohner getopt/getopt.1 | 340 +++++++++++++++++++++++++++++-------------------------- 1 files changed, 181 insertions(+), 159 deletions(-) commit 302e7b1843c170db397d98073dba0f221bb21514 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 swapon.8: formatting Signed-off-by: Peter Breitenlohner mount/swapon.8 | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) commit e8edef4740dc3592294eab29844f1513c45aac64 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 mount.8: formatting Signed-off-by: Peter Breitenlohner mount/mount.8 | 188 +++++++++++++++++++++++++++++++++----------------------- 1 files changed, 111 insertions(+), 77 deletions(-) commit f7963004763cabd9256e92cd9acc1737df8181c4 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 losetup.8: formatting Signed-off-by: Peter Breitenlohner mount/losetup.8 | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) commit 3bd8d70c44f8ba3aadfca7756a1e6a4a3afd5a45 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 fstab.5: formatting Signed-off-by: Peter Breitenlohner mount/fstab.5 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 30a07f7ed25175a0b6f1152b206f55ae128b0613 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 pg.1: formatting Signed-off-by: Peter Breitenlohner text-utils/pg.1 | 26 +++++++++++--------------- 1 files changed, 11 insertions(+), 15 deletions(-) commit b4e87bfaf4872fdc036d4d5007b42febf5d299d0 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 more.1: formatting Signed-off-by: Peter Breitenlohner text-utils/more.1 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit b61dfcf555b8afb048367a4e6f200d5449b575bd Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 sfdisk.8: formatting Signed-off-by: Peter Breitenlohner fdisk/sfdisk.8 | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) commit 57bc47072876adedd90f9f5d204a1524f36400e1 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 fdisk.8: formatting Signed-off-by: Peter Breitenlohner fdisk/fdisk.8 | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) commit 46554928f69863d6cbdca8883f071b63ab1fc767 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 cfdisk.8: formatting Signed-off-by: Peter Breitenlohner fdisk/cfdisk.8 | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) commit 5b620ebd4f453ddac23b24518df42a5225411ef6 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 partx.8: formatting Signed-off-by: Peter Breitenlohner partx/partx.8 | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 06191c0fced3a300566ec618f0e6097440bb830b Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 delpart.8: formatting Signed-off-by: Peter Breitenlohner partx/delpart.8 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 50a468cf6a663c16f5e0c7392929db4a11b363f8 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 addpart.8: formatting Signed-off-by: Peter Breitenlohner partx/addpart.8 | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit dc21efac31df97cc8035c2307529b8ee30a26aed Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 simpleinit.8: formatting Signed-off-by: Peter Breitenlohner login-utils/simpleinit.8 | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit ac4aadf9734d1f916fbfd9eeedf08193bafc2cf3 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 shutdown.8: formatting Signed-off-by: Peter Breitenlohner login-utils/shutdown.8 | 42 ++++++++++++++++++++++++++++++++---------- 1 files changed, 32 insertions(+), 10 deletions(-) commit c6447b6d14f6dd9e90eaaedf6d51b78f4d0e9d02 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 newgrp.1: formatting Signed-off-by: Peter Breitenlohner login-utils/newgrp.1 | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 8d6047001baafeeeb5611917407677b54fb2704e Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 mesg.1: formatting Signed-off-by: Peter Breitenlohner login-utils/mesg.1 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit dfa815f92652a4e3f53c0b3a65cba4322d1456d6 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:05 2009 +0200 last.1: formatting Signed-off-by: Peter Breitenlohner login-utils/last.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit caab730c3f0c5a8bbb5c7d23560f4d176d893145 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 initctl.8: formatting Signed-off-by: Peter Breitenlohner login-utils/initctl.8 | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) commit 2054a2b01c304bd65e75850cecdc49d80b1195dd Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 chsh.1: formatting Signed-off-by: Peter Breitenlohner login-utils/chsh.1 | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) commit 3e1dd9e846ef938e9a315737ba772ec394cce015 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 chfn.1: formatting Signed-off-by: Peter Breitenlohner login-utils/chfn.1 | 29 +++++++++++++++++++---------- 1 files changed, 19 insertions(+), 10 deletions(-) commit e584ccb86377164c58d9e91ceb7a67dc8994a1a6 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 mkswap.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/mkswap.8 | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) commit f881abbc161b9c07150ca538c03dcf5e69106ab9 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 mkfs.minix.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/mkfs.minix.8 | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) commit a9808f775b91bc5c82de3834846e373501da5fa3 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 mkfs.bfs.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/mkfs.bfs.8 | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) commit 281bb40d3bcf9b76e50ab7e522e41f3dca3343ea Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 isosize.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/isosize.8 | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) commit a37daa527e7fe43256b5874271948721e72e8732 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 fsck.minix.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/fsck.minix.8 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 0e83eb2fe4d7c85de5fd64e20be95c24f5aa0069 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 fdformat.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/fdformat.8 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d42f738783568146c748d76fa9e06c4aa5a28194 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 elvtune.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/elvtune.8 | 33 +++++++++++---------------------- 1 files changed, 11 insertions(+), 22 deletions(-) commit feae57c9e5ed8a619ec52c3c3f3bbe4e803e0f37 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 blockdev.8: formatting Signed-off-by: Peter Breitenlohner disk-utils/blockdev.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 19046308b60c53ef7c95dd015a917f9fcea17769 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 write.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/write.1 | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit fd5ccc69697e207d43ad3bcb6a075b812a1e97a8 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 whereis.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/whereis.1 | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) commit e173df711386721c9f74d2e2915361250eec8168 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 uuidgen.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/uuidgen.1 | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) commit aefd84226ede04e9b53f829b3f66433268a9bb7d Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 uuidd.8: formatting Signed-off-by: Peter Breitenlohner misc-utils/uuidd.8 | 44 ++++++++++++++------------------------------ 1 files changed, 14 insertions(+), 30 deletions(-) commit 9c933aa39eacbfa78ebd6cb70d3329286271f253 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 setterm.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/setterm.1 | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) commit fc6b5e0daa4c71c008cb1b118f76549df6a5b67d Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 scriptreplay.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/scriptreplay.1 | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) commit 74bb20ebb7291e62bf7959aa949e1cf525ea24a7 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 reset.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/reset.1 | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit f736d38534b951125996369f3ebe9285cffa8adf Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 rename.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/rename.1 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 3eca4291b9d92357de139d91a631c8fae4e7b94d Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 namei.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/namei.1 | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) commit 894aa2f20c706d2f70e3557f67f681797a3a9c06 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 mcookie.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/mcookie.1 | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit b0315e1fab7beee847e4ddc06428ddcc7ce51a64 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 kill.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/kill.1 | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit 1fb6af914938e62821578c60d961e0d700c75688 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 ddate.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/ddate.1 | 30 ++++++++++++++++-------------- 1 files changed, 16 insertions(+), 14 deletions(-) commit eb3395852b78b84578ac237a57e6cd17b2e105e7 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 cal.1: formatting Signed-off-by: Peter Breitenlohner misc-utils/cal.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 67925e349e44ffff4d38aa5b4c96e921d5df5ce7 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 tunelp.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/tunelp.8 | 59 +++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 43 insertions(+), 16 deletions(-) commit 07de218c579052fbaf364be6d897d31c5eabeb14 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 switch_root.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/switch_root.8 | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 5293ad1ae9db88e4075e00b98801e113a331e993 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 setsid.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/setsid.1 | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 181ebbb360915e825d91bb231643ee1d5f8fe3df Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 setarch.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/setarch.8 | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit 1955cf604769ee06b47ce1d7b77b66fdb794139d Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 rtcwake.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/rtcwake.8 | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) commit 267ab0bf080ca685876d7807758c9fe11fd95552 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 renice.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/renice.1 | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit fd22da56a63dde7f316975ffb06818c5cc81245b Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 readprofile.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/readprofile.1 | 38 ++++++++++++++++++-------------------- 1 files changed, 18 insertions(+), 20 deletions(-) commit 887b4d2c43844fa128ead48f6c1688aba91d6cef Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 rdev.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/rdev.8 | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 39 insertions(+), 11 deletions(-) commit 489625121b37fddfbf2cf87d18af2bcce890f503 Author: Peter Breitenlohner Date: Wed Jul 22 11:29:04 2009 +0200 pivot_root.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/pivot_root.8 | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) commit e7a5546c6c36e760ba9fb16bf92fb3fd6396ac2e Author: Peter Breitenlohner Date: Wed Jul 22 11:19:19 2009 +0200 lscpu.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/lscpu.1 | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 0b1b24999ed07af89196fce35662437c998b9c63 Author: Peter Breitenlohner Date: Wed Jul 22 11:18:42 2009 +0200 ldattach.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/ldattach.8 | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) commit 71d8702954f4dfdbf5ce7aef16cd10dc8c0d1076 Author: Peter Breitenlohner Date: Wed Jul 22 11:18:14 2009 +0200 ipcs.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/ipcs.1 | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) commit 0063ce9c5ade9bee375428496ad5b447860aa528 Author: Peter Breitenlohner Date: Wed Jul 22 11:17:59 2009 +0200 ipcrm.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/ipcrm.1 | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) commit 1c5115a9452674cfcb2f4e7525e47d043f1d2cab Author: Peter Breitenlohner Date: Wed Jul 22 11:17:42 2009 +0200 ipcmk.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/ipcmk.1 | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) commit 74fda19ea3fb11f604d566c8c93f5b8e892c6413 Author: Peter Breitenlohner Date: Wed Jul 22 11:17:15 2009 +0200 dmesg.1: formatting Signed-off-by: Peter Breitenlohner sys-utils/dmesg.1 | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit 8cd1bc97b4c244ce7291f279fbb1802fe72303b8 Author: Peter Breitenlohner Date: Wed Jul 22 11:16:45 2009 +0200 ctrlaltdel.8: formatting Signed-off-by: Peter Breitenlohner sys-utils/ctrlaltdel.8 | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 711387a6c5d987fa50bfdd0bf3d082fba708b84d Author: Peter Breitenlohner Date: Wed Jul 22 11:16:12 2009 +0200 ul.1: erroneous .SH instead of .Sh Signed-off-by: Peter Breitenlohner text-utils/ul.1 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit c86fd099557374f869c8e8725bc961a6e754ceb3 Author: Peter Breitenlohner Date: Wed Jul 22 11:15:42 2009 +0200 hexdump.1: erroneous .Nm "" Signed-off-by: Peter Breitenlohner text-utils/hexdump.1 | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit be71078bd54d1154163213b9d82cc28257e7a0d1 Author: Peter Breitenlohner Date: Wed Jul 22 11:14:56 2009 +0200 cytune.8: missing description of `-S', formatting Signed-off-by: Peter Breitenlohner sys-utils/cytune.8 | 64 ++++++++++++++++++++++++++++++++------------------- 1 files changed, 40 insertions(+), 24 deletions(-) commit 8543b47b3234d0ffb73a5ea217f2c7d8711214d9 Author: Peter Breitenlohner Date: Wed Jul 22 11:14:16 2009 +0200 umount.8: command line for umount helpers, formatting Signed-off-by: Peter Breitenlohner mount/umount.8 | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) commit 2fd71e528339b5282ed2e7f18292eeff24dc25ce Author: Peter Breitenlohner Date: Wed Jul 22 11:13:49 2009 +0200 vipw.8: remove erroneous empty line, formatting Signed-off-by: Peter Breitenlohner login-utils/vipw.8 | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) commit 039f35318bf506c7c37df684f747c2fd88f70b5f Author: Peter Breitenlohner Date: Wed Jul 22 11:13:21 2009 +0200 mkfs.8: incomplete sentence and formatting Signed-off-by: Peter Breitenlohner disk-utils/mkfs.8 | 27 ++++++++++----------------- 1 files changed, 10 insertions(+), 17 deletions(-) commit e6c379eb8d598321ad70d15ae13a087c53d715ab Author: Karel Zak Date: Mon Aug 17 11:37:27 2009 +0200 dmesg: add -r to help output On Tue, Aug 04, 2009 at 05:52:38PM +0200, Dalibor Straka wrote: > while I was reading the source, I've noticed missing option in the > help message for "-r". So I'm sending one-line patch for dmesg. Reported-by: Dalibor Straka Signed-off-by: Karel Zak sys-utils/dmesg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4b267faa93ff90d3477bb0aa96227bb3c3e24fc7 Author: Hendrik Lönngren Date: Thu Aug 13 20:15:49 2009 +0200 po: fix grammar glitch in german translation Removed an erroneous plural ending from the German translation for "sectors/track" in fdisk, which currently would read "sectors/tracks". Signed-off-by: Hendrik Lönngren po/de.po | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9690e108903a90a5637ef38fd8f2e57b4f956bf0 Author: Daniel Mierswa Date: Mon Aug 17 07:43:10 2009 +0200 libblkid: allow linking with uClibc uClibc uses lseek64 as llseek, so use it. Signed-off-by: Daniel Mierswa shlibs/blkid/src/llseek.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c0f19ccff73aa0ec5e9f3b61b932ea4a8bf4e6ed Author: Daniel Mierswa Date: Mon Aug 17 07:27:39 2009 +0200 replace bcopy,bzero,index and rindex Those 4 functions are marked as LEGACY in POSIX.1-2001 and removed in POSIX.1-2008. Replaced with memmove,memset,strchr and strrchr. Signed-off-by: Daniel Mierswa fdisk/cfdisk.c | 2 +- fdisk/fdiskbsdlabel.c | 13 +++++++------ fdisk/sfdisk.c | 10 +++++----- login-utils/login.c | 6 +++--- login-utils/shutdown.c | 2 +- login-utils/ttymsg.c | 2 +- login-utils/vipw.c | 4 ++-- login-utils/wall.c | 2 +- misc-utils/logger.c | 2 +- misc-utils/whereis.c | 4 ++-- mount/mount.c | 4 ++-- mount/mount_mntent.c | 4 ++-- mount/sundries.c | 2 +- partx/partx.c | 2 +- shlibs/blkid/src/config.c | 4 ++-- text-utils/colcrt.c | 4 ++-- text-utils/display.c | 2 +- text-utils/parse.c | 8 ++++---- text-utils/ul.c | 2 +- 19 files changed, 40 insertions(+), 39 deletions(-) commit ebeafc50f3d8125bd77d601a26351b3eba3bc259 Author: Karel Zak Date: Mon Aug 17 10:53:42 2009 +0200 libblkid: fix cache->probe memory leak Fixes: * stupid bug, blkid_put_cache() does not deallocate the probe struct * the cache->probe initialization in verify.c should be also more robust Reported-By: Jean-Pierre Demailly Signed-off-by: Karel Zak shlibs/blkid/src/cache.c | 4 +++- shlibs/blkid/src/verify.c | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 92cf3ab964266603cf36272d0eec96cd07fa083c Author: Karel Zak Date: Thu Aug 13 21:55:43 2009 +0200 libblkid: fix ext2 detection on systems with ext4 only Address-Red-Hat-Bug: #513104 Signed-off-by: Karel Zak shlibs/blkid/src/probers/ext.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit a8733a8867805e83890469f591025f396d77e20e Author: Karel Zak Date: Tue Aug 11 15:22:35 2009 +0200 tailf: report inotify_add_watch() problems Signed-off-by: Karel Zak text-utils/tailf.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 909572eab5eb258ac748a543ef3169cbd79a0061 Author: Karel Zak Date: Mon Aug 3 23:33:22 2009 +0200 libblkid: fix FALSE definition Ah, I need brown paper bag! Grrr... Signed-off-by: Karel Zak shlibs/blkid/src/blkidP.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 741064af10ec81635d708e9fb8373f96341246eb Author: Karel Zak Date: Tue Jul 21 15:43:29 2009 +0200 docs: update "The Perfect Patch" URL Signed-off-by: Karel Zak README.devel | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f06602a42a0ea3551a15f6d8d0caa40e993c4cb4 Author: Peter Breitenlohner Date: Fri Jul 17 13:39:07 2009 +0200 cal: fix broken computation for Sep 1752 Signed-off-by: Peter Breitenlohner Signed-off-by: Pádraig Brady misc-utils/cal.c | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) commit 32dec5ac256b982af21cd00c83881b47fe543364 Author: Peter Breitenlohner Date: Fri Jul 17 13:12:48 2009 +0200 cal: fix (harmless) typo Signed-off-by: Peter Breitenlohner Signed-off-by: Pádraig Brady misc-utils/cal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d5004be1f576e8b51617e608c939959ec481ce0f Author: Peter Breitenlohner Date: Mon Jul 20 11:35:47 2009 +0200 pg: compiler warning with NLS disabled Signed-off-by: Peter Breitenlohner text-utils/pg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 91b72e09a483f44318b1f824c03f6f6ad30cc15c Author: Karel Zak Date: Mon Jul 20 10:31:27 2009 +0200 scriptreplay: fix typo in error message Signed-off-by: Karel Zak misc-utils/scriptreplay.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4dc5d9d512ae40f76662e3ebf27a1f034b8fbcba Author: Karel Zak Date: Fri Jul 17 08:34:44 2009 +0200 build-sys: don't distribute generated *.pc files Reported-by: Peter Breitenlohner Signed-off-by: Karel Zak shlibs/blkid/Makefile.am | 2 +- shlibs/uuid/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)