[PATCH master] efi: loader: disk: don't install a file system on raw disks
Sascha Hauer
s.hauer at pengutronix.de
Fri Nov 6 02:03:00 PST 2026
On Tue, 03 Nov 2026 15:30:59 +0100, Ahmad Fatoum wrote:
> efi_fs_exists() matches the detected type of a cdev against the type of
> every registered file system driver. Drivers not backed by a cdev, like
> ramfs, devfs or tftp, leave their type at filetype_unknown, so every
> disk with unrecognized content matches one of them.
>
> Let's skip filetype_unknown like fs_detect() does, so raw disks only
> export Block I/O.
>
> [...]
Applied, thanks!
[1/1] efi: loader: disk: don't install a file system on raw disks
https://git.pengutronix.de/cgit/barebox/commit/?id=a4951b1e1d52 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list