// Unmount the given filesystem.
Unmount the given filesystem.
// Unmount the given filesystem .
func (d *Dataset) Unmount(flags int) (err error) {
	if d.list == nil {
		err = errors.New(msgDatasetIsNil)
		return
	}
	if ec := C.dataset_unmount(d.list, C.int(flags)); ec != 0 {
		err = LastError()
	}
	return
}
func ( d * Dataset ) Unmount ( flags int ) ( err error ) { if d . list == nil { err = errors . New ( msgDatasetIsNil ) return } if ec := C . dataset_unmount ( d . list , C . int ( flags ) ) ; ec != 0 { err = LastError ( ) } return }
Unmount the given filesystem.
Unmount the given filesystem .