summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no>2007-11-20 16:53:21 +0100
committerlulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no>2007-11-20 16:53:21 +0100
commit3e39e38e4de902dc4f570b690e7b5987bebcf2ee (patch)
tree2bc592ae2063f4d59523e73cb0ad831c37b34b27
parent6e8f7c5c3e53ad9f09cde2cfb8663ce76e8df6da (diff)
- Add initial skeleton
- Add a little readme text.
-rw-r--r--README2
-rw-r--r--src/mp3_vnops.c10
-rw-r--r--src/mp3fs.c13
3 files changed, 25 insertions, 0 deletions
diff --git a/README b/README
index e69de29..9211b59 100644
--- a/README
+++ b/README
@@ -0,0 +1,2 @@
+MP3FS is a FUSE module implementing a mp3 filesystem in userland. The purpose of
+mp3fs is to provide filesystem hierarchy based on id3 tags of mp3-files.
diff --git a/src/mp3_vnops.c b/src/mp3_vnops.c
new file mode 100644
index 0000000..f70cea8
--- /dev/null
+++ b/src/mp3_vnops.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+static struct fuse_operations mp3_oper = {
+ .getattr = mp3_getattr,
+ .readdir = mp3_readdir,
+ .open = mp3_open,
+ .read = mp3_read,
+};
+
+
diff --git a/src/mp3fs.c b/src/mp3fs.c
new file mode 100644
index 0000000..d8db029
--- /dev/null
+++ b/src/mp3fs.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+
+static struct fuse_module mp3_mod {
+ "MP3FS"
+
+};
+= { #name_, factory_, NULL, NULL, 0 };
+int
+main(int argc, char **argv)
+{
+
+ return (0);
+}