[elbe-devel] [PATCH] Update device mapping on losetup

Christian Gabriel christian.gabriel at linutronix.de
Mon Feb 20 15:42:17 CET 2023


On Mon, 2023-02-20 at 13:31 +0100, Bastian Germann wrote:
> The mkfs.fat sanity check revealed a problem with outdated partition
> mapping
> info in elbe:
> 
> [CMD] mkfs.vfat  -n uefi /dev/loop0
> mkfs.fat 4.2 (2021-01-31)
> mkfs.vfat: Partitions or virtual mappings on device '/dev/loop0', not
> making
> filesystem (use -I to override)
> 
> The kernel retains information about previously created partitions on
> a loop
> device with the same name. Update that info with kpartx -u.
> 
> Link: https://github.com/dosfstools/dosfstools/issues/40
> Signed-off-by: Bastian Germann <bage at linutronix.de>
Reviewed-by: Christian Gabriel <christian.gabriel at linutronix.de>



More information about the elbe-devel mailing list