/** * Gets the mount point of this data set, as indicated by the 'mountpoint' property. * * @return * null if the mount point is none or legacy, in which case zfs doesn't know * where this is supposed to be mounted. */ public File getMountPoint() { String mp = getZfsProperty(zfs_prop_t.ZFS_PROP_MOUNTPOINT); if(mp==null || mp.equals("legacy") || mp.equals("none")) return null; return new File(mp); }
/** * Gets the mount point of this data set, as indicated by the 'mountpoint' property. * * @return * null if the mount point is none or legacy, in which case zfs doesn't know * where this is supposed to be mounted. */ public File getMountPoint() { String mp = getZfsProperty(zfs_prop_t.ZFS_PROP_MOUNTPOINT); if(mp==null || mp.equals("legacy") || mp.equals("none")) return null; return new File(mp); }