[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/54882: Stange default disklabels generated for non-512 byte disks
The following reply was made to PR kern/54882; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
Subject: Re: kern/54882: Stange default disklabels generated for non-512 byte
Date: Wed, 22 Jan 2020 10:46:37 +0100
On Wed, Jan 22, 2020 at 09:40:02AM +0000, Michael van Elst wrote:
> That part apparently is not so "historical" as the code talks about
> "lack of disklabel is common" and "lack of disklabel" does not
> trigger that behaviour.
> You should see an error message printed by the kernel why readdisklabel()
Duh - indeed. There was a bogus MBR in the image file:
vnd0: mbr partition exceeds disk size
removing that makes the symptom go away and I get a "sane" fictious label
(only a and d partition).
> Does this happen with a 4k (not 512e) disk for the underlying filesystem ?
No, the filsystem is on a 512 byte block disk.
Main Index |
Thread Index |