[PATCH v2 1/1] fs: avoid superfluous messages

Simon Glass sjg at chromium.org
Tue Sep 21 03:11:22 CEST 2021


On Mon, 20 Sept 2021 at 06:15, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Output like the following is quite irritating:
>
>     => bootefi hello
>     Scanning disk mmc2.blk...
>     No valid Btrfs found
>     Bad magic number for SquashFS image.
>     ** Unrecognized filesystem type **
>     Scanning disk mmc1.blk...
>     No valid Btrfs found
>     Bad magic number for SquashFS image.
>     ** Unrecognized filesystem type **
>     Scanning disk mmc0.blk...
>     No valid Btrfs found
>     Bad magic number for SquashFS image.
>     ** Unrecognized filesystem type **
>
> Albeit a whole disk may be formatted with a filesystem in most cases
> a partition table is used and the whole disk (partition number 0) doesn't
> contain a filesytem. Some partitions may only contain a blob. Not seeing a
> filesytem on the whole disk or on any partition is only worth a debug
> message.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v2:
>         Explicitly mention in the commit message that a whole disk may
>         carry a filesystem.
> ---
>  fs/fs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list