<div dir="ltr">Hi Tero,<br><br><div class="gmail_quote">On Thu, Sep 25, 2008 at 10:31 AM, Tero Roponen <span dir="ltr"><<a href="mailto:tero.roponen@gmail.com">tero.roponen@gmail.com</a>></span> wrote:<br><div> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I haven't noticed any problems, it is working for me:<br>
<br>
mount as a normal user: ./tux3fuse /tmp/testdev -f mnt/<br>
</blockquote><div><br> I am getting the following problem on a 32 bit machine.. may be u can try it out.<br><br>bobby@lappy:/tmp$ cd test<br>bobby@lappy:/tmp/test$ ls<br>bobby@lappy:/tmp/test$ touch hi<br>bobby@lappy:/tmp/test$ ls<br>
hi<br>bobby@lappy:/tmp/test$ rm hi<br>bobby@lappy:/tmp/test$ ls<br>ls: cannot access �����: No such file or directory<br>??????<br>bobby@lappy:/tmp/test$ cd ..<br>bobby@lappy:/tmp$ !sudo<br>sudo umount test<br>bobby@lappy:/tmp$ cd test<br>
bobby@lappy:/tmp/test$ ls<br>bobby@lappy:/tmp/test$ touch hi<br>bobby@lappy:/tmp/test$ ls<br>hi<br>bobby@lappy:/tmp/test$ ls<br>hi<br>bobby@lappy:/tmp/test$ ls<br>hi<br>bobby@lappy:/tmp/test$ cd ..<br>bobby@lappy:/tmp$ sudo umount test<br>
bobby@lappy:/tmp$ cd test<br>bobby@lappy:/tmp/test$ ls<br>bobby@lappy:/tmp/test$ touch hello<br>bobby@lappy:/tmp/test$ ls<br>hello<br>bobby@lappy:/tmp/test$ rm hello<br>bobby@lappy:/tmp/test$ ls<br>ls: cannot access �����: No such file or directory<br>
????????<br>bobby@lappy:/tmp/test$ <br><br>The corresponding debug log is as follows:<br>bobby@lappy:~/tux3/user/test$ ./tux3fs /tmp/testdev -f /tmp/test<br>dev_bread: read [2]<br>dev_bread: read [3]<br>lookup inode 0x0, 0 + 0<br>
open_inode: found inode 0x0<br>new_xcache: realloc xcache to 4<br>mode 0000000 uid 0 gid 0 root 4:1 ctime 0 size 20 <br>lookup inode 0xd, 0 + d<br>open_inode: found inode 0xd<br>new_xcache: realloc xcache to 4<br>mode 0040755 uid 0 gid 0 root 8:1 <br>
---- get attr for '/.Trash' ----<br>---- get attr for '/.Trash-1000' ----<br>---- get attr for '/.Trash' ----<br>---- get attr for '/.Trash-1000' ----<br>---- get attr for '/' ----<br>
---- get attr for '/' ----<br>---- readdir '/' at 0 ----<br>---- get attr for '/hello' ----<br>---- create file ----<br>resolve_path: resolved '/hello': dir inode 0xd, file: 'hello'<br>
make_inode: create inode 0xd<br>find empty inode in [3] base 0<br>result inum is e, limit is ffffffffffffffff<br>file_bread: block read <0:0><br>dev_bread: read [4]<br>dev_bread: read [5]<br>file_bread: found physical block c<br>
balloc -> [d]<br>balloc -> [e]<br>root at d<br>leaf at e<br>resize inum 0xe at 0x70 from 0 to 18<br>---- get attr for '/hello' ----<br>lookup inode 0xe, 0 + e<br>open_inode: found inode 0xe<br>new_xcache: realloc xcache to 4<br>
mode 0100666 uid 0 gid 0 root d:1 <br>---- utime ----<br>lookup inode 0xe, 0 + e<br>open_inode: found inode 0xe<br>new_xcache: realloc xcache to 4<br>mode 0100666 uid 0 gid 0 root d:1 <br>save_inode: save inode 0xe<br>lookup inode 0xe, 0 + e<br>
resize inum 0xe at 0x70 from 18 to 18<br>set mtime to 1222342317, atime to 1222342317<br>---- get attr for '/hello' ----<br>lookup inode 0xe, 0 + e<br>open_inode: found inode 0xe<br>new_xcache: realloc xcache to 4<br>
mode 0100666 uid 0 gid 0 root d:1 <br>---- get attr for '/' ----<br>---- readdir '/' at 0 ----<br>'hello'<br>---- get attr for 'hello' ----<br>---- get attr for '/hello' ----<br>lookup inode 0xe, 0 + e<br>
open_inode: found inode 0xe<br>new_xcache: realloc xcache to 4<br>mode 0100666 uid 0 gid 0 root d:1 <br>---- readdir '/' at 1000 ----<br>---- get attr for '/hello' ----<br>lookup inode 0xe, 0 + e<br>open_inode: found inode 0xe<br>
new_xcache: realloc xcache to 4<br>mode 0100666 uid 0 gid 0 root d:1 <br>---- delete file ----<br>lookup inode 0xe, 0 + e<br>open_inode: found inode 0xe<br>new_xcache: realloc xcache to 4<br>mode 0100666 uid 0 gid 0 root d:1 <br>
---- get attr for '/' ----<br>---- readdir '/' at 0 ----<br>---- get attr for '�����' ----<br>---- get attr for '/�����' ----<br>---- readdir '/' at 1000 ----<br><br>I think this is because the dirent buffer used in tux3_readdir function. <br>
That is being used uninitialized. It is not being filled up in ext2_readdir using the tux3_filler function.<br>This is as far as i got.  Hope this helps.<br><br>Thanks,<br>Pranith.<br><br></div></div>
</div>