Re: sysfs directories...

From: Chris Wright
Date: Fri Jun 18 2004 - 15:33:53 EST


* Adrian Almenar (aalmenar@xxxxxxxxxxxxx) wrote:
> i was looking at /sys on my machine yesterday and i found something
> strange.
>
> cd
> /sys/block/hda/device/block/device/block/device/block/device/block/...
> and that continues being almost infinite and recursive, it is normal

Both /sys/block/hda/device and the next element 'block' are symlinks,
so it'll top out after 40 (enforced by vfs).

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/