On Thu, Feb 26, 2009 at 08:56:56AM -0800, Bart Smaalders wrote: > Robert Milkowski wrote: > >Just a thought - maybe default path for a shell should depend on a > >mode a OS booted (32bit vs. 64bit) so if one booted into 64bit all > >64bit system tools are first on a path? That way isaexec won't be > >necessary and it should work in many cases (except for script > >providing a full path - but then the behavior for them will stay the > >same as it is today). > > > > One of the mechanisms a couple of us have been chatting about is to add > a flag to mount to not following symlinks on mount... so that w/ lofs > one could mount a symlink on top of a symlink (don't make that funny > face, please :-)) so then: > > /usr/bin/<cmd> -> ./arch/cmd > /usr/bin/arch -> ../32 -> 32 > or alternatively > > /usr/bin/arch -> ../64 -> 32
And it would probably be better to call it ".arch", since /usr/bin/arch exists. > if I got that right pre-coffee :-). You were close. =] > This would also let us handle libc.so.1 w symlinks rather than hiding > binaries w/ lofs mounts. Which would be awesome. Cheers, - jonathan _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code