Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • A filesystem contains one or more directories. Every directory is part of a filesystem (including /proc, /, and /bin from your examples), so I'm not clear how you want to identify the "difference". Commented May 18, 2015 at 13:18
  • @roaima please find code snippet for sample Commented May 18, 2015 at 15:29
  • Your question is still ambiguous. /proc, / and /bin are directories. They are not "filesystems". Do you perhaps mean you want to identify which directories are also the mount point (root) of their filesystem? Commented May 18, 2015 at 18:02