mod.rs 859 B

123456789101112131415161718192021222324252627282930313233343536
  1. //! # The Defination of Ext4 File System Data Structures
  2. //!
  3. //! The layout of a standard block group is approximately as follows:
  4. //!
  5. //! - Group 0 Padding: 1024 bytes
  6. //! - Superblock: 1 block
  7. //! - Group Descriptors: many blocks
  8. //! - Reserved GDT Blocks: many blocks
  9. //! - Block Bitmap: 1 block
  10. //! - inode Bitmap: 1 block
  11. //! - inode Table: many blocks
  12. //! - Data Blocks: many more blocks
  13. //!
  14. //! For the special case of block group 0, the first 1024 bytes are unused.
  15. //! For all other block groups, there is no padding.
  16. mod bitmap;
  17. mod block_device;
  18. mod block_group;
  19. mod crc;
  20. mod dir_entry;
  21. mod extent;
  22. mod file;
  23. mod inode;
  24. mod mount_point;
  25. mod super_block;
  26. pub use bitmap::*;
  27. pub use block_device::*;
  28. pub use block_group::*;
  29. pub use dir_entry::*;
  30. pub use extent::*;
  31. pub use file::*;
  32. pub use inode::*;
  33. pub use mount_point::*;
  34. pub use super_block::*;