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*

2
  • 2
    Not sure about Mac OS but on Linux, you can run "mount" on it's own to get a list of mounted file systems. You can then use something like awk to parse the directories and compare them to the one in question. Commented Sep 26, 2017 at 10:34
  • What's your OS platform? (Please tag it.) We don't have GNU utilities on Mac systems or embedded Linux-based systems that would otherwise be expected as standard on full Linux-based systems. Commented Sep 27, 2017 at 0:48