Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
struct bdev;
-/*
- * specifications for how to create a new backing store
- */
-struct bdev_specs {
- char *fstype;
- uint64_t fssize; // fs size in bytes
- struct {
- char *zfsroot;
- } zfs;
- struct {
- char *vg;
- char *lv;
- char *thinpool; // lvm thin pool to use, if any
- } lvm;
- char *dir;
-};
-
struct bdev_ops {
/* detect whether path is of this bdev type */
int (*detect)(const char *path);
void (*free)(struct lxc_snapshot *s);
};
+
+/*!
+ * \brief Specifications for how to create a new backing store
+ */
+struct bdev_specs {
+ char *fstype; /*!< Filesystem type */
+ uint64_t fssize; /*!< Filesystem size in bytes */
+ struct {
+ char *zfsroot; /*!< ZFS root path */
+ } zfs;
+ struct {
+ char *vg; /*!< LVM Volume Group name */
+ char *lv; /*!< LVM Logical Volume name */
+ char *thinpool; /*!< LVM thin pool to use, if any */
+ } lvm;
+ char *dir; /*!< Directory path */
+};
+
/*!
* \brief Create a new container.
*