blob: 54688421fa4f830a345dbfa2af427920d64825d8 [file] [log] [blame]
#include <stdio.h>
#include "blockdev.h"
int main(int argc, char* argv[])
{
if (argc != 2) {
fprintf(stderr, "Use %s /path/to/filesystem\n", argv[0]);
return -1;
}
if (devopen(argv[1], NULL) != 1) {
fprintf(stderr, "Faild to open %s\n", argv[1]);
return -1;
}
// TODO
devclose();
return 0;
}