On 14 July 2014 18:49, Saul Wold <[email protected]> wrote: > Why do two stats here? Can't you stat an entry inside of the > /sys/kernel/debug directory?
It's the idiomatic "is this a mount point" test: look at the device number inside and outside the hopeful mount point, and if they're different then there's a mount. You need to stat twice to determine this. Ross -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
