[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/54822: it is hard to get rid of disklabels
The following reply was made to PR bin/54822; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
Subject: Re: bin/54822: it is hard to get rid of disklabels
Date: Wed, 1 Jan 2020 15:26:52 -0000 (UTC)
>When a disk has a valid disklabel, and the kernel has read it once
>already, it is pretty hard to get rid of it again.
># disklabel -D vnd0
This behaviour can be controlled with 'dkctl keeplabel' and,
by default, is only enabled for the vnd driver.
sc = vnd_spawn(unit);
if (sc == NULL)
/* compatibility, keep disklabel after close */
sc->sc_flags = VNF_KLABEL;
I have no idea where that compatibility is required or wanted.
Michael van Elst
"A potential Snark may lurk in every tree."
Main Index |
Thread Index |