How can I check if some folder in Linux is on a shared disk or a local disk?
migrated from stackoverflow.com Sep 21 '11 at 4:29
This question came from our site for professional and enthusiast programmers.
You can tell whether a folder is on a local disk by looking up the filesystem type. The first part of the answer is to find what filesystem contains the folder. To do that you need to find the filesystem using the
You can then cross-reference the
You can tell more information about FUSE filesystems by looking at the