[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is it possible to add a new filter to detect unusable partition type
From: |
Thomas Weißschuh |
Subject: |
Re: is it possible to add a new filter to detect unusable partition types |
Date: |
Wed, 18 Dec 2024 18:05:54 +0100 |
On 2024-12-18 15:44:45+0100, Karel Zak wrote:
> On Wed, Dec 18, 2024 at 11:12:59AM GMT, Zdenek Kabelac wrote:
[..]
> > And in the same way blkid should expose installed grub loader - currently
> > the partition with installed grub looks 'empty' with blkid....
>
> The issue I see is that boot loaders can coexist with filesystems on
> the same device. This can lead to unexpected warnings when attempting
> to view the contents of the device using mkfs tools.
Isn't this specifically about the grub second stage on GPT systems
inside a dedicated partition?
There should be no valid coexistence with a filesystem.
So having a probe in blkid looks reasonable to me.
Not that it helps in the specific case mentioned above, where everybody
is using --force anyways.
Thomas