summaryrefslogtreecommitdiff
path: root/fusell.py
diff options
context:
space:
mode:
Diffstat (limited to 'fusell.py')
-rw-r--r--fusell.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/fusell.py b/fusell.py
index d0bc25e..5c39ec7 100644
--- a/fusell.py
+++ b/fusell.py
@@ -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),