On Tue, Nov 04, 2008 at 05:52:33AM -0800, Ivan Wang wrote: > > $ /usr/bin/amd64/ls -l .gtk-bookmarks > > -rw-r--r-- 1 user opc 0 oct. 16 2057 > > .gtk-bookmarks > > > > This is a bit absurd. I thought Solaris was fully 64 > > bit. I hope those tools will be integrated soon.
Solaris runs on non-64bit capable hardware, and it doesn't use fat binaries, so both 32-bit and 64-bit binaries exist in some cases. > I am not sure if this is expected, I thought ls should be actually a > hard link to isaexec and system picks applicable ISA transparently? I think that will work, but isaexec is not free for execution time. My guess is that someone decided that the execution cost wasn't worth it. But I have no evidence if that's the real reason. However, as a test, I created a 2038+ timestamp file on zfs, verified that /usr/bin/ls would fail to display it, and I moved /usr/bin/ls to /usr/bin/i86/ls and linked /usr/lib/isaexec to /usr/bin/ls. (Move it to /usr/bin/sparcv7/ls on a SPARC host). /usr/bin/ls now automatically finds and runs the 64-bit version and displays the file just fine. I made no attempt to calculate how much longer it takes to run now. -- Darren _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss