Funny faces aside, I think this would work.

   -- Garrett

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

or alternatively

/usr/bin/arch -> ../64

if I got that right pre-coffee :-).

This would also let us handle libc.so.1 w symlinks rather than hiding
binaries w/ lofs mounts.

- Bart





_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to