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 |
Ben Pig Chu
|
b0999da30c
|
fix file creation bug caused by invalid size of dir
|
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
|
4aac6474f1
|
Split C-interface to a new crate
|
7 years ago |
WangRunji
|
e56b22fa74
|
impl BlockedDevice for ucore::Device
|
7 years ago |
WangRunji
|
0d39ec0428
|
BlockedDevice
|
7 years ago |
WangRunji
|
4f58ba5716
|
Update README. Fix travis.
|
7 years ago |
WangRunji
|
0e6510c84f
|
Fix &'static str -> &str.
|
7 years ago |
WangRunji
|
203130d2b0
|
Use bitflags to repr Stat::mode
|
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 |
WangRunji
|
136f1a114e
|
Move `Device` from sfs to vfs
|
7 years ago |
WangRunji
|
7a635c3142
|
Full ErrorCode. Add OpenFlags.
|
7 years ago |
WangRunji
|
67aa3a0145
|
Call ucore cprintf
|
7 years ago |
WangRunji
|
d3aa6039c0
|
Fix allocator bug.
|
7 years ago |
WangRunji
|
dd62ea7335
|
Try to link with ucore
|
7 years ago |
WangRunji
|
d04829959c
|
Develop c_interface
|
7 years ago |
WangRunji
|
42ed01257d
|
Rewrite IO ops in INode. Add tests for resize.
|
7 years ago |
WangRunji
|
5264aaf7fe
|
Fix bugs, pass test `lookup`.
|
7 years ago |
WangRunji
|
85f7fc2dfc
|
Test simple lookup. Impl Debug for Dirty & INode.
|
7 years ago |
WangRunji
|
c04bed4867
|
Make SFS interior mutable
|
7 years ago |
WangRunji
|
a87851d2f6
|
Introduce `vfs::Result`, but now just use `unwrap` for debug. Complete `create`, but still failed in test.
|
7 years ago |
WangRunji
|
9b187374b5
|
Resize file, without test.
|
7 years ago |
WangRunji
|
37839f316f
|
Create new SFS from blank disk
|
7 years ago |
WangRunji
|
5f244d4538
|
Fix bugs of borrow_mut & entry[>12].
|
7 years ago |
WangRunji
|
11749fe728
|
Can print files in root node. FIXME: panic on reading entry[12]
|
7 years ago |
WangRunji
|
caf5f8aea1
|
Make INode -> SFS weak. Impl getting root inode.
|
7 years ago |
WangRunji
|
157ee1a1bc
|
Impl some INode functions.
|
7 years ago |
WangRunji
|
d7304d5d4a
|
Add C-interface structures. Impl Drop for Dirty.
|
7 years ago |
WangRunji
|
cbb0e341c0
|
Add Dirty wrapper. Add some functions without test.
|
7 years ago |
WangRunji
|
3a45996496
|
Create SFS and check magic.
|
7 years ago |
WangRunji
|
7658341eb9
|
Init. Basic structures.
|
7 years ago |