At Thu, 30 Sep 2010 21:15:11 +0200, Floris Bos wrote: > > Hi, > > I'm writing an alternative sheepdog client, and am looking for a way to delete > a (temporary) snapshot. Great! What kind of client are you writing? > > I noticed that there is a SD_OP_DEL_VDI in include/sheep.h > But I cannot find a similar operation in include/sheepdog_proto.h > > > Is it safe for an external program to simply send SD_OP_DEL_VDI for deleting > snapshots? Yes, it should be safe. Indeed, SD_OP_DEL_VDI should be in include/sheepdog_proto.h because we need to support deleting snapshots from qemu-img commands in future. See vdi_delete() in collie/collie.c. It would tell you how to use a SD_OP_DEL_VDI operation. Thanks, Kazutaka > Or should that be regarded an internal command, that may change parameters in > the next version? > > > Yours sincerely, > > Floris Bos > -- > sheepdog mailing list > sheepdog at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/sheepdog |