A few links in the file-system that do not exist



  • [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: find /usr -exec grep -H string_to_search_for {} \;
    grep: /usr/lib/include: No such file or directory
    grep: /usr/share/vi/catalog/en_AU.UTF-8: No such file or directory
    grep: /usr/share/vi/catalog/en_CA.UTF-8: No such file or directory
    grep: /usr/share/vi/catalog/en_GB.UTF-8: No such file or directory
    grep: /usr/share/vi/catalog/en_NZ.UTF-8: No such file or directory
    grep: /usr/share/vi/catalog/en_US.ISO8859-1: No such file or directory
    grep: /usr/share/vi/catalog/en_US.ISO8859-15: No such file or directory
    grep: /usr/share/vi/catalog/en_US.US-ASCII: No such file or directory
    grep: /usr/share/vi/catalog/en_US.UTF-8: No such file or directory
    grep: /usr/share/vi/catalog/POSIX: No such file or directory
    grep: /usr/share/vi/catalog/C: No such file or directory
    [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: find /etc -exec grep -H string_to_search_for {} \;
    grep: /etc/rmt: No such file or directory
    [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: ls -l /usr/lib/include
    lrwxr-xr-x  1 root  wheel  10 Jun 16 18:40 /usr/lib/include -> ../include
    [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: ls -l /usr/include
    ls: /usr/include: No such file or directory
    [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: ls -l /usr/share/vi/catalog/
    total 159
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 C -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 POSIX -> english
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 de_AT.UTF-8 -> german.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 de_CH.UTF-8 -> german.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 de_DE.UTF-8 -> german.UTF-8
    -r--r--r--  1 root  wheel  14867 Jun 16 18:40 dutch.UTF-8
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_AU.UTF-8 -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_CA.UTF-8 -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_GB.UTF-8 -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_NZ.UTF-8 -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_US.ISO8859-1 -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_US.ISO8859-15 -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_US.US-ASCII -> english
    lrwxr-xr-x  1 root  wheel      7 Jun 16 18:40 en_US.UTF-8 -> english
    lrwxr-xr-x  1 root  wheel     13 Jun 16 18:40 es_ES.UTF-8 -> spanish.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 fr_BE.UTF-8 -> french.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 fr_CA.UTF-8 -> french.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 fr_CH.UTF-8 -> french.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 fr_FR.UTF-8 -> french.UTF-8
    -r--r--r--  1 root  wheel  16703 Jun 16 18:40 french.UTF-8
    -r--r--r--  1 root  wheel  15476 Jun 16 18:40 german.UTF-8
    lrwxr-xr-x  1 root  wheel     11 Jun 16 18:40 nl_NL.UTF-8 -> dutch.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 pl_PL.UTF-8 -> polish.UTF-8
    -r--r--r--  1 root  wheel  14627 Jun 16 18:40 polish.UTF-8
    -r--r--r--  1 root  wheel  23059 Jun 16 18:40 ru_RU.UTF-8
    -r--r--r--  1 root  wheel  16078 Jun 16 18:40 spanish.UTF-8
    lrwxr-xr-x  1 root  wheel     13 Jun 16 18:40 sv_SE.UTF-8 -> swedish.UTF-8
    -r--r--r--  1 root  wheel  14342 Jun 16 18:40 swedish.UTF-8
    -r--r--r--  1 root  wheel  21676 Jun 16 18:40 uk_UA.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 zh_CN.GB18030 -> zh_CN.GB2312
    -r--r--r--  1 root  wheel  10178 Jun 16 18:40 zh_CN.GB2312
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 zh_CN.GBK -> zh_CN.GB2312
    -r--r--r--  1 root  wheel  12745 Jun 16 18:40 zh_CN.UTF-8
    lrwxr-xr-x  1 root  wheel     12 Jun 16 18:40 zh_CN.eucCN -> zh_CN.GB2312
    [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: ls -l /etc/rmt
    lrwxr-xr-x  1 root  wheel  13 Jun 16 18:40 /etc/rmt -> /usr/sbin/rmt
    [2.2.3-DEVELOPMENT][root@testoffice-rt-01.np.net.inf.org]/root: ls -l /usr/sbin/rmt
    ls: /usr/sbin/rmt: No such file or directory
    
    

    /usr/lib/include points to somewhere that does not exist
    /etc/rmt points to somewhere that does not exist

    Various of those language files C, POSIX and en* point to english - but there is no file called "english" or even "english.UTF8"

    I just noticed this when using grep to search through stuff for strings on 2.2.3-DEVELOPMENT. I did not remember noticing it before, but I went to a 2.2.2-RELEASE system and it has the same, so this is not new.

    And now I realise I usually do the find with "-type f" which skips these - that is why I have not noticed it.

    Care factor quite low, so I haven't bothered with a Redmine bug report, but maybe someone would like to clean this up in the build.


Log in to reply