Re: is it possible to add a new filter to detect unusable partition types
Thomas Weißschuh <[email protected]> Wed, 18 Dec 2024 18:05:54 +0100
| Newsgroups | gmane.linux.lvm.general |
|---|---|
| Message-ID | <860960db-bb66-453c-a392-1495690bb2ff__44535.5416437209$1734541618$gmane$org@t-8ch.de> |
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