[Tux3] Question on Tux3 Fuse

Tero Roponen tero.roponen at gmail.com
Wed Sep 24 22:01:29 PDT 2008


On Thu, 25 Sep 2008, Pranith Kumar wrote:

> Hello Tero,

Hi,

> Whats the difference between tux3fuse.c and tux3fs.c?

tux3fuse uses the low level fuse API. I like it more than
the high level API because it uses some kind of inodes
(fuse_ino_t) instead of full paths.

> Why is tux3_readdir broken? I noticed that dirent was not
> properly being filled in tux3_filler. Am i right?

I haven't noticed any problems, it is working for me:

mount as a normal user: ./tux3fuse /tmp/testdev -f mnt/

[terrop at terrop test]$ cd mnt
[terrop at terrop mnt]$ ls
[terrop at terrop mnt]$ date > date.txt
[terrop at terrop mnt]$ cat date.txt
Thu Sep 25 07:57:45 EEST 2008
[terrop at terrop mnt]$ ls
date.txt
[terrop at terrop mnt]$ date > date2.txt
[terrop at terrop mnt]$ ls
date2.txt  date.txt
[terrop at terrop mnt]$ cd ..
[terrop at terrop test]$ fusermount -u mnt

mount again as a normal user: ./tux3fuse /tmp/testdev -f mnt/

[terrop at terrop test]$ cd mnt
[terrop at terrop mnt]$ ls
date2.txt  date.txt
[terrop at terrop mnt]$

However, I have a 32-bit computer, so I haven't tested this
on 64-bit systems. 

> Thanks,
> Pranith.

-- 
Tero Roponen

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list