// IsMounted checks to see if the mount is active.  If the filesystem is mounted,
// sets in 'where' argument the current mountpoint, and returns true.  Otherwise,
// returns false.
IsMounted checks to see if the mount is active.  If the filesystem is mounted,
sets in 'where' argument the current mountpoint, and returns true.  Otherwise,
returns false.
// IsMounted checks to see if the mount is active . If the filesystem is mounted // sets in ' where ' argument the current mountpoint and returns true . Otherwise // returns false .
func (d *Dataset) IsMounted() (mounted bool, where string) {
	if d.list == nil {
		return
	}
	mp := C.dataset_is_mounted(d.list)
	if mounted = (mp != nil); mounted {
		where = C.GoString(mp)
		C.free(unsafe.Pointer(mp))
	}
	return
}
func ( d * Dataset ) IsMounted ( ) ( mounted bool , where string ) { if d . list == nil { return } mp := C . dataset_is_mounted ( d . list ) if mounted = ( mp != nil ) ; mounted { where = C . GoString ( mp ) C . free ( unsafe . Pointer ( mp ) ) } return }
IsMounted checks to see if the mount is active.
IsMounted checks to see if the mount is active .
// defer C.free(mp)