Here you can find the source of isPosixFileStore(Path path)
public static boolean isPosixFileStore(Path path) throws IOException
//package com.java2s; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; public class Main { public static boolean isPosixFileStore(File file) throws IOException { return isPosixFileStore(file.toPath()); }/*from w w w . java 2s . co m*/ public static boolean isPosixFileStore(Path path) throws IOException { return Files.isSymbolicLink(path) || Files.getFileStore(path).supportsFileAttributeView( "posix"); } }