From 3e39e38e4de902dc4f570b690e7b5987bebcf2ee Mon Sep 17 00:00:00 2001 From: "lulf@carrot.studby.ntnu.no" Date: Tue, 20 Nov 2007 16:53:21 +0100 Subject: - Add initial skeleton - Add a little readme text. --- README | 2 ++ src/mp3_vnops.c | 10 ++++++++++ src/mp3fs.c | 13 +++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 src/mp3_vnops.c create mode 100644 src/mp3fs.c 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 + +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 + +static struct fuse_module mp3_mod { + "MP3FS" + +}; += { #name_, factory_, NULL, NULL, 0 }; +int +main(int argc, char **argv) +{ + + return (0); +} -- cgit v1.2.3