diff options
author | Terence Honles <terence@honles.com> | 2016-03-06 22:43:33 -0800 |
---|---|---|
committer | Terence Honles <terence@honles.com> | 2016-03-06 22:43:33 -0800 |
commit | 1919a9f4c4e64b96940b901b23e5e076ad7c6b2f (patch) | |
tree | e8d810d621c7859cb86dff116379f226f0ff7aea | |
parent | e1dbee34a3b377356cbc31c06125fd95795fdde2 (diff) | |
parent | 9e95d471f7685d00c542b94c0b2e3a214b817ae9 (diff) | |
download | fusepy-1919a9f4c4e64b96940b901b23e5e076ad7c6b2f.tar.gz |
Merge remote-tracking branch 'lpzummer/master'
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | fuse.py | 38 | ||||
-rw-r--r-- | fusell.py | 38 |
3 files changed, 77 insertions, 1 deletions
@@ -28,7 +28,7 @@ To get started download_ fusepy or just browse the source_. fusepy requires FUSE 2.6 (or later) and runs on: -- Linux (i386, x86_64, PPC, arm64) +- Linux (i386, x86_64, PPC, arm64, MIPS) - Mac OS X (Intel, PowerPC) - FreeBSD (i386, amd64) @@ -155,6 +155,44 @@ elif _system == 'Linux': ('st_atimespec', c_timespec), ('st_mtimespec', c_timespec), ('st_ctimespec', c_timespec)] + elif _machine == 'mips': + c_stat._fields_ = [ + ('st_dev', c_dev_t), + ('__pad1_1', c_ulong), + ('__pad1_2', c_ulong), + ('__pad1_3', c_ulong), + ('st_ino', c_ulong), + ('st_mode', c_mode_t), + ('st_nlink', c_ulong), + ('st_uid', c_uid_t), + ('st_gid', c_gid_t), + ('st_rdev', c_dev_t), + ('__pad2_1', c_ulong), + ('__pad2_2', c_ulong), + ('st_size', c_off_t), + ('__pad3', c_ulong), + ('st_atimespec', c_timespec), + ('__pad4', c_ulong), + ('st_mtimespec', c_timespec), + ('__pad5', c_ulong), + ('st_ctimespec', c_timespec), + ('__pad6', c_ulong), + ('st_blksize', c_long), + ('st_blocks', c_long), + ('__pad7_1', c_ulong), + ('__pad7_2', c_ulong), + ('__pad7_3', c_ulong), + ('__pad7_4', c_ulong), + ('__pad7_5', c_ulong), + ('__pad7_6', c_ulong), + ('__pad7_7', c_ulong), + ('__pad7_8', c_ulong), + ('__pad7_9', c_ulong), + ('__pad7_10', c_ulong), + ('__pad7_11', c_ulong), + ('__pad7_12', c_ulong), + ('__pad7_13', c_ulong), + ('__pad7_14', c_ulong)] elif _machine == 'ppc': c_stat._fields_ = [ ('st_dev', c_dev_t), @@ -118,6 +118,44 @@ elif _system == 'Linux': ('st_atimespec', c_timespec), ('st_mtimespec', c_timespec), ('st_ctimespec', c_timespec)] + elif _machine == 'mips': + c_stat._fields_ = [ + ('st_dev', c_dev_t), + ('__pad1_1', c_ulong), + ('__pad1_2', c_ulong), + ('__pad1_3', c_ulong), + ('st_ino', c_ulong), + ('st_mode', c_mode_t), + ('st_nlink', c_ulong), + ('st_uid', c_uid_t), + ('st_gid', c_gid_t), + ('st_rdev', c_dev_t), + ('__pad2_1', c_ulong), + ('__pad2_2', c_ulong), + ('st_size', c_off_t), + ('__pad3', c_ulong), + ('st_atimespec', c_timespec), + ('__pad4', c_ulong), + ('st_mtimespec', c_timespec), + ('__pad5', c_ulong), + ('st_ctimespec', c_timespec), + ('__pad6', c_ulong), + ('st_blksize', c_long), + ('st_blocks', c_long), + ('__pad7_1', c_ulong), + ('__pad7_2', c_ulong), + ('__pad7_3', c_ulong), + ('__pad7_4', c_ulong), + ('__pad7_5', c_ulong), + ('__pad7_6', c_ulong), + ('__pad7_7', c_ulong), + ('__pad7_8', c_ulong), + ('__pad7_9', c_ulong), + ('__pad7_10', c_ulong), + ('__pad7_11', c_ulong), + ('__pad7_12', c_ulong), + ('__pad7_13', c_ulong), + ('__pad7_14', c_ulong)] elif _machine == 'ppc': c_stat._fields_ = [ ('st_dev', c_dev_t), |