Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Nested folder subsystem/8:0/ infinite times?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Nested folder subsystem/8:0/ infinite times?
25th Apr, 2014, 05:28 AM
Post: #1
NitSuA Offline
Registered
Posts: 61
Joined: Feb 2014
Reputation: 1
Nested folder subsystem/8:0/ infinite times?
Hi all,

I was looking for a file on the Raspberry Pi filesystem, but during the search, I saw that winscp was accessing a folder which has almost infinite subfolders:

Code:
/sys/bus/mmc/devices/mmc0:b368/block/mmcblk0/bdi/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/
subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/
subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0/subsystem/8:0   (and so on..)

I think this is a bug? Dont know if its Debian or Xbian.
Find all posts by this user
Quote this message in a reply
25th Apr, 2014, 06:29 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Nested folder subsystem/8:0/ infinite times?
As you can see, the subsystem folder is a symlink to one of the parents:
Code:
root@pi:~# ls -Al /sys/bus/mmc/devices/mmc0\:0007/
total 0
drwxr-xr-x 3 root root    0 Jan  1  1970 block
-r--r--r-- 1 root root 4096 Apr 24 22:26 cid
-r--r--r-- 1 root root 4096 Apr 24 22:26 csd
-r--r--r-- 1 root root 4096 Apr 22 22:05 date
lrwxrwxrwx 1 root root    0 Jan  1  1970 driver -> ../../../../../bus/mmc/drivers/mmcblk
-r--r--r-- 1 root root 4096 Apr 24 22:26 erase_size
-r--r--r-- 1 root root 4096 Apr 24 22:26 fwrev
-r--r--r-- 1 root root 4096 Apr 24 22:26 hwrev
-r--r--r-- 1 root root 4096 Apr 24 22:26 manfid
-r--r--r-- 1 root root 4096 Jan  1  1970 name
-r--r--r-- 1 root root 4096 Apr 24 22:26 oemid
-r--r--r-- 1 root root 4096 Apr 24 22:26 preferred_erase_size
-r--r--r-- 1 root root 4096 Apr 24 22:26 scr
-r--r--r-- 1 root root 4096 Jan  1  1970 serial
lrwxrwxrwx 1 root root    0 Jan  1  1970 subsystem -> ../../../../../bus/mmc
-r--r--r-- 1 root root 4096 Apr 22 22:05 type
-rw-r--r-- 1 root root 4096 Jan  1  1970 uevent

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
26th Apr, 2014, 06:29 PM
Post: #3
NitSuA Offline
Registered
Posts: 61
Joined: Feb 2014
Reputation: 1
RE: Nested folder subsystem/8:0/ infinite times?
Hi CurlyMo, thnx, but are you giving an explanation, or a confirmation that it's a bug?
Find all posts by this user
Quote this message in a reply
26th Apr, 2014, 07:48 PM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Nested folder subsystem/8:0/ infinite times?
Explanation. The kernel is responsible.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 05:59 PM Powered By MyBB, © 2002-2025 MyBB Group.