mirror_zfs/cmd/zpool
Darik Horn 492b8e9e7b Use gethostid in the Linux convention.
Disable the gethostid() override for Solaris behavior because Linux systems
implement the POSIX standard in a way that allows a negative result.

Mask the gethostid() result to the lower four bytes, like coreutils does in
/usr/bin/hostid, to prevent junk bits or sign-extension on systems that have an
eight byte long type. This can cause a spurious hostid mismatch that prevents
zpool import on 64-bit systems.
2011-04-25 10:36:17 -05:00
..
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Add missing -ldl linker option 2011-02-10 11:05:44 -08:00
Makefile.in Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zpool_iter.c Fix gcc missing parenthesis warnings 2010-08-31 08:38:35 -07:00
zpool_main.c Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
zpool_util.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zpool_util.h Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zpool_vdev.c Fix intermittent 'zpool add' failures 2010-10-22 12:38:58 -07:00