What do you mean, two lines? You know you can just get a single property? And add -H and -o options?
For example:
Code:
# zfs get -H -o value mountpoint zroot
/zroot
Code:
-H Display output in a form more easily parsed by scripts. Any
headers are omitted, and fields are explicitly separated by
a single tab instead of an arbitrary amount of space.
Code:
-o field A comma-separated list of columns to display, defaults to
name,property,value,source.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.