ChangeLog: I forgot to add the entries for the past few commits
[castfs.git] / README
blob520e4fa5ff286370a7dcce531a2417711bafb95d
2 Caution:  This is a Work-In-Progress!  There is a very high likelyhood of
3         castfs deleting your entire filesystem, especially if you dare to
4         run it as root.  Please test it and convince yourself it is correct
5         before proceeding.  Feel free to offer any constructive comments.
7         Dale E. Edmons (aka linuxfan)
10 --- Copy And Stage Things File System ---
11 --- README ---
13 castfs is a fuse filesystem written in C and is used for capturing filesystem 
14 calls for your root filesystem and staging any modifications or additions to 
15 the root filesystem.
17 The main purpose for this filesystem is to be able to invoke the filesystem in
18 the Source Mage package manager (sorcery) to install packages without blowing
19 over files in your main system. However, there maybe other uses in the future.
21 -- BUILD INSTRUCTIONS --
23 Simple build instructions:
25     $ make
27 There are various flags to pass to the Makefile if you want to add CFLAGS or 
28 LDFLAGS use the make variables EXTRA_CFLAGS and EXTRA_LDFLAGS
30 -- INSTALL INSTRUCTIONS --
32 Simple install instructions:
34     # make install
36 There are various flags to pass to the Makefile to install to different prefix
37 locations use the PREFIX make variable to do this.
39 -- USAGE INSTRUCTIONS --
41 There are some simple run and stop scripts in the source directory to show usage
42 of the filesystem after building castfs do:
44     # ./run-castfs.sh
45     # chroot test_dirs/mount
46     # < do stuff >
47     # exit
48     # ./stop-castfs.sh
50 After this you should find all your modified files in test_dirs/stage directory.
52 -- More Advanced Usage --
54 The castfs needs two environmental variables:
56     CASTFS_LOGFILE
57     CASTFS_DBGLVL
59 The log file variable is the location where the log file that castfs 
60 will log filesystem function calls calls into the utilities file etc.
62 The debug level variable is actually a mask to dump particular parts of
63 castfs to the log file, either just the filesystem calls or just the
64 hash calls or just the util calls and so on.
66 There's two ways you can use castfs either call the binary directly or
67 mount it via the mount command:
69     # castfs /mnt/cast-fs -o stage=/mnt/cast-fs-stage
70     or
71     # mount -t fuse -o stage=/mnt/cast-fs-stage castfs /mnt/cast-fs
73 -- Bugs Problems --
75 You can contact the maintainers:
77 David Brown <dmlb2000@gmail.com>