12 #include <uuid/uuid.h>
14 #include "bcache-cmds.h"
16 int cmd_run(int argc, char *argv[])
21 int cmd_stop(int argc, char *argv[])
24 die("Please supply a filesystem");
26 struct bcache_handle fs = bcache_fs_open(argv[1]);
28 if (ioctl(fs.ioctl_fd, BCH_IOCTL_STOP))
29 die("BCH_IOCTL_STOP error: %s", strerror(errno));