Chen
b098983155
Merge pull request #7 from gjz010/master
...
Added INode::create2() which allows creating devicefile with argument.
6 years ago
gjz010
29e818afaa
Added INode::create2() which allows creating devicefile with argument.
...
Default INode::create2() and INode::create() implements each other so (perhaps) no worry about compatability.
Implemented INode::create2() for SFS.
6 years ago
Chen
5f4b87fa30
Merge pull request #6 from gjz010/master
...
Update vfs.rs for the need of the new path-resolution system.
6 years ago
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
Wang Runji
b421e751bb
Merge pull request #5 from gaotianyu1350/master
...
Add char device to simple file system
6 years ago
Tianyu Gao
cc4f258ad4
Change size of the directory -> disk_inode.size
...
Co-Authored-By: Wang Runji <wangrunji0408@163.com>
6 years ago
Jiajie Chen
351d38241f
Truncate file when generating sfsimg
6 years ago
Tianyu Gao
ab5ae3a447
fix some conflict, pass building
6 years ago
Tianyu Gao
e3e0c4b465
merge lib
6 years ago
Jiajie Chen
585eb6197a
Add git version subcommand for rcore-fs-fuse
6 years ago
Jiajie Chen
0508538490
Fix symlink args
6 years ago
Jiajie Chen
f04ddd22eb
Support symlink for unzip
6 years ago
Jiajie Chen
037d00f566
Fix rcore-fs-ext2 tests
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
d39d3baea3
make fuse an optional feature
6 years ago
WangRunji
09382c21b8
improve Device trait. fix some warnings.
6 years ago
WangRunji
6f282baf2f
impl Copy for FileType
6 years ago
WangRunji
7a7eb4864a
Merge remote-tracking branch 'occlum/sefs'
6 years ago
Jiajie Chen
64d399fe66
Use usize for io_control data
6 years ago
gaotianyu1350
958fd0844e
fix ioctl bug
6 years ago
gaotianyu1350
0bc5a7dcfd
add ioctl
6 years ago
gaotianyu1350
4ed2ad6967
add call ioctl for inodeimpl
6 years ago
gaotianyu1350
83c218aadb
add device inode id to DiskINode
6 years ago
WangRunji
2865c419b3
sefs: fix load freemap
6 years ago
gaotianyu1350
6cb05c35a2
add inode impl link
6 years ago
gaotianyu1350
f2e688cc10
fix device inode bug
6 years ago
gaotianyu1350
cef08da812
add device inodes for SFS and device inode id for inodeimpl
6 years ago
WangRunji
6537e7dc82
sefs: impl symlink
6 years ago
WangRunji
c1d047f503
sefs: impl block group and auto extend when allocating failed
6 years ago
gaotianyu1350
de6b914cd1
trick to add device inode
6 years ago
WangRunji
08518e5034
sefs: fix SGX memory allocation fail, clear cache and retry
6 years ago
Tianyu Gao
1cc5fd90bb
remove creating dev in root_inode
6 years ago
gaotianyu1350
56b9db6c8f
handle result returned by create
6 years ago
gaotianyu1350
d9fa1417fe
create dev
6 years ago
Tianyu Gao
55a8d35054
no create dev
6 years ago
gaotianyu1350
60da95773f
gitignore
6 years ago
gaotianyu1350
869947266c
Merge branch 'gty' of github.com:gaotianyu1350/rcore-fs into gty
6 years ago
Tianyu Gao
d0a2d9241a
ignore swp
6 years ago
Tianyu Gao
770bbd5aad
Revert "add .gitignore"
...
This reverts commit cc7d319f37
.
6 years ago
gaotianyu1350
3edc14e317
add dev dir
6 years ago
gaotianyu1350
cc7d319f37
add .gitignore
6 years ago
WangRunji
d7a2006cc3
improve docs for vfs. add poll and ioctl.
6 years ago
WangRunji
acff8d5586
fix truncate in FUSE
6 years ago