artagnon / phoenixfs

🔥 a versioning filesystem inspired by git
MIT License
200 stars 21 forks source link

First run throws up errors on ubuntu 12.04 oneiric #3

Open ghost opened 12 years ago

ghost commented 12 years ago

Here's the output when i cd /tmp create the gitdir and mountp directories and run phoenixfs mount gitdir mountp

anandjeyahar@anandjeyahar-Rev-1-0:tmp $ phoenixfs mount gitdir mountp FUSE library version: 2.8.6 nullpath_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.17 flags=0x0000047b max_readahead=0x00020000 INIT: 7.12 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 unique: 1, success, outsize: 40 unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56 getattr / unique: 2, success, outsize: 120 unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 47 LOOKUP /.Trash getattr /.Trash unique: 3, error: -2 (No such file or directory), outsize: 16 unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 52 LOOKUP /.Trash-1000 getattr /.Trash-1000 unique: 4, error: -2 (No such file or directory), outsize: 16

This is a ubuntu system with the latest updates. Let me know if there's anything else i can help in pinning down the issue.

ghost commented 12 years ago

Sorry about that report. It turned out,even though latest updated i had logged with a older kernel version to my ubuntu box. Reboot and on the latest version it works. thanks..

ghost commented 12 years ago

Nope, i have to reopen it again.

phoenixfs mount gitdir mountp -- command gets executed and keeps running. It's a daemon right? But prints out these error messages.

phoenixfs mount gitdiri mountp FUSE library version: 2.8.6 nullpath_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.17 flags=0x0000047b max_readahead=0x00020000 INIT: 7.12 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 unique: 1, success, outsize: 40 unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56 getattr / unique: 2, success, outsize: 120 unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 47 LOOKUP /.Trash getattr /.Trash unique: 3, error: -2 (No such file or directory), outsize: 16 unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 52 LOOKUP /.Trash-1000 getattr /.Trash-1000 unique: 4, error: -2 (No such file or directory), outsize: 16

It doesn't seem to create any .git folders either.

ghost commented 12 years ago

And here's the tail /tmp/phoenixfs.log..

0: phoenixfs_fuse:: fsback: /tmp/gitdiri, mountpoint: /tmp/mountp l. 683: phoenixfs_fuse:: not loading packing info l. 298: load_packing_info:: /tmp/gitdiri/.git/master.pack /tmp/gitdiri/.git/master.idx 0 l. 37: getattr:: /tmp/gitdiri/ 0 l. 37: getattr:: /tmp/gitdiri/.Trash 0 l. 146: find_dr:: missing /.Trash l. 89: split_basename:: path: /.Trash, dirname: /, filename: .Trash l. 146: find_dr:: missing / l. 163: find_vfr:: not found /.Trash l. 182: find_fr:: not found /.Trash l. 37: getattr:: /tmp/gitdiri/.Trash-1000 0 l. 146: find_dr:: missing /.Trash-1000 l. 89: split_basename:: path: /.Trash-1000, dirname: /, filename: .Trash-1000 l. 146: find_dr:: missing / l. 163: find_vfr:: not found /.Trash-1000 l. 182: find_fr:: not found /.Trash-1000 l. 541: destroy:: dumping fstree l. 543: destroy:: packing loose objects l. 455: dump_packing_info:: create l. 640: phoenixfs_fuse:: fsback: /tmp/gitdiri, mountpoint: /tmp/mountp l. 646: phoenixfs_fuse:: loading fstree l. 687: phoenixfs_fuse:: loading packing info l. 298: load_packing_info:: /tmp/gitdiri/.git/master.pack /tmp/gitdiri/.git/master.idx 1 l. 37: getattr:: /tmp/gitdiri/ 0 l. 37: getattr:: /tmp/gitdiri/.Trash 0 l. 146: find_dr:: missing /.Trash l. 89: split_basename:: path: /.Trash, dirname: /, filename: .Trash l. 146: find_dr:: missing / l. 163: find_vfr:: not found /.Trash l. 182: find_fr:: not found /.Trash l. 37: getattr:: /tmp/gitdiri/.Trash-1000 0 l. 146: find_dr:: missing /.Trash-1000 l. 89: split_basename:: path: /.Trash-1000, dirname: /, filename: .Trash-1000 l. 146: find_dr:: missing / l. 163: find_vfr:: not found /.Trash-1000 l. 182: find_fr:: not found /.Trash-1000 l. 541: destroy:: dumping fstree l. 543: destroy:: packing loose objects l. 455: dump_packing_info:: append l. 48: packup_loose_objects:: Not rewriting idx

artagnon commented 12 years ago

Yeah, I have to get rid of those error messages. In the meantime, just open another terminal, browse to the mountp/ directory, and start using it. The .git/ directory should be created under gitdir/