]> git.sesse.net Git - bcachefs-tools-debian/blob - bcache-fs.c
finish ripping out libnih
[bcachefs-tools-debian] / bcache-fs.c
1
2 #include "bcache.h"
3
4 struct bcache_fs {
5         /* options... */
6
7         u64             capacity;
8
9         /* XXX: dirty != used, it doesn't count metadata */
10         u64             bytes_dirty;
11 };
12
13 static struct bcache_fs fill_fs(struct bcache_handle fs)
14 {
15         return (struct bcache_fs) {
16         };
17 }
18
19 int cmd_fs_show(int argc, char *argv[])
20 {
21         if (argc != 2)
22                 die("Please supply a filesystem");
23
24         struct bcache_handle fs = bcache_fs_open(argv[1]);
25
26         return 0;
27 }
28
29 int cmd_fs_set(int argc, char *argv[])
30 {
31         if (argc != 2)
32                 die("Please supply a filesystem");
33
34         struct bcache_handle fs = bcache_fs_open(argv[1]);
35
36         return 0;
37 }