public String getFileStoreType(final String path) {
      File diskFile = new File(path);
      if (!diskFile.exists()) {
        diskFile = diskFile.getParentFile();
      }
      Path currentPath = diskFile.toPath();
      if (currentPath.isAbsolute() && Files.exists(currentPath)) {
        try {
          FileStore store = Files.getFileStore(currentPath);
          return store.type();
        } catch (IOException e) {
          return null;
        }
      }
      return null;
    }
Get the file store type of a path. for example, /dev/sdd1(store name) /w2-gst-dev40d(mount
point) ext4(type)

@return file store type
geode-core/src/main/java/org/apache/geode/internal/shared/NativeCallsJNAImpl.java