Browse Source

Rename filejoinfs to fjfs.

Georgi Chorbadzhiyski 12 years ago
parent
commit
a51c9ceaba
5 changed files with 16 additions and 16 deletions
  1. 4
    4
      Makefile
  2. 5
    5
      fjfs.c
  3. 2
    2
      fusefile_valgrind
  4. 1
    1
      mount.sh
  5. 4
    4
      readme.txt

+ 4
- 4
Makefile View File

@@ -12,10 +12,10 @@ CFLAGS+=	${CFLAGS_WARN}
12 12
 CFLAGS+=	`pkg-config --cflags fuse`
13 13
 LIBS+=		`pkg-config --libs fuse`
14 14
 
15
-all: filejoinfs
15
+all: fjfs
16 16
 
17
-filejoinfs: filejoinfs.c
18
-	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ filejoinfs.c ${LIBS}
17
+fjfs: fjfs.c
18
+	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ fjfs.c ${LIBS}
19 19
 
20 20
 clean:
21
-	rm -f filejoinfs
21
+	rm -f fjfs

filejoinfs.c → fjfs.c View File

@@ -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
 

+ 2
- 2
fusefile_valgrind View File

@@ -1,6 +1,6 @@
1 1
 ulimit -c unlimited
2 2
 valgrind \
3
-	--log-file=filejoinfs-$(date +%F-%H:%M:%S).log \
3
+	--log-file=fjfs-$(date +%F-%H:%M:%S).log \
4 4
 	--leak-check=full \
5 5
 	--show-reachable=yes \
6 6
 	--undef-value-errors=no \
@@ -8,4 +8,4 @@ valgrind \
8 8
 	--run-libc-freeres=yes \
9 9
 	--time-stamp=yes \
10 10
 		-- \
11
-	./filejoinfs test.txt
11
+	./fjfs test.txt

+ 1
- 1
mount.sh View File

@@ -4,5 +4,5 @@ set -e
4 4
 
5 5
 ulimit -c unlimited
6 6
 touch testmnt.txt
7
-./filejoinfs test.txt testmnt.txt
7
+./fjfs test.txt testmnt.txt
8 8
 

+ 4
- 4
readme.txt View File

@@ -1,6 +1,6 @@
1
-filejoinfs v1.0
1
+fjfs v1.0
2 2
 
3
-filejoinfs is a FUSE module that allows several files to be joined into one.
3
+fjfs is a FUSE module that allows several files to be virtually joined into one.
4 4
 
5 5
 To compile the program run "make".
6 6
 
@@ -16,8 +16,8 @@ To use it:
16 16
      3. Create an empty file over which the files in the list will be joined
17 17
            touch joined.txt
18 18
 
19
-     4. Mount filejoinfs
20
-           ./filejoinfs filelist.txt joined.txt
19
+     4. Mount fjfs
20
+           ./fjfs filelist.txt joined.txt
21 21
 
22 22
      5. Check the result with
23 23
            cat joined.txt

Loading…
Cancel
Save