public void testCreate() throws Exception {
Sigar sigar = getSigar();
FileSystem[] fslist = sigar.getFileSystemList();
FileSystemMap mounts = sigar.getFileSystemMap();
String dir = System.getProperty("user.home");
assertTrueTrace("\nMountPoint for " + dir,
mounts.getMountPoint(dir).getDirName());
for (int i=0; i<fslist.length; i++) {
FileSystem fs = fslist[i];
assertTrue(mounts.getFileSystem(fs.getDirName()) != null);
assertLengthTrace("DevName", fs.getDevName());
assertLengthTrace("DirName", fs.getDirName());
assertLengthTrace("TypeName", fs.getTypeName());
assertLengthTrace("SysTypeName", fs.getSysTypeName());
traceln("Options=" + fs.getOptions());