freebsd-dev/cmd
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
..
mount_zfs Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zdb Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zfs Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zinject Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zpios Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zpool Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
zpool_id Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
zpool_layout Call udevadm trigger more safely 2011-04-05 13:00:51 -07:00
ztest Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zvol_id Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
Makefile.am Fix mount helper 2011-03-09 15:26:48 -08:00
Makefile.in Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00