01234567890123456789012345678901234567890123456789012345678901234567890123456789 Bob S wrote:
While searching for files in /usr/bin I noticed something that seems odd to me. There is a folder in there named X11. It is a link to the same folder. If you open it, it shows the exact same thing as /usr/bin. You can continue opening the X11 directory until you have a /usr/bin//X11/X11/X11/X11 file open on ad-infitum. They all show the exact same files and megabytes. What is this? Can somebody explain the purpose?
It used to be that the X11 specific applications, includes, libraries, manpages and shared files were included under /usr/X11R6: ls /usr/X11R6 => bin, include, lib, man, share Now all of the X11 specific files have been merged into the 'generic' location: Old location New location /usr/X11R6/bin /usr/bin /usr/X11R6/include /usr/include /usr/X11R6/lib /usr/lib /usr/X11R6/man /usr/man /usr/X11R6/share /usr/share There were also the softlinks "before": /usr/X11 -> X11R6 /usr/bin/X11 -> ../X11R6/bin/ Now it seems all of the /usr/X11R6 directories are mostly empty and their contents have been moved to corresponding directories under /usr. I.e.: /usr/X11R6/{bin,include,lib,man,share} had their contents moved to /usr/{bin,include,lib,man,share} (respectively). The soft link "/usr/bin/X11" which used to point to where the X11 binaries were located (/usr/X11R6/bin), now points to their new location in "/usr/bin". So /usr/bin/X11 points to /usr/bin. (/usr/bin/X11 -> .) Anyone who used to use the path /usr/bin/X11 to invoke an x-app can use the same path and have it work. So /usr/bin/X11/xosview will still work (though xosview is now in /usr/bin). Anyone who used the X11 paths: /usr/X11R6/bin/xosview -or- /usr/X11/bin/xosview are out of luck and will find their scripts broken. I don't know why compatibility links were not added for those paths. I.e.: /usr/X11 -> X11R6 (same) /usr/X11R6/bin -> /usr/bin /usr/X11R6/include -> /usr/include /usr/X11R6/lib -> /usr/lib /usr/X11R6/man -> /usr/man /usr/X11R6/share -> /usr/share Perhaps this was an oversight or is a "bug"? Does anyone else know why the original X11 directories weren't turned into links to their new paths? point to their new locations. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org