|
@@ -1,5 +1,5 @@
|
1
|
1
|
/*
|
2
|
|
-# filejoinfs v1.0
|
|
2
|
+# fjfs
|
3
|
3
|
# Quick'n'dirty FUSE module implementing joining of different files as one
|
4
|
4
|
#
|
5
|
5
|
# Copyright (c) 2010 Georgi Chorbadzhiyski (georgi@unixsol.org)
|
|
@@ -23,7 +23,7 @@
|
23
|
23
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
24
|
24
|
#
|
25
|
25
|
# To compile the program run:
|
26
|
|
-# gcc -Wall -Wextra `pkg-config fuse --cflags --libs` filejoinfs.c -lfuse -o filejoinfs
|
|
26
|
+# gcc -Wall -Wextra `pkg-config fuse --cflags --libs` fjfs.c -lfuse -o fjfs
|
27
|
27
|
#
|
28
|
28
|
# To use it:
|
29
|
29
|
# 1. Install the FUSE module
|
|
@@ -37,8 +37,8 @@
|
37
|
37
|
# 3. Create an empty file over which the files in the list will be joined
|
38
|
38
|
# touch joined.txt
|
39
|
39
|
#
|
40
|
|
-# 4. Mount filejoinfs
|
41
|
|
-# ./filejoinfs filelist.txt joined.txt
|
|
40
|
+# 4. Mount fjfs
|
|
41
|
+# ./fjfs filelist.txt joined.txt
|
42
|
42
|
#
|
43
|
43
|
# 5. Check the result with
|
44
|
44
|
# cat joined.txt
|
|
@@ -262,7 +262,7 @@ int main(int argc, char *argv[]) {
|
262
|
262
|
struct stat sb;
|
263
|
263
|
|
264
|
264
|
if (argc < 3) {
|
265
|
|
- fprintf(stderr, "Usage: filejoinfs filelist.txt mount-point-file\n");
|
|
265
|
+ fprintf(stderr, "Usage: fjfs filelist.txt mount-point-file\n");
|
266
|
266
|
exit(EXIT_FAILURE);
|
267
|
267
|
}
|
268
|
268
|
|