On 2015-08-03 17:25, Gregory Fong wrote:
> /sys/block will only be scanned with CONFIG_SYSFS_DEPRECATED=y and
> deprecated sysfs enabled (using CONFIG_SYSFS_DEPRECATED_V2=y or the
> related kernel boot param).  In that case, all of /sys/block/* will be
> a real directory, so we don't need to follow symlinks.

So, was this comment about the necessity of following /sys/block/loop*
symlinks incorrect then? Howso?

> -             /* ACTION_FOLLOWLINKS is needed since in newer kernels
> -              * /sys/block/loop* (for example) are symlinks to dirs,
> -              * not real directories.
> -              * (kernel's CONFIG_SYSFS_DEPRECATED makes them real dirs,
> -              * but we can't enforce that on users)
> -              */


-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to