175 Commits (cc4f258ad4c7f4d3bd9fb01697e9f6633c5cf230)
 

Author SHA1 Message Date
WangRunji 1fbda15575 remove open() & close() from INode
6 years ago
WangRunji d75aab77d6 mark Sync & Send for vfs traits
6 years ago
WangRunji 7b843fcad5 kill unwraps, remove 'flush_unreachable_inodes'
6 years ago
WangRunji c12928502d Cargo fix.
6 years ago
WangRunji d1112a3768 Fix and update C-interface.
6 years ago
WangRunji 3f456a2dc6 Multi-thread support.
6 years ago
WangRunji b0b1e0b307 Enable NLL and simplify code.
6 years ago
WangRunji 3f71a36c66 Reformat code.
6 years ago
Wang Runji 075ea8469f
Merge pull request #3 from benpigchu/ucore-fs-enhance
6 years ago
Ben Pig Chu 2de01e4f16 make ci test only use one thread
6 years ago
Ben Pig Chu 5462ccb300 move file between dir
6 years ago
Ben Pig Chu 9026395afc rename dirent
6 years ago
Ben Pig Chu 07a4a96b73 Merge branch 'mksfs' into ucore-fs-enhance
6 years ago
Ben Pig Chu 9c0c3e0d83 move the list and lookup implement to the vfs level
6 years ago
Ben Pig Chu e640f78134 untested single layer lookup named find
6 years ago
Ben Pig Chu c744a3aea2 get_entry(), as a different design from list()
6 years ago
Ben Pig Chu 4a97d89b8f implement hard link
6 years ago
Ben Pig Chu 9d0b3d1891 store and return ucore compatible size
6 years ago
Ben Pig Chu 0e4f714d95 free disk space of unlinked no referenced inode on drop
6 years ago
Ben Pig Chu 36277c5769 basic unlink implement
6 years ago
Ben Pig Chu 77cea66f7e get the nlinks correct when creating inodes.
6 years ago
Ben Pig Chu 289f627be8 add unlink interface
6 years ago
Wang Runji e26f14c55f
Merge pull request #2 from benpigchu/dir-size-fix
6 years ago
Ben Pig Chu b0999da30c fix file creation bug caused by invalid size of dir
6 years ago
Ben "Pig" Chu 422514df9b
Merge pull request #1 from wangrunji0408/mksfs
6 years ago
WangRunji 4a81e22f8f Merge branch 'master' into mksfs
6 years ago
WangRunji ca10d11264 Fit for newest Rust nightly. BitSet -> BitVec.
6 years ago
WangRunji 7251ab7fb7 Make `block_size_log2` a constant
6 years ago
WangRunji e283c50866 Fix compile for RV32
6 years ago
WangRunji 25e7f8e0a7 Fix cargo.toml
7 years ago
WangRunji 4aac6474f1 Split C-interface to a new crate
7 years ago
WangRunji 8d111eb800 Basically finish mksfs. But still bugs.
7 years ago
WangRunji e56b22fa74 impl BlockedDevice for ucore::Device
7 years ago
WangRunji 0d39ec0428 BlockedDevice
7 years ago
WangRunji 075e416a7b Some code for 'mksfs'. Move 'impl Device for std::fs::File' out of test mod.
7 years ago
WangRunji 4f58ba5716 Update README. Fix travis.
7 years ago
WangRunji 0e6510c84f Fix &'static str -> &str.
7 years ago
WangRunji 20d2ac2eca Add report for 'Linking Rust SFS to uCore'
7 years ago
WangRunji 203130d2b0 Use bitflags to repr Stat::mode
7 years ago
WangRunji b24530870e Update makefile
7 years ago
WangRunji 87a1a73251 Fix `stat` & `getdirentry`. Now `ls` is available.
7 years ago
WangRunji 515f45bb91 No panic when lookup failed
7 years ago
WangRunji 4625241b56 Impl `tryseek`, `lookup`. Fix `gettype`. Can run `sh` in ucore now !
7 years ago
WangRunji 383b81411d Add info() for vfs::FileSystem. Add fs() for vfs::INode.
7 years ago
WangRunji d545541d21 Use static_assert
7 years ago
WangRunji d84b5d82e6 Fix bug of uninitialized Rc in ucore fs & inode struct.
7 years ago
WangRunji d96065818f Use Rust formatter to print
7 years ago
WangRunji ed751bd8a1 Basic finish C interface. Debugging ...
7 years ago
WangRunji 97de1b4bc1 Modify C interface
7 years ago
WangRunji 890adb03ed Fix Device interface for ucore
7 years ago