Commit Graph

6391 Commits

Author SHA1 Message Date
Karel Zak 0adc576dec tests: partx tests cleanup
* use ts_scsi_debug_init

 * use headers in output

 * use udevadm

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-26 10:38:48 +02:00
Ondrej Oprala 3a8f26bdcc tests: add partx regression tests
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2013-04-26 10:03:37 +02:00
Karel Zak d80aa81d6f build-sys: release++ (v2.23)
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:53:41 +02:00
Karel Zak 4c99c7f11d docs: update v2.23-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:52:32 +02:00
Karel Zak 1fb6efb922 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:50:12 +02:00
Karel Zak 6249b53a9f po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:46:46 +02:00
Yuri Chornoivan 7ade4edaeb po: update uk.po (from translationproject.org) 2013-04-25 11:24:08 +02:00
Jakub Bogusz a821d9f265 po: update pl.po (from translationproject.org) 2013-04-25 11:24:08 +02:00
Benno Schulenberg cec35afaa2 po: update nl.po (from translationproject.org) 2013-04-25 11:24:08 +02:00
Tomislav Krznar a6f665b25b po: update hr.po (from translationproject.org) 2013-04-25 11:24:08 +02:00
David Prévot 7d1e28c631 po: update fr.po (from translationproject.org) 2013-04-25 11:24:07 +02:00
Joe Hansen 921e507526 po: update da.po (from translationproject.org) 2013-04-25 11:24:07 +02:00
Petr Písař 0246973ef9 po: update cs.po (from translationproject.org) 2013-04-25 11:24:07 +02:00
Karel Zak d426ddbd5f tests: make mount tests backwardly compatible with deprecated-mount/
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:07:05 +02:00
Karel Zak 119c7125cb mount: (deprecated) check loopcxt_ return values
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:06:12 +02:00
Karel Zak b154410cb1 mount: (deprecated) remove duplicate xstrndup()
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 11:05:33 +02:00
Karel Zak 0bcdf7e1a2 build-sys: use 'check' for all utils with dependencies
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 09:26:43 +02:00
Davidlohr Bueso c53121bac0 AUTHORS: fix prlimit typo
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2013-04-25 09:23:41 +02:00
Davidlohr Bueso f481ad7172 libfdisk: gpt: remove leftover comments
I must have left those in some commit.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2013-04-25 09:23:41 +02:00
Mike Frysinger caf60f22fb rtcwake: pass -h to shutdown
The sysvinit shutdown requires you use -h when using -H or -P.
Other inits just don't seem to care.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-04-25 09:23:40 +02:00
Samuel Thibault 8867ac208a build-sys: fix non-linux build
Make enabling fdformat depend on being a linux build.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2013-04-25 09:23:40 +02:00
Andrii Bordunov 6a5e45180b dmesg: minor cleanup of EXCL_xxx_ERR macros
Delete EXCL_ACT_ERR and EXCL_SYS_ERR defines:
usage is removed in 43d2eeef5dd3a64c372dbf60e4a32aa9e97b4645:
    "dmesg: use err_exclusive_options()"

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-23 14:40:47 +02:00
Karel Zak ece44f19f4 rtcwake: add support for "freeze" mode
Supported by Linux since 3.9 (upstream commit
7e73c5ae6e7991a6c01f6d096ff8afaef4458c36).

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-23 13:20:15 +02:00
Karel Zak f697d61b6e umount: use devno to identify --all-target devices
# mount -t tmpfs tmp /mnt/A
 # mount --bind /mnt/A /mnt/B
 # mount -t tmpfs tmp /mnt/C

the command:

  umount --all-targets /mnt/A

has to umount only A and B, but not C. The C is a another filesystem.

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-23 10:25:02 +02:00
Karel Zak c0d14b0985 libfdisk: (gpt) fix EFI UUID usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 15:45:25 +02:00
Karel Zak 76f17cf260 fdisk: fix list types
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 14:38:49 +02:00
Karel Zak f67c524e59 libfdisk: (gpt) fix valid_pmbr()
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 12:44:00 +02:00
Karel Zak c15aec8606 libfdisk: (gpt) use le64_to_cpu() for alternative LBA checks
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 12:27:43 +02:00
Karel Zak 7553740c01 libblkid: remove obsolete code
... forgot in the previous commit to the swap prober.

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 11:56:46 +02:00
Karel Zak c4cc7b4160 libblkid: ubifs is LE
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 11:50:56 +02:00
Karel Zak fa86784f14 libblkid: make swap detection arch independent
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 11:36:09 +02:00
Karel Zak 7194825b7b tests: fix compiler warning
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 11:23:34 +02:00
Karel Zak 6e93c52fbb build-sys: use pkg-config results for libuser
Our code depends on libuser >= 0.58, it's better to completely rely on
pkg-config results rather than also call UL_CHECK_LIB (that overwrites
previous pkg-config have_user= result independently on libuser
version).

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 10:50:30 +02:00
Karel Zak e1b8ba200b build-sys: fix UL_REQUIRES_HAVE
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 10:19:35 +02:00
Karel Zak 48469f9086 fdisks: fix compiler warning
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-17 17:35:47 +02:00
Karel Zak a303e047bb sulogin: fix compiler warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-17 17:23:26 +02:00
Karel Zak 6cd4beac3d build-sys: fix nsenter requirements
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-17 17:05:48 +02:00
Karel Zak 6d791b4cc0 include: fix SYS_{unshare,nsenter} usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-17 16:58:00 +02:00
Karel Zak 4581b716b5 lscpu: set 32-bit / 64-bit for ppc
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-17 16:20:10 +02:00
Karel Zak edb0b73d85 libblkid: use more robust code in silicon_raid checksum prober
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-17 16:17:46 +02:00
Karel Zak 320173e653 libblkid: fix silicon raid checksum code on BE
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-16 13:45:49 +02:00
Karel Zak 5f06d74eb1 tests: add BE minix test
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15 15:26:55 +02:00
Karel Zak 09daba4069 libblkid: arch independent minix detection
It seems that on-disk MINIX FS superblock is native-endian.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=833841
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15 15:14:33 +02:00
Karel Zak 618ec053fe tests: consolidate scsi_debug usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12 16:36:33 +02:00
Karel Zak 2d87a7dc84 libmount: add debug message to guess FS function
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12 15:04:57 +02:00
Karel Zak 188d9656c3 tests: use udevadm settle rather than sleep
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12 14:02:39 +02:00
Karel Zak 4569bbeab7 libmount: fix mount.nfs segfault, rely on assert() rather than on nonnull
We use
   mnt_optstr_append_option(&o, mnt_fs_get_vfs_options(fs), NULL);

in mount.nfs, unfortunately mnt_optstr_append_option() has been marked
ass nonnull(1, 2). That's wrong because append and prepend should
robust enough to accept NULL as option name.

The patch also removes almost all __attribute__((nonnull). It seems
better to rely on assert() to have usable feedback. In many cases
(nonnull) is premature optimization for the library. This attribute
makes sense for things like strlen() or so...

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=948274
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12 12:35:34 +02:00
Karel Zak e38f35d34e build-sys: release++ (v2.23-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10 23:38:06 +02:00
Karel Zak ddaf270e08 docs: update v2.23-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10 23:36:46 +02:00
Karel Zak 0ff2e587ab build-sys: make wall optional in bash-completion
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10 23:34:23 +02:00