hammer sub command .csh completion

mike-maillist at nux.co.uk mike-maillist at nux.co.uk
Thu Oct 22 11:28:54 PDT 2009


I found:


and made a hammer version for my .csh profile, thought it may save a few 
people some typing, i havent extended it as much as the zfs ones but i think 
may be a starting point - there is no 'hammer list' command so i suppose 
some awk/sed/grepping on mount could be done instead.

set hammer_cmd = (synctid bstats iostats history\
                 namekey1 namekey2 namekey32\
                 cleanup info snapshot prune prune-everything\
                 rebalance reblock\
                 pfs-status pfs-master pfs-slave  pfs-update pfs-upgrade 
pfs-downgrade pfs-destroy\
                 mirror-read mirror-read-stream mirror-write mirror-dump 
mirror-copy mirror-stream\
                 version version-upgrade expand)

complete hammer \

More information about the Users mailing list