1# ext2 2 3This crate provides utilities to create ext2 file system on memory or a file. 4 5`examples/mkfs.rs` shows how to use this library. This program is our alternative to `mkfs.ext2` 6that create an ext2 file system on a file and useful for debugging this ext2 itself with existing 7utilities in `e2fsprogs` such as `fsck` and `dumpe2fs`. 8 9```console 10$ cargo run --release --example mkfs -- --path disk.img 11Create disk.img 12$ dumpe2fs disk.img 13dumpe2fs 1.47.0 (5-Feb-2023) 14Filesystem volume name: <none> 15Last mounted on: <not available> 16Filesystem UUID: c6e49d8f-106f-4472-b0e8-6babcc3fa496 17Filesystem magic number: 0xEF53 18... 19``` 20