search for: destf

Displaying 2 results from an estimated 2 matches for "destf".

Did you mean: dest
2013 Jun 26
6
[PROGS PATCH] Import btrfs-extent-same
...f files that got deduped */ + uint32_t reserved2; + struct btrfs_ioctl_same_extent_info info[0]; +}; + +static void usage(const char *prog) +{ + printf("Usage: %s len file1 loff1 file2 loff2\n", prog); +} + +int main(int argc, char **argv) +{ + int ret, src_fd, i, numfiles; + char *srcf, *destf; + struct btrfs_ioctl_same_args *same; + struct btrfs_ioctl_same_extent_info *info; + unsigned long long bytes = 0ULL; + + if (argc < 6 || (argc % 2)) { + usage(argv[0]); + return 1; + } + + numfiles = (argc / 2) - 2; + + printf("Deduping %d total files\n", numfiles + 1); + + same =...
2012 Feb 22
0
RFC for new zfs replication tool
...tion per filesystem-remotehost combination allowed # Stores configuration in filesystem properties of snapshots. # Need to figure out some sort of "locking", for during sync and changes. ## Possibly via filesystem properties?? or other zfs commands Usage: zrep -i/init ZFSfs remotehost destfs == create initial snapshot. should do lots of sanitychecks. both local and remote. SHOULD it actually do first sync as well? .... Should it allow hand-created snapshot,? If so, specify snap as ZFSfs arg. Extra options.......