On 03/04/2010 00:57, Richard Elling wrote:
This is annoying. By default, zdb is compiled as a 32-bit executable and
it can be a hog. Compiling it yourself is too painful for most folks :-(
/usr/sbin/zdb is actually a link to /usr/lib/isaexec
$ ls -il /usr/sbin/zdb /usr/lib/isaexec
300679 -r-xr-xr-x 92 root bin 8248 Nov 16 10:26
/usr/lib/isaexec*
300679 -r-xr-xr-x 92 root bin 8248 Nov 16 10:26
/usr/sbin/zdb*
$ ls -il /usr/sbin/i86/zdb /usr/sbin/amd64/zdb
200932 -r-xr-xr-x 1 root bin 173224 Mar 15 10:20
/usr/sbin/amd64/zdb*
200933 -r-xr-xr-x 1 root bin 159960 Mar 15 10:20
/usr/sbin/i86/zdb*
This means both 32 and 64 bit versions are already available and if the
kernel is 64 bit then the 64 bit version of zdb will be run if you run
/usr/sbin/zdb.
--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss