commit ea9028a7aeccc9d586b45ba84ef8d46abbfefc01 Author: Alexander Larsson Date: Tue Oct 11 13:25:06 2011 +0200 Update gitignore .gitignore | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 224297a8618e6f7c595eb39d1dcea7f396cc798a Author: Alexander Larsson Date: Tue Oct 11 13:24:28 2011 +0200 Rename create_bundle to glick-mkbundle Makefile | 8 +- create_bundle.c | 865 ------------------------------------------------------- mkbundle.c | 865 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 869 insertions(+), 869 deletions(-) commit 4d7cf50c51b29b26f81989e2a1d1d5867be29c67 Author: Alexander Larsson Date: Tue Oct 11 13:14:00 2011 +0200 Rename private-mount to glick-helper and move to libexec Makefile | 15 +++--- glick-helper.c | 150 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ private-mount.c | 150 ------------------------------------------------------- runner.c | 2 +- 4 files changed, 159 insertions(+), 158 deletions(-) commit f4a777bab181e5ff22e9a532c8d8da696472c592 Author: Alexander Larsson Date: Tue Oct 11 11:43:05 2011 +0200 Add mimetype for glick files glick2.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 8c3bdaa3de73138e6957d815cc2f77d181595ab7 Author: Alexander Larsson Date: Tue Oct 11 11:42:45 2011 +0200 Add gitignore .gitignore | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 8ee8b89d45e8bacb93b48f68584be763a8f108bc Author: Alexander Larsson Date: Tue Oct 11 11:41:35 2011 +0200 Remove unused stuff and build makershared Makefile | 8 ++-- connect.c | 102 ------------------------------------------------------ connectsocket.py | 4 -- createsocket.py | 7 ---- makershared.c | 1 - to_c.c | 50 -------------------------- 6 files changed, 4 insertions(+), 168 deletions(-) commit 669737d49494acccbbe8b719de1901a5d76ba076 Author: Alexander Larsson Date: Tue Oct 11 11:37:38 2011 +0200 Remove TODO from git TODO | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) commit 93f7b92dac9b95d8cfeb836027b64038cee64ee7 Author: Alexander Larsson Date: Tue Oct 11 11:35:46 2011 +0200 Clean up process names Use the bundle as argv[0] for the default app Start process via globally visible pathname so e.g. gdb works on it Use nice name for namespace watcher process TODO | 11 ++++++++++ private-mount.c | 1 - runner.c | 60 +++++++++++++++++++++++++++++++++++++----------------- 3 files changed, 52 insertions(+), 20 deletions(-) commit c50db54d12ed427b55b4ebc9b90492cd6963706e Author: Alexander Larsson Date: Tue Oct 11 10:46:57 2011 +0200 Rename glick2 to glick-runner Makefile | 6 +- glick2.c | 439 ------------------------------------------------------- runner.c | 439 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ setup_binfmt.sh | 2 +- 4 files changed, 443 insertions(+), 443 deletions(-) commit 500238a588118e8e4ef622eae9be6bfd56dcff03 Author: Alexander Larsson Date: Tue Oct 11 10:35:53 2011 +0200 Export bundle prefix as BUNDLE_PREFIX glick2.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit dc64a81d4fc6311016b954a4179976dc91e75eed Author: Alexander Larsson Date: Tue Oct 11 10:10:20 2011 +0200 Fix permissions issue with inotify removal support TODO | 2 +- glick_fs.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 1199494f215001cd61fd25e17132490d009561d1 Author: Alexander Larsson Date: Mon Oct 10 22:40:02 2011 +0200 Move TODO to external file TODO | 6 ++++++ glick_fs.c | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) commit 0e16f9de6d8b0a927e2f9f54f31a6adca176f11d Author: Alexander Larsson Date: Mon Oct 10 22:38:48 2011 +0200 Save mtime (only in bundle) create_bundle.c | 1 + format.h | 1 - glick_fs.c | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) commit 428188d437cde1bbe4c0b40409278d8a68766eaf Author: Alexander Larsson Date: Mon Oct 10 22:32:32 2011 +0200 Only lookup by sha1 for regular files glick_fs.c | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) commit d564af69519364bfe50574941c4dfee5113a1277 Author: Alexander Larsson Date: Mon Oct 10 14:47:04 2011 +0200 Update TODO glick_fs.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit e0b82b115879c0f1ea3c2426680170cc3e15f8e2 Author: Alexander Larsson Date: Mon Oct 10 14:31:25 2011 +0200 Actually cache file data glick_fs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 45fad952a91e39e959e3a9f4aed5a79c293d9c5d Author: Alexander Larsson Date: Mon Oct 10 14:28:46 2011 +0200 Share files based on sha1 glick_fs.c | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) commit afc1e9bd4dc3b51e8744a1c6ded99a138529cb7c Author: Alexander Larsson Date: Mon Oct 10 13:56:22 2011 +0200 Reuse whole mount if same file glick_fs.c | 43 +++++++++++++++++++++++++++++++------------ 1 files changed, 31 insertions(+), 12 deletions(-) commit b81b4e3b8eff9e0e1e075f756a5c2788bc66d20f Author: Alexander Larsson Date: Mon Oct 10 13:43:11 2011 +0200 Calculate SHA1 for files create_bundle.c | 135 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 117 insertions(+), 18 deletions(-) commit abae73f2ccfbdd7dda1aa1a04bb6186e9032e52b Author: Alexander Larsson Date: Mon Oct 10 13:39:58 2011 +0200 Fix some indentation create_bundle.c | 98 ++++++++++++++++++++++++++---------------------------- 1 files changed, 47 insertions(+), 51 deletions(-) commit 92c2028448a59379c919843adb1470880b79b884 Author: Alexander Larsson Date: Mon Oct 10 13:11:41 2011 +0200 update TODO glick_fs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 8593251bb4a025da9f98dbad0e98125a19a80a6f Author: Alexander Larsson Date: Mon Oct 10 12:24:26 2011 +0200 New format Inodes are now 32bit Mode is 16bit Added 16bit flag to inode Added sha1 checksum to inode Removed checksum from slice create_bundle.c | 21 ++++----------------- format.h | 22 +++++++++++++++------- glick_fs.c | 14 ++++++++------ 3 files changed, 27 insertions(+), 30 deletions(-) commit 1d6162ab73e8035402b6ce1a16d53a8a02fa11cd Author: Alexander Larsson Date: Mon Oct 10 12:23:54 2011 +0200 Add create_bundle to make clean Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a5bce48e4248587c361c07c7ed8487de11e583d3 Author: Alexander Larsson Date: Fri Oct 7 16:54:10 2011 +0200 Update TODO list glick_fs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit ab13c3ded2d3a8dca48604eaecd29f554c57e89b Author: Alexander Larsson Date: Fri Oct 7 16:10:41 2011 +0200 Support builtin triggers glick_fs.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 175 insertions(+), 1 deletions(-) commit 34bfae08ce83097956f79cf673e043632b69bc80 Author: Alexander Larsson Date: Fri Oct 7 16:09:22 2011 +0200 Don't try to remove dirs that were in a removed slice but also in another slice glick_fs.c | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) commit 4a463a2b12af56301e8a6d7271fa4a4d8a8d7ace Author: Alexander Larsson Date: Fri Oct 7 14:16:59 2011 +0200 Support atime/mtime glick_fs.c | 53 +++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 41 insertions(+), 12 deletions(-) commit 843c7ad21eb612794dc08028d5e6637b1fbe150b Author: Alexander Larsson Date: Fri Oct 7 13:40:26 2011 +0200 Rename public to exports glick_fs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d547097f3eefd6a4d98981719cba45e288433931 Author: Alexander Larsson Date: Fri Oct 7 13:39:06 2011 +0200 Only put exported files in the public dir There is no way we can sanely handle merging transient files between mounts, nor handle triggers for this. So, we just have to deal with two prefixes, one for the bundle, one for bundle exports. glick_fs.c | 30 ++---------------------------- 1 files changed, 2 insertions(+), 28 deletions(-) commit 3a68ecc2ee6dd885a4c82c01c4356f3f71af4e32 Author: Alexander Larsson Date: Fri Oct 7 13:29:09 2011 +0200 Implement rename glick_fs.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 99 insertions(+), 5 deletions(-) commit c7acc40a6def68561ebc8ae6007cb6e20f90d25e Author: Alexander Larsson Date: Fri Oct 7 11:58:54 2011 +0200 Move .pundles to public dir glick_fs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit ec4180d7b97805695bc0d383d2fc606831a57c17 Author: Alexander Larsson Date: Fri Oct 7 11:57:56 2011 +0200 Don't invalidate inodes we're just removing This causes a deadlock in the fuse process glick_fs.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 0d2402f6c2d37d79c5d0445b0d37771d342fb065 Author: Alexander Larsson Date: Fri Oct 7 11:29:33 2011 +0200 Add bundles symlinks glick_fs.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit f7bb17277baad0609e22667c6c1f2e3ad51e38c1 Author: Alexander Larsson Date: Fri Oct 7 11:28:59 2011 +0200 Add immutable flag and make root, mounts and bundles dirs immutable glick_fs.c | 35 ++++++++++++++++++++++++++++------- 1 files changed, 28 insertions(+), 7 deletions(-) commit a9db4787f2255e3b6cd3a9859871225bacf091dc Author: Alexander Larsson Date: Fri Oct 7 11:28:15 2011 +0200 Clean up code a bit glick_fs.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 2567fbcf18d5fb0888fea906be44c1a3c2dc2c62 Author: Alexander Larsson Date: Fri Oct 7 11:27:09 2011 +0200 Invalidate kernel inodes when removed glick_fs.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit dbba06fc366619954c9deebab2ca1dfeac9d0935 Author: Alexander Larsson Date: Fri Oct 7 11:05:47 2011 +0200 Support inotify in remove glick_fs.c | 205 ++++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 160 insertions(+), 45 deletions(-) commit e6dd21d17c435dad6ac511cef1deeee16666ed76 Author: Alexander Larsson Date: Fri Oct 7 10:15:35 2011 +0200 Remove debug spew glick_fs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit d2b4fd6b4acc90b6c44951abb48c48e036f6de9b Author: Alexander Larsson Date: Thu Oct 6 18:48:45 2011 +0200 Remove some done todos glick_fs.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 566a7e67d0d5351e1a6edaa06e3479e47c388978 Author: Alexander Larsson Date: Thu Oct 6 18:48:22 2011 +0200 Remove old fuse imlementation glick_fs.c | 1597 +++++------------------------------------------------------- 1 files changed, 134 insertions(+), 1463 deletions(-) commit cea4ffbe5aaaa5fe5979e452440693dd194b440d Author: Alexander Larsson Date: Thu Oct 6 18:34:36 2011 +0200 Implement transient file truncation glick_fs.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 50 insertions(+), 2 deletions(-) commit 561ced0e61cf267f51876a9164bb8c2d52d8a215 Author: Alexander Larsson Date: Thu Oct 6 18:28:26 2011 +0200 Support file read/write glick_fs.c | 288 ++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 174 insertions(+), 114 deletions(-) commit 44a0917d752c559f7767e69c854c68e5cd12957f Author: Alexander Larsson Date: Thu Oct 6 18:18:42 2011 +0200 Implement unlink and rmdir glick_fs.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 88 insertions(+), 2 deletions(-) commit 1b79c65fc111bdb178f2e917bfaaeb7313e7fbbc Author: Alexander Larsson Date: Thu Oct 6 17:52:54 2011 +0200 Implement symlinks glick_fs.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 106 insertions(+), 2 deletions(-) commit 873c5415e0e0c50e021a04b4edce4b535740ad10 Author: Alexander Larsson Date: Thu Oct 6 17:21:32 2011 +0200 Support transient files glick_fs.c | 37 +++++++++++++++++++++++++++++++++++-- 1 files changed, 35 insertions(+), 2 deletions(-) commit 583012bbe0edd6dc46240d4a3db46677296fcd36 Author: Alexander Larsson Date: Thu Oct 6 17:21:20 2011 +0200 Don't leak refs to new inodes glick_fs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 6fc7bcba8174b7aab56a406fdf8873abea4151b4 Author: Alexander Larsson Date: Thu Oct 6 17:20:55 2011 +0200 Remove all children (even owned) when unmounting glick_fs.c | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) commit 624f9a63c0fe89b015c7718fb763d709ae56ed2c Author: Alexander Larsson Date: Thu Oct 6 17:06:17 2011 +0200 Don't unref the mount with the inode as we don't ref it glick_fs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 171aae698ade49410bd981d224ef878d81321c87 Author: Alexander Larsson Date: Thu Oct 6 17:05:16 2011 +0200 Don't fail in lookup for unknown inodes This happens if we deleted the inodes glick_fs.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 8a4c76c17abb1ed04facac3ceb8fa7d80c192f82 Author: Alexander Larsson Date: Thu Oct 6 16:48:21 2011 +0200 Make inotify work on slice additions glick_fs.c | 318 ++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 201 insertions(+), 117 deletions(-) commit ed220d9a996ffa9c6fe6e9d47a555304b0da1f48 Author: Alexander Larsson Date: Thu Oct 6 16:47:30 2011 +0200 Add helpers for hide/unhide glick_fs.c | 31 +++++++++++++++++++++++++------ 1 files changed, 25 insertions(+), 6 deletions(-) commit d188f0c2f32aaa9f4fe7e482c91453eb8d02bf2d Author: Alexander Larsson Date: Thu Oct 6 12:50:47 2011 +0200 Check the size of the right directory... glick_fs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4df3812f3e59213fc2712fbb064d3cf8246efa54 Author: Alexander Larsson Date: Thu Oct 6 12:44:15 2011 +0200 Better ownership model for inodes new_dir doesn't add child, instead we do the mount magic in add_child. Also we don't need the ref from known_children > 0 glick_fs.c | 48 +++++++++++++++++++++--------------------------- 1 files changed, 21 insertions(+), 27 deletions(-) commit f6d384fbc60579954d8088774dc6498564f6be78 Author: Alexander Larsson Date: Wed Oct 5 21:58:38 2011 +0200 Initial move to new in-memory inode setup glick_fs.c | 846 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 773 insertions(+), 73 deletions(-) commit f6465ecd07e83ed6ad9f976e97fd7db91cd8e02d Author: Alexander Larsson Date: Thu Sep 29 20:58:53 2011 +0200 Change inotify hack to hide inodes and mknod them glick_fs.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 80 insertions(+), 12 deletions(-) commit c533ac287385f34ab055a7a1be3fa97cb8d87452 Author: Alexander Larsson Date: Thu Sep 29 20:54:54 2011 +0200 Add script that helps setting up binfmt_misc setup_binfmt.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit bb4249c0dd1690017a796bacdfe7e2b8f7726b16 Author: Alexander Larsson Date: Thu Sep 29 18:52:51 2011 +0200 Drop the unlink stuff, just free transient files normally glick_fs.c | 20 +++++++------------- 1 files changed, 7 insertions(+), 13 deletions(-) commit 84f2bc29eeb48582c7042747746e49e64faad0bc Author: Alexander Larsson Date: Thu Sep 29 18:50:08 2011 +0200 Make sure we free transient files depth-first glick_fs.c | 52 +++++++++++++++++++++++++--------------------------- 1 files changed, 25 insertions(+), 27 deletions(-) commit d229cb7c32dd2d14361c0ffb127a9962d48f8910 Author: Alexander Larsson Date: Thu Sep 29 18:49:45 2011 +0200 Support executables listed in bundle glick2.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 100 insertions(+), 1 deletions(-) commit 58b789b47e943c85e2dbdafbc962496dd70d0588 Author: Alexander Larsson Date: Thu Sep 29 17:39:26 2011 +0200 Add symlinks to bundles glick_fs.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 130 insertions(+), 8 deletions(-) commit 14a2d8dcdef51f417fd8c506d14bdb68a50247e8 Author: Alexander Larsson Date: Thu Sep 29 16:33:59 2011 +0200 Add glick_slice_get_inode helper glick_fs.c | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) commit d5fc5c03a315284312fc366ee118648a9ca4f032 Author: Alexander Larsson Date: Thu Sep 29 16:19:24 2011 +0200 Add an inotify hack for exported files glick_fs.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 110 insertions(+), 1 deletions(-) commit 2152a5193d95e06e62633db28fc79a04f42e25cf Author: Alexander Larsson Date: Thu Sep 29 16:18:15 2011 +0200 Fix filename for GlickPublic glick_fs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c1d9867d8ef6621e18a409f220b9b3fd71c4dbd9 Author: Alexander Larsson Date: Thu Sep 29 16:17:52 2011 +0200 Don't leak lists glick_fs.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c16f2b367e918ea4b9915d4d098586182dff1e4e Author: Alexander Larsson Date: Thu Sep 29 16:16:58 2011 +0200 Ignore hidden bundles glick_fs.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 613a2f72ce7280893b3dcc7f292400fc3ca95b4b Author: Alexander Larsson Date: Thu Sep 29 16:15:31 2011 +0200 Only look for changes_done and created messages for the bundle dir This way we get less events per bundle write glick_fs.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 56ab165d73195ab7440a66cf2e245af96d904ea5 Author: Alexander Larsson Date: Thu Sep 29 16:14:41 2011 +0200 Make mountpoint a global var glick_fs.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 2dc8050559d6a3ac965d73be49365a40843529d8 Author: Alexander Larsson Date: Thu Sep 29 14:35:12 2011 +0200 Watch public dir for changes Makefile | 2 +- glick_fs.c | 27 +++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) commit c03d624c9a8b1396b337e5b4fbcaaa9e699ecc58 Author: Alexander Larsson Date: Thu Sep 29 14:34:55 2011 +0200 Remove publics from the list when freed glick_fs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit ccf2ae1e377e4558f8d741ecdc525d7eedf9bafe Author: Alexander Larsson Date: Thu Sep 29 14:16:16 2011 +0200 Do reads in a thread Makefile | 2 +- glick_fs.c | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 108 insertions(+), 13 deletions(-) commit a1fb7a9446b9e3726dd2e157b54707b7ee417460 Author: Alexander Larsson Date: Thu Sep 29 13:33:53 2011 +0200 Invalidate entries and free transient files when removing slices glick_fs.c | 118 +++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 97 insertions(+), 21 deletions(-) commit 1bbc6ddc38f77f226d195459702b2128c62cb761 Author: Alexander Larsson Date: Thu Sep 29 11:01:21 2011 +0200 Allow truncating file to its current size This allows some level of fuse inotify integration since truncating a file causes it to emit CHANGED events glick_fs.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) commit 815ed697e366104ee48da9332925328388033fec Author: Alexander Larsson Date: Wed Sep 28 17:09:48 2011 +0200 Always dup fd for open files glick_fs.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 107137a91fd8b6d4377f537f2ece47d3566dfbee Author: Alexander Larsson Date: Wed Sep 28 17:00:59 2011 +0200 Scan bundles dir on startup glick_fs.c | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 120 insertions(+), 1 deletions(-) commit 6059565f78306d0f8b0a962c3f782e95c5333bc4 Author: Alexander Larsson Date: Wed Sep 28 16:24:56 2011 +0200 Track kernel references to transient files glick_fs.c | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) commit 43073e9abf6c505c35f015b1fc8b8c810e022de3 Author: Alexander Larsson Date: Wed Sep 28 16:08:20 2011 +0200 Add GlickPublic glick_fs.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 insertions(+), 0 deletions(-) commit 322ef1563f3c932d549bc3d432d90833fa14214e Author: Alexander Larsson Date: Wed Sep 28 15:37:37 2011 +0200 Split out bundle header verify to helper function glick_fs.c | 43 ++++++++++++++++++++++++++++++++++--------- 1 files changed, 34 insertions(+), 9 deletions(-) commit 8569c423fdc4067fff60717a34be5bc23cf3068e Author: Alexander Larsson Date: Wed Sep 28 15:25:05 2011 +0200 Add public share glick_fs.c | 156 ++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 94 insertions(+), 62 deletions(-) commit 646df4ffbb9ec3ae8cf0bb34e038bb991201a0ea Author: Alexander Larsson Date: Wed Sep 28 14:57:55 2011 +0200 Use glib mainloop glick_fs.c | 345 ++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 194 insertions(+), 151 deletions(-) commit 57914f696efad4aebe1670086003407f93bfc818 Author: Alexander Larsson Date: Wed Sep 28 13:51:54 2011 +0200 Support exporting files in create_bundle create_bundle.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 90 insertions(+), 5 deletions(-) commit 3738c858be1a6553b92ac76d1dcffc8674d3f1c8 Author: Alexander Larsson Date: Wed Sep 28 13:51:41 2011 +0200 Fix unique names in readdir glick_fs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9d89c26ea001f22e6569904da663d415a60c2f46 Author: Alexander Larsson Date: Wed Sep 28 11:34:52 2011 +0200 Store default executable in bundle create_bundle.c | 40 ++++++++++++++++++++++++++++++++++------ format.h | 2 ++ 2 files changed, 36 insertions(+), 6 deletions(-) commit b288beeef16b750b74816f40edf5b22df89d3604 Author: Alexander Larsson Date: Wed Sep 28 11:15:32 2011 +0200 Add config file for bundles create_bundle.c | 38 ++++++++++++++++++++++++++++++++------ 1 files changed, 32 insertions(+), 6 deletions(-) commit 625089224451b9df00b95d886e252f3c409d1036 Author: Alexander Larsson Date: Wed Sep 28 11:05:46 2011 +0200 Rename create_slice to create_bundle Makefile | 6 +- create_bundle.c | 643 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ create_slice.c | 643 ------------------------------------------------------- 3 files changed, 646 insertions(+), 646 deletions(-) commit 59b9ae02c6f68a78ebc8e99c51df0188a546d526 Author: Alexander Larsson Date: Wed Sep 28 10:57:42 2011 +0200 Support bundles in glick_fs glick_fs.c | 212 ++++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 144 insertions(+), 68 deletions(-) commit de88573361933453fe429dc68f40032b7439fb24 Author: Alexander Larsson Date: Tue Sep 27 14:13:15 2011 +0200 Make file format a bundle and convert create_slice.c to it create_slice.c | 420 ++++++++++++++++++++++++++++++++++++++++++-------------- format.h | 34 ++++- 2 files changed, 344 insertions(+), 110 deletions(-) commit 9f8d5562963b58bdc5a7f6a4485239d1789acc46 Author: Alexander Larsson Date: Tue Sep 27 10:57:22 2011 +0200 Add TODO list glick_fs.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) commit 583fd1edf5bbe3e5e11a076764ed3588e596d5df Author: Alexander Larsson Date: Tue Sep 27 10:50:14 2011 +0200 Uniquify entries in readdirs glick_fs.c | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) commit 4e198717e5d1ef511449e75dd3fd068fb0fb5fed Author: Alexander Larsson Date: Tue Sep 27 10:42:51 2011 +0200 Add and use ensure_no_entry_for_child_op helper glick_fs.c | 93 ++++++++++++++++++++++------------------------------------- 1 files changed, 35 insertions(+), 58 deletions(-) commit 9f655e8c0d93e4eb9ead2462f387c463d18fbcc3 Author: Alexander Larsson Date: Tue Sep 27 10:35:15 2011 +0200 Support symlink() call glick_fs.c | 144 +++++++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 104 insertions(+), 40 deletions(-) commit 750723cc81fe666bd90663cb7d38bcb0a2d0cdeb Author: Alexander Larsson Date: Tue Sep 27 10:16:14 2011 +0200 Add and use get_transient_file_from_inode helper glick_fs.c | 171 +++++++++++++++++++++++------------------------------------- 1 files changed, 66 insertions(+), 105 deletions(-) commit 89d686f747709e17f602d1feaef7bb9d2c118701 Author: Alexander Larsson Date: Tue Sep 27 09:50:08 2011 +0200 Add and use find_parent_dir_for_path_op helper glick_fs.c | 154 +++++++++++++++--------------------------------------------- 1 files changed, 38 insertions(+), 116 deletions(-) commit 0a0137ea4d5904e161730bb9ca08cb7efadf2917 Author: Alexander Larsson Date: Mon Sep 26 16:58:23 2011 +0200 Add support for symlinks in bundles create_slice.c | 18 ++++++++++++ glick_fs.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 98 insertions(+), 4 deletions(-) commit 2f873d51bee5becaad5d45e7e5ce8e91c77dc9ae Author: Alexander Larsson Date: Mon Sep 26 16:18:59 2011 +0200 Support writing transient files glick_fs.c | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 187 insertions(+), 12 deletions(-) commit 37880c70a0dc1bed8f6995c30e1c0ce1b5c582c3 Author: Alexander Larsson Date: Mon Sep 26 13:31:23 2011 +0200 Add error path glick_fs.c | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) commit 77233ca0d16ce0b6ef5d9b9c321482501ef39a0b Author: Alexander Larsson Date: Mon Sep 26 13:26:01 2011 +0200 Fix up debug spew glick_fs.c | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) commit 0e708e0486dc81afbc2eb6e44b44d4df6f328ae5 Author: Alexander Larsson Date: Mon Sep 26 13:23:15 2011 +0200 Clear up cache handling on rmdir glick_fs.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) commit 82d41229a74a46a6775195af1b5bce21ebf30868 Author: Alexander Larsson Date: Mon Sep 26 12:54:13 2011 +0200 Use glib int types everywhere We're using glib heavily anyway, don't pretend we're not create_slice.c | 30 +++++++------- format.h | 46 +++++++++++----------- glick.h | 12 +++--- glick_fs.c | 112 ++++++++++++++++++++++++++++---------------------------- 4 files changed, 100 insertions(+), 100 deletions(-) commit 50a9b25a0927c8581281b79e82bcfdf7d45461dd Author: Alexander Larsson Date: Fri Sep 23 17:04:36 2011 +0200 Add mknod and unlink for regular files glick_fs.c | 237 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 203 insertions(+), 34 deletions(-) commit 73d512ccf669bd6f38743e4e47e6946308d9dd25 Author: Alexander Larsson Date: Fri Sep 23 16:30:16 2011 +0200 Implement rmdir glick_fs.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 129 insertions(+), 28 deletions(-) commit 8f0eafc8a6b65589293bfcbcb5655f2b9a958bc4 Author: Alexander Larsson Date: Fri Sep 23 16:11:27 2011 +0200 Implement mkdir glick_fs.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 77 insertions(+), 0 deletions(-) commit 7e376d28816bf2aa84e70e62eea6ffe42716f473 Author: Alexander Larsson Date: Fri Sep 23 16:11:11 2011 +0200 Return when we found what we looked for glick_fs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 4edac44097e56bdec61b233f726cef45bcf7b1cd Author: Alexander Larsson Date: Fri Sep 23 16:10:57 2011 +0200 Add glick_mount_lookup_path helper glick_fs.c | 106 +++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 63 insertions(+), 43 deletions(-) commit 6db022d4e75edd7f4a7fd537a9a788716b7a99ca Author: Alexander Larsson Date: Fri Sep 23 15:28:49 2011 +0200 Initial work at owned transient files glick_fs.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 99 insertions(+), 19 deletions(-) commit 09ed202a4b2a78b0ff93cd078045cd3252d20225 Author: Alexander Larsson Date: Fri Sep 23 14:39:25 2011 +0200 Fix up indentation glick_fs.c | 32 +++++++++++++++++--------------- 1 files changed, 17 insertions(+), 15 deletions(-) commit 413bb652abb439c0b7c7f6923d868c3fd04bcd67 Author: Alexander Larsson Date: Fri Sep 23 14:16:24 2011 +0200 Rename inode types in preparation for writeable non-directory transients glick_fs.c | 121 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 61 insertions(+), 60 deletions(-) commit 92e3cc3163bfb1193d2c0031d035888585d60562 Author: Alexander Larsson Date: Fri Sep 23 13:58:27 2011 +0200 Prepare for non-directory mount files glick_fs.c | 152 ++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 101 insertions(+), 51 deletions(-) commit efc955152b5cff3753dd0e659080b1647cedf4aa Author: Alexander Larsson Date: Thu Sep 22 20:57:47 2011 +0200 Bump cache values We're static anyway glick_fs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6f24c8adb9f3da3aa36d538b656719ff91c042df Author: Alexander Larsson Date: Thu Sep 22 20:55:16 2011 +0200 Make debug output optional glick_fs.c | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) commit 80f9c596b4ece0864b416b89735b98462c3a02b6 Author: Alexander Larsson Date: Thu Sep 22 20:46:55 2011 +0200 Set generation on mknod glick_fs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 856fe49dc525e0613b87b9e697d946765e0cc786 Author: Alexander Larsson Date: Thu Sep 22 20:31:25 2011 +0200 Only read directory once (on opendir) glick_fs.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 59 insertions(+), 16 deletions(-) commit 7df494778e5e73f88d713bcabde1c31e906c4168 Author: Alexander Larsson Date: Thu Sep 22 20:30:43 2011 +0200 Use larger timeout for attrs in getattr too glick_fs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 68aa62f2bd9e54e83bf7e234dd4c4978451d0c29 Author: Alexander Larsson Date: Thu Sep 22 20:12:27 2011 +0200 Support caching of inodes and names glick_fs.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) commit 2499124a78bfdbb3de4c0a1c21b57156c5d4c86e Author: Alexander Larsson Date: Thu Sep 22 19:31:21 2011 +0200 Don't follow symlinks when collecting data create_slice.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dcdb9b9d0021fe0c65f41762bd4cb3442dc77db2 Author: Alexander Larsson Date: Thu Sep 22 19:17:36 2011 +0200 Fix crash create_slice.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 1ee320ec5fd4161e41230e5a66c10f47f277b412 Author: Alexander Larsson Date: Wed Sep 21 16:41:54 2011 +0200 Create a new process group for the glick2 dummy fs glick2.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c1a0b9f4f59197aa82ad62d80cb33b1b3e1240b1 Author: Alexander Larsson Date: Wed Sep 21 15:54:47 2011 +0200 Handle actual file reads glick_fs.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 41 insertions(+), 6 deletions(-) commit 7125ab3f80dd68ddfcf973ff3a3ac526deaf6e2c Author: Alexander Larsson Date: Wed Sep 21 15:16:16 2011 +0200 Add makershared.c makershared.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit 91461e07b791030b9891a2587005ca5db29a3ee8 Author: Alexander Larsson Date: Wed Sep 21 15:16:02 2011 +0200 Implement more slice reading create_slice.c | 8 +- glick_fs.c | 288 ++++++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 243 insertions(+), 53 deletions(-) commit 3947d2b30beecdd3a29ae1f7b0432d71086d00fc Author: Alexander Larsson Date: Wed Sep 21 11:46:07 2011 +0200 Actually look at the slice header Makefile | 2 +- glick_fs.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 139 insertions(+), 15 deletions(-) commit a7f4316d1e57b1bcbb4d214dbac157366f10a94c Author: Alexander Larsson Date: Tue Sep 20 16:29:57 2011 +0200 Add format.h format.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) commit e3792ae92b41fcf35abf835baf53f554df1661b5 Author: Alexander Larsson Date: Tue Sep 20 15:54:49 2011 +0200 Actually write out slice file Makefile | 5 ++- create_slice.c | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 137 insertions(+), 4 deletions(-) commit 8eeee6114e7c08387ddfa333b449258b05d91ca2 Author: Alexander Larsson Date: Tue Sep 13 12:33:23 2011 +0200 More work on create_slice, now calculates inode data create_slice.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 187 insertions(+), 6 deletions(-) commit 7061917ef7e2d4e75f4c503f61d48edc659f69b2 Author: Alexander Larsson Date: Fri Sep 2 17:03:34 2011 +0200 Initial create_slice code create_slice.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 103 insertions(+), 0 deletions(-) commit 0a94c231986bb04ee97e45dc0b6fc0c13a19b737 Author: Alexander Larsson Date: Fri Sep 2 14:58:20 2011 +0200 Bind the extra source directory to itself rather than /opt/glick private-mount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 637113912a3890421e1dd2fd3e2b93489259defb Author: Alexander Larsson Date: Fri Sep 2 14:56:10 2011 +0200 Make extra mount source private private-mount.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 51351c7f074ee13faa50c41cae4180613bcdda3e Author: Alexander Larsson Date: Fri Sep 2 14:56:00 2011 +0200 Remove leftover debug spew glick2.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 63582a43768836595d476b6812bd47fbd5bb2b87 Author: Alexander Larsson Date: Fri Sep 2 14:27:15 2011 +0200 Unmount last mount on error private-mount.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 441bf1167eada89b5adea5298a394c0a4dc84461 Author: Alexander Larsson Date: Fri Sep 2 14:19:36 2011 +0200 Make glick2 actually connect to glick_fs Makefile | 2 +- glick2.c | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 130 insertions(+), 7 deletions(-) commit a7f6b073c611bddc4f9ddc6cedbc2dc39e93d3b8 Author: Alexander Larsson Date: Fri Sep 2 13:46:54 2011 +0200 Automatically pick ~/.glick mountpoint for glick_fs glick_fs.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 093a2215e6e06afb19f33ac592457263d63802f7 Author: Alexander Larsson Date: Fri Sep 2 13:20:33 2011 +0200 Support extra mount source in private mount private-mount.c | 82 +++++++++++++++++++++++++++++++++---------------------- 1 files changed, 49 insertions(+), 33 deletions(-) commit 070ef41c5cc8fee6a3955d8d356065572af7ac6a Author: Alexander Larsson Date: Fri Sep 2 11:54:37 2011 +0200 Make the bind mount before making private optional private-mount.c | 31 +++++++++++++++++++++++-------- 1 files changed, 23 insertions(+), 8 deletions(-) commit 8a2288765b6b72604ce0a9391715ec9de09aaa46 Author: Alexander Larsson Date: Fri Sep 2 11:23:12 2011 +0200 close pipe after using glick2.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit b6ffe5bdb71144119360c5aa23ddd9c1a1b89ee6 Author: Alexander Larsson Date: Fri Sep 2 11:15:14 2011 +0200 whitespace cleanups private-mount.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) commit cd67ea02623cb83e83c02eb739096b190ff7041c Author: Alexander Larsson Date: Fri Sep 2 11:13:53 2011 +0200 Initial cut at launcher cleanup Makefile | 5 +- glick2.c | 351 +++++++++++++++++++++++++------------------------------------- 2 files changed, 140 insertions(+), 216 deletions(-) commit ed9ae87f8608e72e7882dfbc03bd540e6c021245 Author: Alexander Larsson Date: Mon Aug 15 14:20:51 2011 +0200 Keep the glick pages in cache glick_fs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 3c1bccb1b8a9ff37b6c638e70cbf6e748b5d6e7c Author: Alexander Larsson Date: Mon Aug 15 14:11:07 2011 +0200 Unmount subdir if connection goes away connect.c | 5 +++++ glick_fs.c | 20 ++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) commit c24e02fe4177c70eaa8110aa5a3df1fea7649e46 Author: Alexander Larsson Date: Mon Aug 15 12:26:04 2011 +0200 Initial test filesystem code Makefile | 2 +- connect.c | 88 +++++++++++++--------- glick.h | 1 + glick_fs.c | 250 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 4 files changed, 286 insertions(+), 55 deletions(-) commit 582f0cbe4c248e508cc8b0a1781ce808cdcb3fad Author: Alexander Larsson Date: Mon Aug 15 10:24:46 2011 +0200 Add some request handling Makefile | 2 +- connect.c | 23 ++++++++++++++--------- glick.h | 12 ++++++++++++ glick_fs.c | 47 ++++++++++++++++++++++++++++++++++++++++++----- 4 files changed, 69 insertions(+), 15 deletions(-) commit 8241b2ac8845b9c9a8d6fc88d93342d013ba8431 Author: Alexander Larsson Date: Mon Aug 15 10:01:58 2011 +0200 Add some MountRef handling glick_fs.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 93 insertions(+), 23 deletions(-) commit 98985fa42a6a3a8b3a94ef9a4221ab33c29395df Author: Alexander Larsson Date: Mon Aug 15 09:24:08 2011 +0200 Fix up some whitespace issues glick_fs.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) commit b9d4510aebf91b42484915a96647a55abb1167ee Author: Alexander Larsson Date: Mon Aug 15 09:21:16 2011 +0200 Build glick_fs too Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 014e8aef24167b6438bcd0d4e364f72414aeaf7a Author: Alexander Larsson Date: Mon Aug 15 09:18:24 2011 +0200 Initial git repo (lost old one) Makefile | 28 +++ connect.c | 76 ++++++++ connectsocket.py | 4 + createsocket.py | 7 + glick.txt | 65 ++++++ glick2.c | 284 +++++++++++++++++++++++++++ glick_fs.c | 568 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ private-mount.c | 118 +++++++++++ to_c.c | 50 +++++ 9 files changed, 1200 insertions(+), 0 deletions(-)