public final class ZFSFileSystem extends ZFSObject
| Modifier and Type | Method and Description |
|---|---|
File |
getMountPoint()
Gets the mount point of this data set, as indicated by the 'mountpoint' property.
|
boolean |
isMounted()
Is this dataset mounted.
|
void |
mount()
Mounts this file system.
|
void |
mount(int flags)
Mounts this file system.
|
void |
setMountPoint(File loc)
Sets the mount point of this data set.
|
void |
share()
Share this dataset.
|
void |
unmount()
Unmounts this file system.
|
void |
unmount(int flags)
Unmounts this file system.
|
void |
unshare()
Unshare this dataset.
|
children, children, clone, compareTo, createFileSystem, createSnapshot, createSnapshot, descendants, descendants, destory, destory, destroy, destroy, dispose, equals, filesystems, finalize, getChildren, getLibrary, getName, getPool, getType, getUserProperty, getUserProperty, getZfsProperty, getZfsProperty, hashCode, inheritProperty, isShared, openFileSystem, rename, rollback, setProperty, snapshots, toStringpublic boolean isMounted()
public File getMountPoint()
public void setMountPoint(File loc)
The dataset won't be remounted until you manually do so (TODO: verify)
public void mount()
public void mount(int flags)
flags - See MountFlags.public void unmount()
public void unmount(int flags)
flags - See MountFlags.public void share()
public void unshare()
Copyright © 2008–2017. All rights reserved.