On Fri, Aug 29, 2008 at 3:32 PM, Amit k. Saha <amitsaha.in at gmail.com> wrote:
> Hi,
>
> The  '/usr/proc/bin' on a Solaris system has entries like:
>
> lrwxrwxrwx   1 root     root          15 Aug  4 01:50 pcred -> ../../bin/pcred
> lrwxrwxrwx   1 root     root          16 Aug  4 01:50 pfiles -> 
> ../../bin/pfiles
> lrwxrwxrwx   1 root     root          16 Aug  4 01:50 pflags -> 
> ../../bin/pflags
> lrwxrwxrwx   1 root     root          14 Aug  4 01:50 pldd -> ../../bin/pldd
> lrwxrwxrwx   1 root     root          14 Aug  4 01:50 pmap -> ../../bin/pmap
> lrwxrwxrwx   1 root     root          14 Aug  4 01:50 prun -> ../../bin/prun
> lrwxrwxrwx   1 root     root          14 Aug  4 01:50 psig -> ../../bin/psig
> lrwxrwxrwx   1 root     root          16 Aug  4 01:50 pstack -> 
> ../../bin/pstack
> lrwxrwxrwx   1 root     root          15 Aug  4 01:50 pstop -> ../../bin/pstop
> lrwxrwxrwx   1 root     root          15 Aug  4 01:50 ptime -> ../../bin/ptime
> lrwxrwxrwx   1 root     root          15 Aug  4 01:50 ptree -> ../../bin/ptree
> lrwxrwxrwx   1 root     root          15 Aug  4 01:50 pwait -> ../../bin/pwait
> lrwxrwxrwx   1 root     root          14 Aug  4 01:50 pwdx -> ../../bin/pwdx
>
>
> As is apparent, all are soft inks. Why do we need such an arrangement?
>
> Any explanations?

   Mainly for backward compatibility. These proctools were originallly located
   in /usr/proc/bin since there was this concept of keeping various utility
   collections under different prefixes in Solaris. This gave rise to
more confusion
   that any benefit at all and later things were changed in Solaris 10
and onwards
   to have most things in /usr/bin and GNU tools in /usr/gnu/bin.
These links are
   present to retain backwards compatibility.

Regards,
Moinak.

>
> Thanks,
> Amit
>
> --
> Amit Kumar Saha
> http://blogs.sun.com/amitsaha/
> http://amitksaha.blogspot.com
> Skype: amitkumarsaha
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>



-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/

Reply via email to