Print this page
FITS: generating send-streams in portable format
This commit adds the command 'zfs fits-send', analogous to zfs send. The
generated send stream is compatible with the stream generated with that
from 'btrfs send' and can in principle easily be received to any filesystem.


1176         { (uint_t)ZFS_IOC_OBJSET_ZPLPROPS,      "ZFS_IOC_OBJSET_ZPLPROPS",
1177                 "zfs_cmd_t" },
1178         { (uint_t)ZFS_IOC_DATASET_LIST_NEXT,    "ZFS_IOC_DATASET_LIST_NEXT",
1179                 "zfs_cmd_t" },
1180         { (uint_t)ZFS_IOC_SNAPSHOT_LIST_NEXT,   "ZFS_IOC_SNAPSHOT_LIST_NEXT",
1181                 "zfs_cmd_t" },
1182         { (uint_t)ZFS_IOC_SET_PROP,             "ZFS_IOC_SET_PROP",
1183                 "zfs_cmd_t" },
1184         { (uint_t)ZFS_IOC_CREATE,               "ZFS_IOC_CREATE",
1185                 "zfs_cmd_t" },
1186         { (uint_t)ZFS_IOC_DESTROY,              "ZFS_IOC_DESTROY",
1187                 "zfs_cmd_t" },
1188         { (uint_t)ZFS_IOC_ROLLBACK,             "ZFS_IOC_ROLLBACK",
1189                 "zfs_cmd_t" },
1190         { (uint_t)ZFS_IOC_RENAME,               "ZFS_IOC_RENAME",
1191                 "zfs_cmd_t" },
1192         { (uint_t)ZFS_IOC_RECV,                 "ZFS_IOC_RECV",
1193                 "zfs_cmd_t" },
1194         { (uint_t)ZFS_IOC_SEND,                 "ZFS_IOC_SEND",
1195                 "zfs_cmd_t" },


1196         { (uint_t)ZFS_IOC_INJECT_FAULT,         "ZFS_IOC_INJECT_FAULT",
1197                 "zfs_cmd_t" },
1198         { (uint_t)ZFS_IOC_CLEAR_FAULT,          "ZFS_IOC_CLEAR_FAULT",
1199                 "zfs_cmd_t" },
1200         { (uint_t)ZFS_IOC_INJECT_LIST_NEXT,     "ZFS_IOC_INJECT_LIST_NEXT",
1201                 "zfs_cmd_t" },
1202         { (uint_t)ZFS_IOC_ERROR_LOG,            "ZFS_IOC_ERROR_LOG",
1203                 "zfs_cmd_t" },
1204         { (uint_t)ZFS_IOC_CLEAR,                "ZFS_IOC_CLEAR",
1205                 "zfs_cmd_t" },
1206         { (uint_t)ZFS_IOC_PROMOTE,              "ZFS_IOC_PROMOTE",
1207                 "zfs_cmd_t" },
1208         { (uint_t)ZFS_IOC_SNAPSHOT,             "ZFS_IOC_SNAPSHOT",
1209                 "zfs_cmd_t" },
1210         { (uint_t)ZFS_IOC_DSOBJ_TO_DSNAME,      "ZFS_IOC_DSOBJ_TO_DSNAME",
1211                 "zfs_cmd_t" },
1212         { (uint_t)ZFS_IOC_OBJ_TO_PATH,          "ZFS_IOC_OBJ_TO_PATH",
1213                 "zfs_cmd_t" },
1214         { (uint_t)ZFS_IOC_POOL_SET_PROPS,       "ZFS_IOC_POOL_SET_PROPS",
1215                 "zfs_cmd_t" },




1176         { (uint_t)ZFS_IOC_OBJSET_ZPLPROPS,      "ZFS_IOC_OBJSET_ZPLPROPS",
1177                 "zfs_cmd_t" },
1178         { (uint_t)ZFS_IOC_DATASET_LIST_NEXT,    "ZFS_IOC_DATASET_LIST_NEXT",
1179                 "zfs_cmd_t" },
1180         { (uint_t)ZFS_IOC_SNAPSHOT_LIST_NEXT,   "ZFS_IOC_SNAPSHOT_LIST_NEXT",
1181                 "zfs_cmd_t" },
1182         { (uint_t)ZFS_IOC_SET_PROP,             "ZFS_IOC_SET_PROP",
1183                 "zfs_cmd_t" },
1184         { (uint_t)ZFS_IOC_CREATE,               "ZFS_IOC_CREATE",
1185                 "zfs_cmd_t" },
1186         { (uint_t)ZFS_IOC_DESTROY,              "ZFS_IOC_DESTROY",
1187                 "zfs_cmd_t" },
1188         { (uint_t)ZFS_IOC_ROLLBACK,             "ZFS_IOC_ROLLBACK",
1189                 "zfs_cmd_t" },
1190         { (uint_t)ZFS_IOC_RENAME,               "ZFS_IOC_RENAME",
1191                 "zfs_cmd_t" },
1192         { (uint_t)ZFS_IOC_RECV,                 "ZFS_IOC_RECV",
1193                 "zfs_cmd_t" },
1194         { (uint_t)ZFS_IOC_SEND,                 "ZFS_IOC_SEND",
1195                 "zfs_cmd_t" },
1196         { (uint_t)ZFS_IOC_FITS_SEND,            "ZFS_IOC_FITS_SEND",
1197                 "zfs_cmd_t" },
1198         { (uint_t)ZFS_IOC_INJECT_FAULT,         "ZFS_IOC_INJECT_FAULT",
1199                 "zfs_cmd_t" },
1200         { (uint_t)ZFS_IOC_CLEAR_FAULT,          "ZFS_IOC_CLEAR_FAULT",
1201                 "zfs_cmd_t" },
1202         { (uint_t)ZFS_IOC_INJECT_LIST_NEXT,     "ZFS_IOC_INJECT_LIST_NEXT",
1203                 "zfs_cmd_t" },
1204         { (uint_t)ZFS_IOC_ERROR_LOG,            "ZFS_IOC_ERROR_LOG",
1205                 "zfs_cmd_t" },
1206         { (uint_t)ZFS_IOC_CLEAR,                "ZFS_IOC_CLEAR",
1207                 "zfs_cmd_t" },
1208         { (uint_t)ZFS_IOC_PROMOTE,              "ZFS_IOC_PROMOTE",
1209                 "zfs_cmd_t" },
1210         { (uint_t)ZFS_IOC_SNAPSHOT,             "ZFS_IOC_SNAPSHOT",
1211                 "zfs_cmd_t" },
1212         { (uint_t)ZFS_IOC_DSOBJ_TO_DSNAME,      "ZFS_IOC_DSOBJ_TO_DSNAME",
1213                 "zfs_cmd_t" },
1214         { (uint_t)ZFS_IOC_OBJ_TO_PATH,          "ZFS_IOC_OBJ_TO_PATH",
1215                 "zfs_cmd_t" },
1216         { (uint_t)ZFS_IOC_POOL_SET_PROPS,       "ZFS_IOC_POOL_SET_PROPS",
1217                 "zfs_cmd_t" },