gjz010
11a41c8c95
Update vfs.rs
...
Update vfs for the need of the new path-resolution system.
1. Add Send mark to FileSystem. (I can't tell why Send is necessary and right here, but adding the mark does not conflict with current SFS, at least now.)
Note that updating version of bitvec of SFS may break Send and Sync.
2. Add SymLoop (E_LOOP) for bad path resolution.
6 years ago
Jiajie Chen
ee0d0b31a1
Add FsError::Again
6 years ago
Jiajie Chen
7629e287cb
Expose device id via rdev in metadata
6 years ago
Jiajie Chen
e6c4590a93
Add comments about char/block device
6 years ago
Tianyu Gao
ab5ae3a447
fix some conflict, pass building
6 years ago
Tianyu Gao
e3e0c4b465
merge lib
6 years ago
Jiajie Chen
17aea0d930
Add initial support for ext2
6 years ago
WangRunji
41ccb1675c
add LRU to BlockCache
6 years ago
WangRunji
8dcd4fc012
impl naive BlockCache
6 years ago
WangRunji
f3d4811305
fix get_entry
6 years ago
WangRunji
d071071342
BREAK: sfs direntry no longer take up a block
6 years ago
WangRunji
09382c21b8
improve Device trait. fix some warnings.
6 years ago
WangRunji
6f282baf2f
impl Copy for FileType
6 years ago
Jiajie Chen
64d399fe66
Use usize for io_control data
6 years ago
gaotianyu1350
958fd0844e
fix ioctl bug
6 years ago
gaotianyu1350
f2e688cc10
fix device inode bug
6 years ago
gaotianyu1350
de6b914cd1
trick to add device inode
6 years ago
WangRunji
d7a2006cc3
improve docs for vfs. add poll and ioctl.
6 years ago
WangRunji
05a4df20bf
replace chmod by set_metadata in INode
6 years ago
Jiajie Chen
f8d7b06727
Fix symlink to directories
6 years ago
WangRunji
89e9dde1ec
reformat code using `cargo fmt`
6 years ago
Jiajie Chen
166616e5ad
Improve absolute path and symlink resolution
6 years ago
Jiajie Chen
c2f3730e30
Add chmod for INode
6 years ago
Jiajie Chen
7c4a38d854
Move test from rcore-fs to rcore-fs-sfs and fix
6 years ago
Jiajie Chen
c9322710b4
Implement following symlinks in lookup
6 years ago
WangRunji
38dab25178
split sync to sync_all and sync_data. merge rename to move.
6 years ago
WangRunji
9a89ed174c
fix zip bug. impl std::Error for FsError.
6 years ago
WangRunji
6e6b33f6fc
rename FileInfo to Metadata. complete FsInfo
6 years ago
WangRunji
5265b8e36f
impl mode & time in create
6 years ago
WangRunji
170cc932be
split SFS & SEFS to crates
6 years ago
WangRunji
32a3a8c8b1
FUSE works for SEFS!
6 years ago
WangRunji
15632fd69b
impl SEFS
6 years ago
WangRunji
4b5dba67df
fix FUSE write. fix SFS freemap by updating crate 'bitvec'.
6 years ago
WangRunji
16bf3302f8
use crate tempfile for test
6 years ago
WangRunji
f308d7bd6e
rename to 'rcore-fs' and create workspace
6 years ago