#[repr(u32)]pub enum FeatureIncompat {
Show 15 variants
Compression = 1,
EntryHasFileType = 2,
HasJournal = 4,
JournalSeparate = 8,
MetaBlockGroups = 16,
Extents = 64,
Is64Bit = 128,
MultiMountProtection = 256,
FlexibleBlockGroups = 512,
ExtendedAttributeINodes = 1_024,
ExtendedDirectoryEntry = 4_096,
MetadataChecksum = 8_192,
LargeDirectory = 16_384,
SmallFilesInINode = 32_768,
EncryptedINodes = 65_536,
}
Expand description
Feature Incompatible flags.
Stored in SuperBlock::e2fs_features_incompat.
All flags listed by a given filesystem must be supported by us in order for us to attempt mounting it.
With our limited support at the time, there are also flags that we require to exist, like
EntryHasFileType
.
Variants§
Compression = 1
EntryHasFileType = 2
Currently required flag.
HasJournal = 4
We do not support journaling, but assuming an empty journal, we can still read.
Run fsck
in Linux to repair the filesystem first before attempting to mount a journaled
ext4 image.
JournalSeparate = 8
MetaBlockGroups = 16
Extents = 64
Required flag. Lack of this flag means the filesystem is not ext4, and we are not backward compatible.
Is64Bit = 128
MultiMountProtection = 256
FlexibleBlockGroups = 512
No explicit support, we will permit the flag as it works for our needs.
ExtendedAttributeINodes = 1_024
ExtendedDirectoryEntry = 4_096
MetadataChecksum = 8_192
We do not calculate checksums, so this is permitted but not actionable.
LargeDirectory = 16_384
SmallFilesInINode = 32_768
EncryptedINodes = 65_536
Trait Implementations§
Source§impl PartialEq for FeatureIncompat
impl PartialEq for FeatureIncompat
impl StructuralPartialEq for FeatureIncompat
Auto Trait Implementations§
impl Freeze for FeatureIncompat
impl RefUnwindSafe for FeatureIncompat
impl Send for FeatureIncompat
impl Sync for FeatureIncompat
impl Unpin for FeatureIncompat
impl UnwindSafe for FeatureIncompat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more