Re: [opensuse] odd /usr/bin thing



Aaron Kulkis wrote:
Bill Anderson wrote:
Bob S wrote:
Hello SuSE users,

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?

Bob S
Not sure of the reason, but it only impacts on the logical path pwd -L. The physical path (pwd -P) remains as /usr/bin. The impact is to have all X11 binaries appear in /usr/bin instead of /usr/bin/X11. Like many symbolic links, it makes the applications happy even when the underlying structure changes. For those of us who use UNIX, we are used to /bin being a symbolic link to /usr/bin,

since when? there are several programs which have always
been in /bin because they are needed in runlevel 0 and
run level S, neither of which have /usr mounted, but which
are not administrative only, (and thus do NOT reside in
/sbin or /usr/sbin).

examples being: cp, chown, dd, grep, awk, cat, chmod, chgrp,
date, kill, ln, ls, mount, umount, rm, rmdir, sed, stty,
tar, shells (sh/ksh/csh/tcsh/bash), false, true, uname,
ed, ex, vi

And others depending on vendor/distribution.


> and a bunch of other symbolic links
to reflect a change in the structure of the file system hierarchy.

Bill Anderson
WW7BA



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] odd /usr/bin thing
    ... Bill Anderson wrote: ... There is a folder in there named X11. ... Like many symbolic links, it makes the applications happy even when the underlying structure changes. ...
    (SuSE)
  • [opensuse] /usr/bin/X11 no longer points to /usr/X11R6/bin (was Re: odd /usr/bin thing)
    ... There is a folder in there named X11. ... it shows the exact same thing as /usr/bin. ...
    (SuSE)
  • Re: Creating Partition for virtual memory
    ... > Thanks for the clarification Francis. ... to the target location (new drive or folder), then empty the contents of the ... for a brief description of ntfs symbolic links and a tool for creating them, ...
    (microsoft.public.windowsxp.customize)
  • Attempting to move C:WINDOWSInstaller - wierd results
    ... I'm playing with an eeePC 4G into which I've placed an 8GB SDHC card. ... My strategy employs moving folders and creating symbolic links in their ... The msiexec installer in XP ... the D:\WINDOWS\Installer folder containing about 600 MB ...
    (microsoft.public.windowsxp.customize)
  • Re: [opensuse] odd /usr/bin thing
    ... Bob S wrote: ... There is a folder in there named X11. ... For those of us who use UNIX, we are used to /bin being a symbolic link to /usr/bin, and a bunch of other symbolic links to reflect a change in the structure of the file system hierarchy. ...
    (SuSE)