Describe the feature would like to see added to OpenZFS
lsblk allows appending additional options to the defaults via the + prefix like this
The default list of columns may be extended if list is specified in the format +list (e.g., lsblk -o +UUID).
https://man.archlinux.org/man/lsblk.8.en
I would like if zfs list, zpool list and others would support this too so you can do something like this
zfs list -o +compression,compressratio
zpool list -o +autotrim,ashift
I'm aware there is a space property for zfs list but that changes the format and nothing similar seems to be available for zpool list.
How will this feature improve OpenZFS?
You need to type and remember fewer options if you want to add non-default ones.
Additional context
An alternative would be to provide a defaults property.
zfs list -o defaults,compression,compressratio
zpool list -o defaults,autotrim,ashift
Ideally both of these suggestion can be implemented.
Describe the feature would like to see added to OpenZFS
lsblkallows appending additional options to the defaults via the+prefix like thisI would like if
zfs list,zpool listand others would support this too so you can do something like thisI'm aware there is a
spaceproperty forzfs listbut that changes the format and nothing similar seems to be available forzpool list.How will this feature improve OpenZFS?
You need to type and remember fewer options if you want to add non-default ones.
Additional context
An alternative would be to provide a
defaultsproperty.Ideally both of these suggestion can be implemented.