You are not logged in.
I have a bug in my FUSE operations code that I can't figure out. I'm using the ctypes fusepy wrapper with Python 3. I'm not really familiar with fuse or ctypes, though I did my best to try to figure out what's going on, so I hope someone here could help me out.
I think the problem is that getattr is not being handled properly. After trying to mount fuse and doing a ls on it, it says input/output error.
Here's my code: https://github.com/darkfeline/dantalian The fuse operations are here: https://github.com/darkfeline/dantalian … n/mount.py The library I'm using is here: https://github.com/darkfeline/dantalian … an/fuse.py
Here's the output from the logging mix-in:
2013-02-07 23:13:27,941 DEBUG @fuse.log-mixin -> getattr / (None,)
2013-02-07 23:13:27,943 DEBUG @fuse.log-mixin <- getattr {'st_mtime': 1360296806.2537441, 'st_size': 4096, 'st_atime': 1360296806.2537441, 'st_gid': 1003, 'st_uid': 1000, 'st_mode': 448, 'st_ctime': 1360296806.2537441, 'st_nlink': 4}
The debugging output from fuse:
FUSE library version: 2.9.2
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.20
flags=0x000017fb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 1, success, outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 12655
getattr /
unique: 2, success, outsize: 120
If any other info would be helpful, I'll add it.
Last edited by darkfeline (2013-02-26 23:56:11)
Offline
I figured out the problem, my mode bits didn't have file or directory set, so understandable it wouldn't work.
Offline