Mercurial > yaffs-ecoscentric-gpl
comparison direct/python/yaffsfs.py @ 351:c640f5d8f33e
Add remount and forced unmount to yaffs direct
| author | charles <charles> |
|---|---|
| date | Tue, 16 Feb 2010 23:24:57 +0000 |
| parents | 84b985d09f3c |
| children |
comparison
equal
deleted
inserted
replaced
| 350:c927f461f731 | 351:c640f5d8f33e |
|---|---|
| 168 #int yaffs_mount(const YCHAR *path) ; | 168 #int yaffs_mount(const YCHAR *path) ; |
| 169 yaffs_mount = ylib.yaffs_mount | 169 yaffs_mount = ylib.yaffs_mount |
| 170 yaffs_mount.argtypes = [c_char_p] | 170 yaffs_mount.argtypes = [c_char_p] |
| 171 yaffs_mount.restype = c_int | 171 yaffs_mount.restype = c_int |
| 172 | 172 |
| 173 #int yaffs_mount2(const YCHAR *path,int readOnly) ; | |
| 174 yaffs_mount2 = ylib.yaffs_mount2 | |
| 175 yaffs_mount2.argtypes = [c_char_p, c_int] | |
| 176 yaffs_mount2.restype = c_int | |
| 177 | |
| 173 #int yaffs_unmount(const YCHAR *path) ; | 178 #int yaffs_unmount(const YCHAR *path) ; |
| 174 yaffs_unmount = ylib.yaffs_unmount | 179 yaffs_unmount = ylib.yaffs_unmount |
| 175 yaffs_unmount.argtypes = [c_char_p] | 180 yaffs_unmount.argtypes = [c_char_p] |
| 176 yaffs_unmount.restype = c_int | 181 yaffs_unmount.restype = c_int |
| 177 | 182 |
| 183 #int yaffs_unmount(const YCHAR *path, int force) ; | |
| 184 yaffs_unmount2 = ylib.yaffs_unmount2 | |
| 185 yaffs_unmount2.argtypes = [c_char_p, c_int] | |
| 186 yaffs_unmount2.restype = c_int | |
| 187 | |
| 188 #int yaffs_remount(const YCHAR *path, int force, int readOnly) ; | |
| 189 yaffs_remount = ylib.yaffs_remount | |
| 190 yaffs_remount.argtypes = [c_char_p, c_int, c_int] | |
| 191 yaffs_remount.restype = c_int | |
| 192 | |
| 178 #int yaffs_sync(const YCHAR *path) ; | 193 #int yaffs_sync(const YCHAR *path) ; |
| 179 yaffs_sync = ylib.yaffs_sync | 194 yaffs_sync = ylib.yaffs_sync |
| 180 yaffs_sync.argtypes = [c_char_p] | 195 yaffs_sync.argtypes = [c_char_p] |
| 181 yaffs_sync.restype = c_int | 196 yaffs_sync.restype = c_int |
| 182 | 197 |
