Lines Matching defs:zfs
34 import zfs.util
35 import zfs.ioctl
40 """This is the main script for doing zfs subcommands. It doesn't know
41 what subcommands there are, it just looks for a module zfs.<subcommand>
53 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:]))
56 # import zfs.<subcommand>
57 # subfunc = zfs.<subcommand>.do_<subcommand>
60 __import__("zfs." + subcmd)
61 submod = getattr(zfs, subcmd)
68 except zfs.util.ZFSError, e: