Commit Graph

  • 15bcf9f72e
    removal of tedious code master Able 2022-02-08 02:06:24 -0600
  • 220f66a156
    documentation Able 2022-02-07 23:23:44 -0600
  • c28713c202
    ported to modern rust Able 2022-02-07 22:18:39 -0600
  • 1fe6dd820b add genfs; port existing fs operations to `genfs` Szymon Walter 2018-03-24 12:06:34 +0100
  • db8aead7c7 Implement searching for an inode by name (#1) Szymon Walter 2018-03-22 12:42:00 +0100
  • 086b5115d3
    Merge pull request #4 from pi-pi3/sync Szymon Walter 2018-03-22 11:28:24 +0100
  • 85ddcd522c Remove old non-thread-safe ext2 implementation #4 sync Szymon Walter 2018-03-22 11:23:58 +0100
  • 808a805a48 Add Thread-safe version of the ext2 implementation Szymon Walter 2018-03-22 11:07:33 +0100
  • f4ccd00dd9 give `SectorSize` the `'static` lifetime Szymon Walter 2018-03-22 09:57:32 +0100
  • 67e0b63f4b Reformat Szymon Walter 2018-03-22 09:37:22 +0100
  • 19b5c4e4d2 Merge branch 'master' of github.com:pi-pi3/ext2-rs Szymon Walter 2018-03-22 01:06:55 +0100
  • bebfa33564 Implement a directory entry iterator for inode Szymon Walter 2018-03-22 01:02:05 +0100
  • f83ad71b3c enable reading the entire contents of inodes Szymon Walter 2018-03-21 23:05:41 +0100
  • 117b8d4e75 redo error handling Szymon Walter 2018-03-21 20:40:39 +0100
  • 934266ca4b add constraints to `Size` trait Szymon Walter 2018-03-21 18:54:50 +0100
  • 662d526316
    Merge pull request #3 from pi-pi3/dev Szymon Walter 2018-03-21 18:46:08 +0100
  • c42fb978c2 add README and LICENSE #3 Szymon Walter 2018-03-21 18:45:07 +0100
  • d5423d7199 Change sector::Address implementation to use u32 Szymon Walter 2018-03-21 18:17:36 +0100
  • e6218401ce implement doubly indirect pointer tables Szymon Walter 2018-03-20 15:44:12 +0100
  • 30aed8bde7 add an `InodeBlocks` `Iterator` for iterating over the blocks of an inode Szymon Walter 2018-03-20 15:17:16 +0100
  • 83a9d706a3 rename `Volume::len` to `Volume::size` Szymon Walter 2018-03-20 14:56:09 +0100
  • d24fde3c3d fix safe read reading zero bytes Szymon Walter 2018-03-20 14:34:06 +0100
  • 2a755f740d fix `sector::Address::with_block_size` Szymon Walter 2018-03-20 13:42:52 +0100
  • 6c2dc293e0 shorten too long lines Szymon Walter 2018-03-20 12:58:39 +0100
  • a1436f2d26 satisfy lints Szymon Walter 2018-03-20 12:57:00 +0100
  • 02f70ee974 add 1024 sized sectors Szymon Walter 2018-03-20 12:53:27 +0100
  • ce162aae90 rename `buffer` to `volume` to better reflect its purpose Szymon Walter 2018-03-20 12:49:44 +0100
  • ab069b60e6 rename `block` to `sector` to better reflect its purpose Szymon Walter 2018-03-20 12:46:27 +0100
  • 6e86749246 fix bad log(block_size) Szymon Walter 2018-03-20 12:39:45 +0100
  • fbdbeb2842 fix `Address::sub` Szymon Walter 2018-03-20 12:38:22 +0100
  • 764c4de6bf fix `with_block_size` Szymon Walter 2018-03-20 12:35:05 +0100
  • 7c57c047bc make `Buffer` generic over its index, instead of `usize` Szymon Walter 2018-03-20 12:30:36 +0100
  • 7e0af1b8f6 add generic `Idx` type argument to `Buffer` and `Length` Szymon Walter 2018-03-20 11:05:56 +0100
  • 88b1e3b668 `impl Step` for block `Address` to allow range iterating Szymon Walter 2018-03-20 10:42:22 +0100
  • 63f0203601 add assert to block address unsafe constructos Szymon Walter 2018-03-20 10:33:17 +0100
  • 2966b628fa rewrite how block addresses are constructed Szymon Walter 2018-03-20 10:30:40 +0100
  • 677c072b45 fix arithmetic errors Szymon Walter 2018-03-20 10:21:05 +0100
  • b55633205e add `block_size` and `log_block_size` methods to `Address` Szymon Walter 2018-03-20 10:16:30 +0100
  • e6ebd09b3e `derive` `PartialOrd` and `Ord` for `Address` Szymon Walter 2018-03-20 10:14:24 +0100
  • 69b3ba7552 `impl` `Debug`, `LowerHex`, `Display` for `Address` Szymon Walter 2018-03-20 10:13:21 +0100
  • 3dca5904a1 i accidentaly Szymon Walter 2018-03-20 10:03:18 +0100
  • 5cfa684c03 rename `ext2.bin` to `ext2.img` Szymon Walter 2018-03-20 10:03:09 +0100
  • e456764a20 rename `ext2.bin` to `ext2.img` to better reflect its contents Szymon Walter 2018-03-20 10:01:44 +0100
  • cb1de4b2e3 add a way to address block in an ext2 fs Szymon Walter 2018-03-20 07:21:24 +0100
  • f816ebdbe7 allow indexing inodes independent of the block group Szymon Walter 2018-03-19 21:42:45 +0100
  • d1905db917 make `update_global` and `update_inode` private Szymon Walter 2018-03-19 21:09:48 +0100
  • 95533395d9 add methods for querying and manipulating inodes to `Ext2` Szymon Walter 2018-03-19 20:49:59 +0100
  • 7dd27917bd add `in_use` method for `Inode` to check whether there are any hard links Szymon Walter 2018-03-19 20:42:27 +0100
  • c798b2bdb2 add Debug `impl`s Szymon Walter 2018-03-19 20:38:32 +0100
  • eef8f86e8b add `find_inode` function do `impl Inode` Szymon Walter 2018-03-19 20:25:35 +0100
  • 6ce24624a7 add `version` and `inode_size` methods Szymon Walter 2018-03-19 19:55:22 +0100
  • 1415941a96 update `update_global` method on `Ext2` Szymon Walter 2018-03-19 19:41:45 +0100
  • fb1b5bdef5 fix `unsafe` keywords Szymon Walter 2018-03-19 19:36:30 +0100
  • 959572eca1 mark Superblock::find unsafe; add test Szymon Walter 2018-03-19 19:33:56 +0100
  • 0fc2c934d9 add offset argument to BlockGroupDescriptor::find_... Szymon Walter 2018-03-19 19:33:20 +0100
  • 35170f2aee add block group descriptor table loading to `Ext2` struct Szymon Walter 2018-03-19 19:32:36 +0100
  • f1b5d2b2a0 rewrite fs to init in `new` Szymon Walter 2018-03-19 18:38:33 +0100
  • e6acaad9a9 port BlockGroupDescriptor table finding to Buffer Szymon Walter 2018-03-19 18:10:27 +0100
  • d4348c3177 fill in the fs with some directories and files Szymon Walter 2018-03-19 17:56:53 +0100
  • ade142843c add `file_len` test and rewrite `file` test Szymon Walter 2018-03-19 17:42:08 +0100
  • 2e336270c8 fix some slicing issues Szymon Walter 2018-03-19 17:41:42 +0100
  • 1d8b1466ff mkfs.ext2 ext2.bin Szymon Walter 2018-03-19 17:31:01 +0100
  • 0d5b9aef12 add PartialEq impl for Error Szymon Walter 2018-03-19 17:23:45 +0100
  • 0802005fa5 uncomment `impl Buffer` for `&mut [T]` Szymon Walter 2018-03-19 17:05:01 +0100
  • a8199f00d0 add `File` `Ext2` test Szymon Walter 2018-03-19 13:35:00 +0100
  • 55b23f4974 add `Result` return type to `fn commit` Szymon Walter 2018-03-19 13:30:42 +0100
  • 110d2ff415 add `no_std` as default feature Szymon Walter 2018-03-19 13:29:22 +0100
  • c06982b7ac add `Infallible`, for errors which never occur Szymon Walter 2018-03-19 13:28:18 +0100
  • aee2f2def0 `impl` Buffer for `File` Szymon Walter 2018-03-19 09:48:11 +0100
  • 3d946eb721 add safe `Ext2` wrapper struct Szymon Walter 2018-03-19 08:39:46 +0100
  • bae7f23b3e use `&Buffer<u8>` instead of `&[u8]` on Superblock::find Szymon Walter 2018-03-19 08:39:23 +0100
  • 6b34d3325a redo definitions on casts Szymon Walter 2018-03-19 08:38:44 +0100
  • 172c267917 remove unmutable slices from `Buffer` Szymon Walter 2018-03-19 08:28:59 +0100
  • 5991420aa8 add dynamic casting abilities to BufferSlice Szymon Walter 2018-03-19 08:25:14 +0100
  • e91533440e add smart, delayed update `Buffer` Szymon Walter 2018-03-19 00:02:31 +0100
  • 43e400ef08 fix again Szymon Walter 2018-03-19 00:01:21 +0100
  • a9d5677c57 make `find*` functions unsafe Szymon Walter 2018-03-18 20:38:48 +0100
  • 0c750fbdda move raw packed struct to `sys` module Szymon Walter 2018-03-18 20:35:55 +0100
  • 0ffd97d29a move `find_descriptor_table` to `impl BlockGroupDescriptor` Szymon Walter 2018-03-18 19:29:49 +0100
  • a19d8b205a add inode doc comment (copied from osdev) Szymon Walter 2018-03-18 19:06:50 +0100
  • e0163e2b9e add offset argument to `find_*` functions Szymon Walter 2018-03-18 19:04:57 +0100
  • c5f0edeabc minor fixes Szymon Walter 2018-03-18 19:01:31 +0100
  • 096cc865a4 add locating `Superblock` and `[BlockGroupDescriptor]` Szymon Walter 2018-03-18 18:38:54 +0100
  • b211d95807 replace Error/ErroKind pair with just `enum Error` Szymon Walter 2018-03-18 18:34:26 +0100
  • 71a97a9e4d add `error` module Szymon Walter 2018-03-18 18:12:10 +0100
  • 41f6ea1967 add `error` module Szymon Walter 2018-03-18 18:11:58 +0100
  • 568ebd3207 add some struct definitions Szymon Walter 2018-03-18 17:42:59 +0100
  • 062e4847e1 add project files Szymon Walter 2018-03-18 17:41:56 +0100
  • 09dc56e2d3 initial commit Szymon Walter 2018-03-18 15:25:05 +0100