Looking at this stuff, I noticed a few things:
1) we have GNU coreutils (for better or worse) delivering "whoami" into
/usr/bin now. Couldn't /usr/ucb/whoami become a link to that via
../bin/ ? I guess this would then depend on SUNWgnu-coreutils
2) /usr/ucb/basename is semantically identical to
/usr/xpg4/bin/basename. So it could be a link to ../xpg4/bin/basename,
although that would make it depend on SUNWxcu4. Right now it doesn't do
that. Thoughts?
3) chown differs primarily in that it uses "." instead of ":" to
delineate the group name from the username. It seems like the
"standard" (Solaris version in /usr/bin) could honor *both* : and .
fairly easily. (I think the xpg4 has to remain the way it is to avoid
breaking compatibility.) Is it even possible that a user or group name
be constructed that contains "."? What are the semantics of this?
4) ln -- I don't see how this differs from the stock ln, at least by
reading the manual pages. Can't this just be made a link to either
/usr/bin/ln or /usr/xpg4/bin/ln (whichever semantics are more appropriate?)
I'm just thinking cleaning up /usr/ucb stuff might be helpful here.
Let me know any thoughts you might have.
- Garrett
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code