0
Fork 0
mirror of https://github.com/Droid-VM/crosvm.git synced 2026-11-17 06:58:03 +00:00
crosvm/ext2
Elie Kheirallah 17f268191a Merge remote-tracking branch 'aosp/upstream-main' into merge
* aosp/upstream-main: (38 commits)
  aarch64: fix potential initrd size subtraction underflow
  Uprev pkg-config to 0.3.31
  crosvm: upgrade zerocopy to 0.8
  Roll recipe dependencies (trivial).
  Roll recipe dependencies (trivial).
  devices: virtio-snd: simplify zerocopy usage in vios backend
  x86_64: fix potential setup_data overlap of mptable
  Roll recipe dependencies (trivial).
  Roll recipe dependencies (trivial).
  Roll recipe dependencies (trivial).
  hypervisor: aarch64: Add context to errors in snapshot
  Roll recipe dependencies (trivial).
  devices: virtio-wl: add missing padding in CtrlVfdNewCtxNamed
  devices: virtio-wl: add size check for CtrlVfdNewCtxNamed
  devices: vfio: avoid extra copy in read_config()
  devices: virtio-scsi: simplify write_config()
  Revert "rutabaga_gfx: Add rutabaga_resource_wait_sync interface"
  Roll recipe dependencies (trivial).
  Rename gfxabort to be agnostic of graphics stack
  devices: virtio-scsi: use read_from_prefix() in parse_command()
  ...

Bug: 398839628
Test: atest --test-mapping external/crosvm
Change-Id: I1214e25a5c34a735925c605b8440c870abb0d31b
History 2025-02-25 18:10:03 +00:00
..
examples ext2: Make Builder take a root directory path 2024-09-25 09:42:23 +00:00
src crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
tests dev container: Uprev to latest debian version 2025-02-11 15:10:32 -08:00
Android.bp Merge remote-tracking branch 'aosp/upstream-main' into merge 2025-02-25 18:10:03 +00:00
Cargo.toml crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
README.md ext2: Add example mkfs program 2024-04-17 06:16:54 +00:00

ext2

This crate provides utilities to create ext2 file system on memory or a file.

examples/mkfs.rs shows how to use this library. This program is our alternative to mkfs.ext2 that create an ext2 file system on a file and useful for debugging this ext2 itself with existing utilities in e2fsprogs such as fsck and dumpe2fs.

$ cargo run --release --example mkfs -- --path disk.img
Create disk.img
$ dumpe2fs disk.img
dumpe2fs 1.47.0 (5-Feb-2023)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          c6e49d8f-106f-4472-b0e8-6babcc3fa496
Filesystem magic number:  0xEF53
...