#1004655 libmagic1: improvement needed to BTRFS magic

Package:
file
Source:
file
Description:
Recognize the type of data in a file using "magic" numbers
Submitter:
Russell Coker
Date:
2022-01-31 09:42:04 UTC
Severity:
wishlist
Tags:
#1004655#5
Date:
2022-01-31 09:38:22 UTC
From:
To:
Below is a modified magic entry to show the feature flags in the BTRFS
superblock.

It also removes the leafsize field due to the following comment in the
documentation of the superblock.  Also note that in the kernel header for this
the field is named __unused_leafsize.
	pub node_size: u32,
	/// Unused and must be equal to `nodesize`
	pub leafsize: u32,

0x10040	string	_BHRfS_M	BTRFS Filesystem