S.J.R. van Schaik
|
ae0e8a37d3
|
mufs: cast offsets to long for comparison in mufs_seek()
|
8 years ago |
S.J.R. van Schaik
|
3649151a9f
|
mufs: properly free the tree object in mufs_rename()
|
8 years ago |
S.J.R. van Schaik
|
7be03f4a60
|
mufs: delete the tree object of a file in mufs_close()
|
8 years ago |
S.J.R. van Schaik
|
a8040ac525
|
mufs: properly free the allocated path in mufs_mkpath()
|
8 years ago |
S.J.R. van Schaik
|
c2700bd31e
|
mufs: release flash device if ownership not claimed
|
8 years ago |
S.J.R. van Schaik
|
7b5187973a
|
shell: mufs: add proper mounting and unmounting
|
8 years ago |
S.J.R. van Schaik
|
13918141c7
|
mufs: fix Valgrind warnings in mufs_abspath() by using calloc() instead of malloc()
|
8 years ago |
S.J.R. van Schaik
|
59a71a4608
|
mufs: return tree as an argument in resolve_path() and free tree objects where necessary
|
8 years ago |
S.J.R. van Schaik
|
4ed40e75c6
|
mufs: implement mufs_del_tree() to safely free tree objects from memory
|
8 years ago |
S.J.R. van Schaik
|
07cd243603
|
mufs: extend tree in mufs_tree_write() rather than mufs_do_write()
|
8 years ago |
S.J.R. van Schaik
|
08dda999cc
|
mufs: simplify and clean up mufs_rename()
|
8 years ago |
S.J.R. van Schaik
|
a45be58d26
|
mufs: add subtree argument to mkpath() to create a path for an existing tree object
|
8 years ago |
S.J.R. van Schaik
|
8921af25b3
|
mufs: fix mufs_free_page() and mufs_unmap_page() to properly update the root pointer
|
8 years ago |
S.J.R. van Schaik
|
f2d4d60c01
|
mufs: add find_dirent_size() to determine how many bytes are used within a directory bin
|
8 years ago |
S.J.R. van Schaik
|
7107daa4b5
|
mufs: flash_erase() operates on blocks rather than bytes
|
8 years ago |
S.J.R. van Schaik
|
ab233bfd33
|
mufs: properly sync file size and check file size in mufs_write() and mufs_read() respectively
|
8 years ago |
S.J.R. van Schaik
|
496b2182e3
|
mufs: do not check for empty path in mufs_mkpath()
|
8 years ago |
S.J.R. van Schaik
|
2cac788ba7
|
mufs: create file when opening a file for writing
|
8 years ago |
S.J.R. van Schaik
|
639388588b
|
mufs: set proper file size in remove_page()
|
8 years ago |
S.J.R. van Schaik
|
45fe1e4b92
|
mufs: check if directory va does not exceed the file size in mufs_readdir()
|
8 years ago |
S.J.R. van Schaik
|
ab599e7c8b
|
mufs: locate directory entry properly in mufs_rmpath()
|
8 years ago |
S.J.R. van Schaik
|
14a93ab881
|
mufs: expose struct mufs_dir internally
|
8 years ago |
S.J.R. van Schaik
|
704cd24061
|
mufs: get parent directory in mufs_rmpath() to remove the directory entry from
|
8 years ago |
S.J.R. van Schaik
|
6492a76d14
|
mufs: fix traversal issue in resolve_path()
|
8 years ago |
S.J.R. van Schaik
|
8b780d57d9
|
mufs: implement mufs_rename() to move files and directories
|
8 years ago |
S.J.R. van Schaik
|
65c1fc28d3
|
mufs: implement mufs_unlink()
|
8 years ago |
S.J.R. van Schaik
|
d6fa387868
|
mufs: implement mufs_rmdir()
|
8 years ago |
S.J.R. van Schaik
|
3b531e868b
|
mufs: remove type argument from mufs_rmpath()
|
8 years ago |
S.J.R. van Schaik
|
e837c07869
|
mufs: remove the page if there is only one entry left in mufs_rmpath()
|
8 years ago |
S.J.R. van Schaik
|
17f4f90d64
|
mufs: fix issue in tree allocation
|
8 years ago |
S.J.R. van Schaik
|
eb9b4853c0
|
mufs: implement mufs_rmpath() to remove file system nodes
|
8 years ago |
S.J.R. van Schaik
|
1d52ca46a6
|
mufs: rework tree code to support mufs_map_page()/mufs_unmap_page()
|
8 years ago |
S.J.R. van Schaik
|
27a15b3fb7
|
mufs: expose MUFS_FILE and MUFS_DIR constants
|
8 years ago |
S.J.R. van Schaik
|
beb5f64c12
|
mufs: implement mufs_stat()
|
8 years ago |
S.J.R. van Schaik
|
26b0ccb405
|
mufs: optionally record the type and file_size in resolve_path()
|
8 years ago |
S.J.R. van Schaik
|
d9e11a083b
|
mufs: only claim ownership of the tree object as the final step in resolve_path()
|
8 years ago |
S.J.R. van Schaik
|
e3194229a5
|
mufs: free tree object if owned by struct mufs_dir in mufs_closedir()
|
8 years ago |
S.J.R. van Schaik
|
9f05686a1f
|
mufs: clean up code in resolve_path()
|
8 years ago |
S.J.R. van Schaik
|
52b382b8b0
|
mufs: rename mufs_opendirent() to open_dirent()
|
8 years ago |
S.J.R. van Schaik
|
71fb90a602
|
mufs: fix typo in read_dirent()
|
8 years ago |
S.J.R. van Schaik
|
bd5120f8d0
|
mufs: use a buffer to operate on data in-place to reduce the amount of I/O in read_dirent()/write_dirent()
|
8 years ago |
S.J.R. van Schaik
|
a20c1a8ed4
|
mufs: implement mufs_seek() to seek and tell the position within a file
|
8 years ago |
S.J.R. van Schaik
|
9ef95baac3
|
mufs: implement mufs_sync_tree() to sync tree objects to disk
|
8 years ago |
S.J.R. van Schaik
|
2c1079d0f4
|
mufs: implement modes for read, write and append in mufs_open()
|
8 years ago |
S.J.R. van Schaik
|
ffc8669736
|
mufs: allow empty path in resolve_path()
|
8 years ago |
S.J.R. van Schaik
|
84c45ee64d
|
mufs: fix va to tree object in super block
|
8 years ago |
S.J.R. van Schaik
|
92a531b49f
|
mufs: split path properly in mufs_mkpath()
|
8 years ago |
S.J.R. van Schaik
|
a65cdbfedf
|
mufs: generalise mufs_create() and mufs_mkdir() into mufs_mkpath()
|
8 years ago |
S.J.R. van Schaik
|
1c736c3324
|
mufs: add support for reading and writing files
|
8 years ago |
S.J.R. van Schaik
|
845aba61ed
|
mufs: rename mufs_read()/mufs_write() to mufs_tree_read()/mufs_tree_write() and expose functions
|
8 years ago |