Commit Graph

  • 16bf3302f8 use crate tempfile for test WangRunji 2019-02-11 12:38:39 +0800
  • f308d7bd6e rename to 'rcore-fs' and create workspace WangRunji 2019-02-11 12:32:37 +0800
  • f7c75234de rename 'sfs-c' to 'rcore-fs-ucore', update to Rust 2018 WangRunji 2019-02-11 12:10:51 +0800
  • 066cd14cce impl more INode operations WangRunji 2019-02-10 16:36:07 +0800
  • 1eb25f7422 impl basic FUSE that support 'ls' 'cat' WangRunji 2019-02-10 00:44:01 +0800
  • 48b3c2618a update Cargo.toml & README WangRunji 2018-12-28 17:30:40 +0800
  • b216da64ce Merge remote-tracking branch 'wangrunji0408/multi-thread' into ucore-fs-enhance Ben Pig Chu 2018-12-17 20:02:19 +0800
  • 249383f7e3 add mksfs to Travis WangRunji 2018-11-19 15:59:38 +0800
  • 919545b2ae update to 2018 edition WangRunji 2018-11-19 15:58:21 +0800
  • f2fa73b28a remove warning+add FsError, pt4 Ben Pig Chu 2018-11-16 04:32:22 +0800
  • c194e34582 remove warning+add FsError, pt3 Ben Pig Chu 2018-11-16 03:26:20 +0800
  • 0a3f4218fe remove warning+add FsError, pt2 Ben Pig Chu 2018-11-16 00:45:14 +0800
  • 24a51faff2 remove Debug dependency for INode WangRunji 2018-11-16 00:03:56 +0800
  • eb347c890c remove warning+add FsError, pt1 Ben Pig Chu 2018-11-16 00:09:53 +0800
  • f42e2a95b3 fix mksfs WangRunji 2018-11-16 00:01:23 +0800
  • e7b39bbb41 make the fs not that panicful Ben Pig Chu 2018-11-13 23:01:37 +0800
  • 978c3a70ca impl File.get_entry() WangRunji 2018-11-08 16:53:44 +0800
  • fe473bc987 impl File.info() WangRunji 2018-11-07 23:30:00 +0800
  • 80d72a9853 add simple File struct WangRunji 2018-11-07 13:11:04 +0800
  • 1fbda15575 remove open() & close() from INode WangRunji 2018-11-07 13:10:23 +0800
  • d75aab77d6 mark Sync & Send for vfs traits WangRunji 2018-11-07 01:51:37 +0800
  • 7b843fcad5 kill unwraps, remove 'flush_unreachable_inodes' WangRunji 2018-11-07 00:36:38 +0800
  • c12928502d Cargo fix. WangRunji 2018-11-05 11:55:33 +0800
  • d1112a3768 Fix and update C-interface. WangRunji 2018-11-05 11:45:13 +0800
  • 3f456a2dc6 Multi-thread support. WangRunji 2018-11-04 21:04:30 +0800
  • b0b1e0b307 Enable NLL and simplify code. WangRunji 2018-11-04 16:39:20 +0800
  • 3f71a36c66 Reformat code. WangRunji 2018-11-04 15:57:33 +0800
  • 075ea8469f
    Merge pull request #3 from benpigchu/ucore-fs-enhance Wang Runji 2018-11-04 15:46:51 +0800
  • 2de01e4f16 make ci test only use one thread Ben Pig Chu 2018-11-04 00:21:56 +0800
  • 5462ccb300 move file between dir Ben Pig Chu 2018-11-02 18:35:43 +0800
  • 9026395afc rename dirent Ben Pig Chu 2018-11-02 11:22:47 +0800
  • 07a4a96b73 Merge branch 'mksfs' into ucore-fs-enhance Ben Pig Chu 2018-10-31 11:28:46 +0800
  • 9c0c3e0d83 move the list and lookup implement to the vfs level Ben Pig Chu 2018-10-29 16:06:58 +0800
  • e640f78134 untested single layer lookup named find Ben Pig Chu 2018-10-27 01:53:15 +0800
  • c744a3aea2 get_entry(), as a different design from list() Ben Pig Chu 2018-10-27 01:16:38 +0800
  • 4a97d89b8f implement hard link Ben Pig Chu 2018-10-26 22:36:13 +0800
  • 9d0b3d1891 store and return ucore compatible size Ben Pig Chu 2018-10-24 19:36:43 +0800
  • 0e4f714d95 free disk space of unlinked no referenced inode on drop Ben Pig Chu 2018-10-24 14:20:05 +0800
  • 36277c5769 basic unlink implement Ben Pig Chu 2018-10-23 19:28:23 +0800
  • 77cea66f7e get the nlinks correct when creating inodes. Ben Pig Chu 2018-10-23 16:28:59 +0800
  • 289f627be8 add unlink interface Ben Pig Chu 2018-10-22 20:43:39 +0800
  • e26f14c55f
    Merge pull request #2 from benpigchu/dir-size-fix Wang Runji 2018-10-17 14:20:59 +0800
  • b0999da30c fix file creation bug caused by invalid size of dir Ben Pig Chu 2018-10-17 12:39:31 +0800
  • 422514df9b
    Merge pull request #1 from wangrunji0408/mksfs Ben "Pig" Chu 2018-10-16 21:42:43 +0800
  • 4a81e22f8f Merge branch 'master' into mksfs WangRunji 2018-10-15 22:23:53 +0800
  • ca10d11264 Fit for newest Rust nightly. BitSet -> BitVec. WangRunji 2018-08-04 14:09:37 +0800
  • 7251ab7fb7 Make `block_size_log2` a constant WangRunji 2018-07-15 16:36:26 +0800
  • e283c50866 Fix compile for RV32 WangRunji 2018-07-14 17:34:11 +0800
  • 25e7f8e0a7 Fix cargo.toml WangRunji 2018-05-27 23:31:23 +0800
  • 4aac6474f1 Split C-interface to a new crate WangRunji 2018-05-27 23:21:58 +0800
  • 8d111eb800 Basically finish mksfs. But still bugs. WangRunji 2018-05-27 22:46:12 +0800
  • e56b22fa74 impl BlockedDevice for ucore::Device WangRunji 2018-05-24 00:01:33 +0800
  • 0d39ec0428 BlockedDevice WangRunji 2018-05-23 23:50:17 +0800
  • 075e416a7b Some code for 'mksfs'. Move 'impl Device for std::fs::File' out of test mod. WangRunji 2018-05-23 21:56:29 +0800
  • 4f58ba5716 Update README. Fix travis. WangRunji 2018-05-20 22:55:34 +0800
  • 0e6510c84f Fix &'static str -> &str. WangRunji 2018-05-18 11:51:12 +0800
  • 20d2ac2eca Add report for 'Linking Rust SFS to uCore' WangRunji 2018-05-07 20:08:28 +0800
  • 203130d2b0 Use bitflags to repr Stat::mode WangRunji 2018-05-07 18:18:33 +0800
  • b24530870e Update makefile WangRunji 2018-05-07 17:43:01 +0800
  • 87a1a73251 Fix `stat` & `getdirentry`. Now `ls` is available. WangRunji 2018-05-07 14:25:21 +0800
  • 515f45bb91 No panic when lookup failed WangRunji 2018-05-07 13:43:17 +0800
  • 4625241b56 Impl `tryseek`, `lookup`. Fix `gettype`. Can run `sh` in ucore now ! WangRunji 2018-05-07 12:58:22 +0800
  • 383b81411d Add info() for vfs::FileSystem. Add fs() for vfs::INode. WangRunji 2018-05-07 12:55:13 +0800
  • d545541d21 Use static_assert WangRunji 2018-05-07 02:11:26 +0800
  • d84b5d82e6 Fix bug of uninitialized Rc in ucore fs & inode struct. WangRunji 2018-05-07 01:13:52 +0800
  • d96065818f Use Rust formatter to print WangRunji 2018-05-07 00:06:01 +0800
  • ed751bd8a1 Basic finish C interface. Debugging ... WangRunji 2018-05-06 22:03:14 +0800
  • 97de1b4bc1 Modify C interface WangRunji 2018-05-06 18:21:43 +0800
  • 890adb03ed Fix Device interface for ucore WangRunji 2018-05-06 16:52:58 +0800
  • 136f1a114e Move `Device` from sfs to vfs WangRunji 2018-05-06 16:03:35 +0800
  • 7a635c3142 Full ErrorCode. Add OpenFlags. WangRunji 2018-05-06 15:51:22 +0800
  • 67aa3a0145 Call ucore cprintf WangRunji 2018-05-06 11:49:45 +0800
  • d3aa6039c0 Fix allocator bug. WangRunji 2018-05-06 02:06:08 +0800
  • 1b3a716e02 Add port report WangRunji 2018-05-05 19:16:06 +0800
  • dd62ea7335 Try to link with ucore WangRunji 2018-05-05 16:57:00 +0800
  • d04829959c Develop c_interface WangRunji 2018-05-05 12:26:58 +0800
  • 42ed01257d Rewrite IO ops in INode. Add tests for resize. WangRunji 2018-05-05 01:29:38 +0800
  • 5264aaf7fe Fix bugs, pass test `lookup`. WangRunji 2018-05-04 01:33:42 +0800
  • 85f7fc2dfc Test simple lookup. Impl Debug for Dirty & INode. WangRunji 2018-05-04 01:01:10 +0800
  • c04bed4867 Make SFS interior mutable WangRunji 2018-05-04 00:08:14 +0800
  • a87851d2f6 Introduce `vfs::Result`, but now just use `unwrap` for debug. Complete `create`, but still failed in test. WangRunji 2018-05-03 23:27:26 +0800
  • 9b187374b5 Resize file, without test. WangRunji 2018-05-02 00:40:47 +0800
  • 37839f316f Create new SFS from blank disk WangRunji 2018-05-02 00:07:55 +0800
  • 5f244d4538 Fix bugs of borrow_mut & entry[>12]. WangRunji 2018-05-01 20:04:21 +0800
  • 11749fe728 Can print files in root node. FIXME: panic on reading entry[12] WangRunji 2018-05-01 19:30:52 +0800
  • caf5f8aea1 Make INode -> SFS weak. Impl getting root inode. WangRunji 2018-05-01 18:07:03 +0800
  • 157ee1a1bc Impl some INode functions. WangRunji 2018-05-01 16:38:28 +0800
  • d7304d5d4a Add C-interface structures. Impl Drop for Dirty. WangRunji 2018-05-01 00:33:20 +0800
  • 8c289a135a Merge branch 'master' of https://github.com/wangrunji0408/SimpleFileSystem-Rust WangRunji 2018-04-29 15:11:47 +0800
  • 1e3229e5d8
    Initial commit WangRunji 2018-04-29 15:09:44 +0800
  • aa1684ea26 Add README and travis. WangRunji 2018-04-29 15:08:30 +0800
  • cbb0e341c0 Add Dirty wrapper. Add some functions without test. WangRunji 2018-04-29 14:44:41 +0800
  • 3a45996496 Create SFS and check magic. WangRunji 2018-04-29 01:26:45 +0800
  • 7658341eb9 Init. Basic structures. WangRunji 2018-04-28 23:49:46 +0800