maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Why is there a LOT of "X11" folders (https://talk.maemo.org/showthread.php?t=88310)

nman 2012-12-18 16:32

Why is there a LOT of "X11" folders
 
...under /opt/mono/bin?

Nested, all appear to have the same contents. Anyone else see this on their device?

ffha 2012-12-18 17:37

Re: Why is there a LOT of "X11" folders
 
No /opt/mono on my N900.

Got some more info?
What's inside the folder?
How about a list of installed packages?

sifo 2012-12-18 17:50

Re: Why is there a LOT of "X11" folders
 
iDont have that directory either...
Any development packages installed from devel ?

sixwheeledbeast 2012-12-18 18:57

Re: Why is there a LOT of "X11" folders
 
Quote:

Originally Posted by nman (Post 1305774)
...under /opt/mono/bin?

Nested, all appear to have the same contents. Anyone else see this on their device?

I haven't installed mono and AFAIK there is nothing that depends on it, so I doubt it's been pulled in with another app.

Mono FYI is...

Quote:

... an open source implementation of Microsoft's .Net Framework based on the ECMA standards for C# and the Common Language Runtime.
More info at mono-project.com

If it's in /opt/ then it's not causing any trouble anyway.

pichlo 2012-12-18 19:04

Re: Why is there a LOT of "X11" folders
 
A result of fauled up optification?

sixwheeledbeast 2012-12-18 19:33

Re: Why is there a LOT of "X11" folders
 
Quote:

Originally Posted by pichlo (Post 1305823)
A result of fauled up optification?

Need a list of what's in the folder...

pichlo 2012-12-19 00:15

Re: Why is there a LOT of "X11" folders
 
OK, here goes. I have been toying with the idea of installing MonoDevelop for a while but the size (it weighs in at over 66MB with all the dependencies, and that is just the download size) had discouraged me. This thread has provided the excuse final push to make the call. The result is rather dubious: the IDE is an unmodified desktop application with a menu bar impossible to read on such a small screen. I may give it another try when I am less tired but I digress.

The OP's problem is this:

Code:

N900:~# ls -l /opt/mono/b*   
lrwxrwxrwx    1 root    root            8 Dec 18 22:30 /opt/mono/bin
 -> /usr/bin
N900:~# ls -l /usr/bin/X*
lrwxrwxrwx    1 root    root            1 Nov 28 23:11 /usr/bin/X11
 -> .
-rwxr-xr-x    1 root    root      1117148 Jun 20 14:20 /usr/bin/Xorg
N900:~#

/opt/mono/bin is symlinked to /usr/bin. There is a new folder X11 in /usr/bin which is nothing but a symlink to . (the dot, i.e. the current folder). I assume the idea is that whatever libraries mono uses that access /usr/bin/X11 will get /usr/bin instead but the side effect is that X11 appears as an infinitely nested folder.

To the OP: chill out, there's no harm, it does not take any storage space at all.

nman 2012-12-20 03:24

Re: Why is there a LOT of "X11" folders
 
Yeah I figured out it was a looping symlink.
The only annoyance is that when I search for a file say with winscp, the search loops also and takes a long time (it does eventually move on, oddly enough)
Luckily I have a spare device so I can test removing it.

pichlo 2012-12-26 01:03

Re: Why is there a LOT of "X11" folders
 
Of course it moves on. It stops recursing once it reaches the maximum path length limit.


All times are GMT. The time now is 00:06.

vBulletin® Version 3.8.8