// Mount the given filesystem.
Mount the given filesystem.
// Mount the given filesystem .
func (d *Dataset) Mount(options string, flags int) (err error) {
	if d.list == nil {
		err = errors.New(msgDatasetIsNil)
		return
	}
	csOptions := C.CString(options)
	defer C.free(unsafe.Pointer(csOptions))
	if ec := C.dataset_mount(d.list, csOptions, C.int(flags)); ec != 0 {
		err = LastError()
	}
	return
}
func ( d * Dataset ) Mount ( options string , flags int ) ( err error ) { if d . list == nil { err = errors . New ( msgDatasetIsNil ) return } csOptions := C . CString ( options ) defer C . free ( unsafe . Pointer ( csOptions ) ) if ec := C . dataset_mount ( d . list , csOptions , C . int ( flags ) ) ; ec != 0 { err = LastError ( ) } return }
Mount the given filesystem.
Mount the given filesystem .