| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 8 months |
| seen | Sep 30 '12 at 18:05 | |
| stats | profile views | 6 |
|
Sep 30 |
revised |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? added 1010 characters in body |
|
Sep 30 |
revised |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? update |
|
Sep 30 |
revised |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? update |
|
Sep 30 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? When I removed the CIFS share then the hdd symlink stoped working again. So this is apparently normal for this release of the image. Check the update above for more details. |
|
Sep 29 |
awarded | Commentator |
|
Sep 29 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? This is no longer an issue. I mounted a Windows CIFS share through the Mount Manager plugin (Dreambox, Enigma 2, release 3.2.3) and I chose to use it as HDD replacement. After doing this the ls -al command showed hdd -> media/hdd. And now it's possible to cd to hdd and the link works. But what's interesting is that ls -al media shows hdd -> /media/net/mydream and this is in fact where it goes when I cd to hdd. The "mydream" is the name of the share. Why do I get different results? |
|
Sep 29 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? What ls -al really does is it shows all the files (-a) in a long (-l) list. Yes, this gives me more information, but does it help me identify a symbolic link? If it has an arrow to the right, is that how I tell if it is a symbolic link? The other identifier is obviously the color code, but some of you suggest that the color is not to be trusted. |
|
Sep 29 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? @CraigSanders Sanders You're high... on resolution! ;) Seariously, I hear you man! I didn't really think about that aspect of it. Thanks for the tip. I will try using a code block next time. |
|
Sep 29 |
awarded | Critic |
|
Sep 29 |
awarded | Supporter |
|
Sep 27 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? @sfgroups Just namei and enter at root? It gives me -sh: namei: not found. Is that like the file or the stat command? Do you have the exact search path to it? |
|
Sep 27 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? This is a Dreambox STB, model DM500 HD. It does not feature a built-in HDD like its brother DM800 HD, but it does have a eSATA port on the back for connecting an external HDD. So if I plug in an external HDD to it, it will mount it to /media/hdd then? And if the subfolder hdd is missing? Will Linux create it automatically? This is on firmware image release 3.2.3 that I flashed to recently. On the older 3.0.2 and even 3.1.0 the /media/hdd was never gone missing. And there was also this symlink at /hdd. I didn't expect this. |
|
Sep 27 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? It doesn't look like it has support for either file or stat. I checked in the paths you mention (see screenshot above). Anyway... what you're saying is that in an ideal Linux system, the file command, followed by the search path of the target file or folder would reveal to me what kind of entity it is? |
|
Sep 27 |
revised |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? added screenshot |
|
Sep 27 |
revised |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? added screenshots, updated text, added tag |
|
Sep 27 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? You are right, looks like file is not a command here, it says -sh: file: not found when I do file and enter. |
|
Sep 27 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? What is an automount-point? You mean like... when I plug in a physical SATA disk drive it gets mounted to this point?... this is a Linux STB and it has no built-in HDD, but it does feature an eSATA port on the back. This might be dedicated for this purpose. |
|
Sep 27 |
awarded | Editor |
|
Sep 27 |
revised |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? added screenshot and update |
|
Sep 27 |
comment |
How do I tell if a folder is actually a symlink and how do I fix it if it's broken? The stat hdd gives me -sh: stat: not found. |