Commit Graph

5388 Commits

Author SHA1 Message Date
Karel Zak 611de4cc2a build-sys: use slash for binaries in gitignore
.. otherwise git interprets binaries names as shell blog and apply
the pattern globally.

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31 19:55:44 +02:00
Karel Zak 7e6e9c7018 fdisk: cast before count size
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31 19:07:37 +02:00
Karel Zak 2650cac98c tests: add layout info to dos mode test
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31 19:02:47 +02:00
Karel Zak 1d188d0052 tests: rename doslabel test
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31 17:34:15 +02:00
Karel Zak a9770f7fa0 docs: update howto-tests.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 18:37:54 +02:00
Karel Zak fc22bff04b build-sys: add run.sh to make check for non-root users
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 18:19:20 +02:00
Karel Zak b5606aada4 tests: check for 'make check'
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 18:00:33 +02:00
Karel Zak 922e6775e0 build-sys: move tests to check_PROGRAMS
Thanks to Mike Frysinger.

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 17:59:16 +02:00
Karel Zak 46949388c6 tests: remove lt- prefixes
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 17:43:10 +02:00
Steven J. Magnani ec34526a54 util-linux: Document new FAT options
Add man-page documentation for the new 'discard' and 'nfs' options
available for vfat/msdos filesystems.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
2012-07-30 17:12:31 +02:00
Petr Uzel b53f8b8eff build-sys: include tools/git-version-gen in the tarball
tools/git-version-gen is called from AC_INIT. Include it
in the tarball to make it easier to autoreconf-igure the package.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-30 17:12:29 +02:00
Petr Uzel c9b5346112 build-sys: fix description of utmpdump configure option
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-30 17:12:24 +02:00
Karel Zak 6dfe6f0e82 tests: more robust symlinks usage
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 17:10:38 +02:00
Bernhard Voelker 018a38a64c tests: use ts_is_mounted in mount/regfile
If the test directory is on a symlink, then mount/regfile failed because
it did not search for the mount point in /proc/mounts canonicalized.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-07-30 16:07:36 +02:00
Bernhard Voelker ee9c04f48c tests: search mount point in canonicalized form in /proc/mounts
* tests/functions.sh (ts_is_mounted): Enhance to resolve symlinks in
given mount point before grep'ing in /proc/mount.

If the test directory is on a symlink, then e.g. tests/ts/cramfs/doubles
failed because the kernel keeps the mount entry in a canonicalized form
in /proc/mounts while this function searched for it with the original
path name.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-07-30 15:58:23 +02:00
Karel Zak 454996c495 docs: add note about enabled kill(1) to v2.22-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30 14:57:29 +02:00
Karel Zak 506eb04c3d docs: add note about partx output change
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 10:17:10 +02:00
Bernhard Voelker a7134cf512 doc: fix typo in v2.22-ReleaseNotes
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-07-27 10:11:13 +02:00
Milan Broz c57dca6877 findmnt: support -o +<attr> for adding attribute to output fields.
Signed-off-by: Milan Broz <mbroz@redhat.com>
2012-07-27 09:56:54 +02:00
Karel Zak 3b23a17ec8 tests: update non-lib build tests
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 09:17:53 +02:00
Karel Zak 7770e7df15 build-sys: fix build without libs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 09:04:55 +02:00
Karel Zak aa8135f81b build-sys: add minisg COPYING files
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 00:56:28 +02:00
Karel Zak 31de047692 build-sys: release++ (v2.22-rc1)
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 00:09:42 +02:00
Karel Zak d6fb4c6986 docs: add v2.22-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-27 00:07:23 +02:00
Karel Zak f1c131ccb8 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 22:23:09 +02:00
Karel Zak eb0f80a65e po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 22:15:58 +02:00
Wylmer Wang 846d91010d po: update zh_CN.po (from translationproject.org) 2012-07-26 21:53:37 +02:00
Trần Ngọc Quân 26a6b4a6f9 po: update vi.po (from translationproject.org) 2012-07-26 21:53:37 +02:00
Benno Schulenberg 163d0e707f po: update nl.po (from translationproject.org) 2012-07-26 21:53:37 +02:00
David Prévot 1435d29a21 po: update fr.po (from translationproject.org) 2012-07-26 21:53:37 +02:00
Arun Persaud 47ae94f4c8 po: update de.po (from translationproject.org) 2012-07-26 21:53:37 +02:00
Karel Zak 03bc5c0658 fdisk: sgi: use xcalloc()
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 21:49:42 +02:00
Karel Zak 99b765f0c4 su: use xstrdup()
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 21:48:50 +02:00
Karel Zak ddaf9c35a3 tests: update build-sys tests
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 21:42:08 +02:00
Karel Zak 22330ba7f3 tests: update partx, add missing whitespace
... probably removed by git-pull from Sami's repo :-(

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 19:41:09 +02:00
Karel Zak b9c727de1d tests: update paths to helpers
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 19:40:36 +02:00
Karel Zak 48afe4ddd5 mount: remove unnecessary free()
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 19:04:30 +02:00
Karel Zak f716938200 tests: update blkid tests with fdisk output
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 18:47:59 +02:00
Karel Zak 43b382e66a fdisk: dos: mark unused parameters
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 18:03:10 +02:00
Karel Zak d0a5b91d2e fdisk: mac: remove magic maclabel macro, mark unused parameters
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 17:57:00 +02:00
Karel Zak 4ae4a8afaa fdisk: bsd: mark unused parameters
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 17:52:30 +02:00
Karel Zak b37e2c21cc fdisk: aix: remove magic aixlabel macro, mark unused parameters
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 17:47:08 +02:00
Davidlohr Bueso c0bf8e97dd fdisk: fix menu
Commit 79c8a145dd changed the numerical values of
fdisk_labeltype and broke the menu functionality, mixing main and expert menus.
Revert this change along with the label comment regarding it matching labeltype.

This is no longer valid since the original patch that lead to this modification
assumed that __probe_labels() would use these indices when creating a default
DOS/SUN disklabel, see http://www.spinics.net/lists/util-linux-ng/msg06509.html

Reported-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2012-07-26 17:25:41 +02:00
Bernhard Voelker a1ec61372c prlimit: improve error messages for bad --pid invocation
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-07-26 17:24:07 +02:00
Petr Uzel 51ffaed723 tests: update fdisk test (default output format changed)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-26 17:19:07 +02:00
Petr Uzel a7a6f7d2e2 fdisk: don't print CHS geometry unless DOS compatible mode is set
References: http://marc.info/?l=util-linux-ng&m=134329693623430&w=2
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-26 17:19:03 +02:00
Petr Uzel f8527f4bd3 fdisk: always print total number of sectors
Print it no regardless on units_per_sector.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-26 17:18:55 +02:00
Petr Uzel 6a95c736dc fdisk: fix typo
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-26 17:18:53 +02:00
Petr Uzel b29ce87ba4 fdisk: make grain global variable part of fdisk_context()
There is no reason for this to be global variable - it belongs
to the context.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 16:59:35 +02:00
Milan Broz 4e395c55f7 partx: support -o +<attr> for adding attribute to output fields
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26 16:41:39 +02:00