When I searched for a file where one could (semi)control brightness I accidentally found a nested sequence of directories like below
aneesh@nb-14:~$ cd /sys/class/graphics/fb0/device
aneesh@nb-14:/sys/class/graphics/fb0/device$ cd graphics/fb0/device
aneesh@nb-14:/sys/class/graphics/fb0/device/graphics/fb0/device$ l
driver@ graphics/ modalias power/ subsystem@ uevent
aneesh@nb-14:/sys/class/graphics/fb0/device/graphics/fb0/device$
/a/b/a/b/a/b..., one can create a link to the directory /a and paste it in the folder /a/b. Is this the only way nested sequences can be formed?
Symbolically it's not obvious: To verify this I tried giving command l (see above) and found symbols against each file/directory. I learnt from this forum itself that in the result of l, the symbol @ is for indicating drivers and / for directories. But no symbolic indication to show that a certain folder is actually a link to another one! Also, there's no manual entry about l to find which symbol (if any) indicates file link.
/sys/class/graphics/there is only one folderfb0clicking on this takes you to the next step in the tree, and as it is a link you'll skip folders to/sys/devices/virtual/graphics/fb0. Perhaps this is to keep compatibility with older programmes which could look for info in the wrong place? – Simon Jun 03 '13 at 05:09sudo nautilusit allows you to navigate through all restricted folders. – Simon Jun 03 '13 at 05:12