Solaris and use of /usr/ucb

Jeffrey Walton noloader at gmail.com
Sat Apr 1 14:28:47 AEDT 2017


Hi Everyone,

The portability team may be interesting in this. It looks like
/usr/ucb is being used a fair amount on Solaris:

    $ /usr/gnu/bin/grep -IR '/usr/ucb' * | wc -l
        17

According to https://blogs.oracle.com/partnertech/entry/preparing_for_the_upcoming_removal,
/usr/ucb is going away. I think the mostly equivalent place to find
utilities is /usr/gnu (its present on Solaris 11):

    $ ls /usr/gnu/bin/
    [                eqn              mkfifo           soelim
    addr2line        expand           mknod            sort
    amd64            expr             mktemp           split
    ...

It appears /usr/gnu is not being used at the moment:

    $ /usr/gnu/bin/grep -IR '/usr/gnu' * | wc -l
        0

Jeff


More information about the openssh-unix-dev mailing list