On Mon, May 31, 2010 at 5:44 AM, wojciech <wojciech.g...@cimr.cam.ac.uk> wrote:
> I wanted to do the same with system users:
> but i didn't notice that instead of datapool/system  I set datapool in 
> inherit -r and all users under datapool/system inherits settings from 
> datapool.

zfs inherit -r isn't sticky, it just clears any locally set values in
descendant datasets when run.

Inherit isn't really the best name for the command either, because it
doesn't set any value in the dataset, it removes any locally set
properties. If a property isn't set in a parent, then it will inherit
an unset value.

For instance, if you were to do:
# zfs set com.sun:auto-snapshot:daily=true datapool/system
all descendant datasets from datapool/system would have the snapshot
property set, because they would inherit it.

If you were to do:
zfs inherit -r com.sun:auto-snapshot:dailyy datapool
then the dailyy (double-y) value would be unset from the datapool
dataset and all descendants. Because there isn't a default value,
there wouldn't be anything to inherit and the value would be null.

-B

-- 
Brandon High : bh...@freaks.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to