bcachefs-tools/bcache-fs.c
2016-10-06 07:19:55 -08:00

38 lines
572 B
C

#include "bcache.h"
struct bcache_fs {
/* options... */
u64 capacity;
/* XXX: dirty != used, it doesn't count metadata */
u64 bytes_dirty;
};
static struct bcache_fs fill_fs(struct bcache_handle fs)
{
return (struct bcache_fs) {
};
}
int cmd_fs_show(int argc, char *argv[])
{
if (argc != 2)
die("Please supply a filesystem");
struct bcache_handle fs = bcache_fs_open(argv[1]);
return 0;
}
int cmd_fs_set(int argc, char *argv[])
{
if (argc != 2)
die("Please supply a filesystem");
struct bcache_handle fs = bcache_fs_open(argv[1]);
return 0;
}