Re: disklabel change?

2024-04-22 Thread Patrick Welche
On Mon, Apr 22, 2024 at 03:00:40PM +0100, Patrick Welche wrote: > On Mon, Apr 22, 2024 at 01:11:56PM -, Michael van Elst wrote: > > pr...@welche.eu (Patrick Welche) writes: > > > > >In fact, the difference is between "-t" and "-rt": > > > > >I deem "-t" output to be correct (and matches what

Re: disklabel change?

2024-04-22 Thread Patrick Welche
On Mon, Apr 22, 2024 at 01:11:56PM -, Michael van Elst wrote: > pr...@welche.eu (Patrick Welche) writes: > > >In fact, the difference is between "-t" and "-rt": > > >I deem "-t" output to be correct (and matches what I had in /etc/diskpart) > > > The in-kernel disklabel gets the RAW_PART

Re: disklabel change?

2024-04-22 Thread Michael van Elst
pr...@welche.eu (Patrick Welche) writes: >In fact, the difference is between "-t" and "-rt": >I deem "-t" output to be correct (and matches what I had in /etc/diskpart) The in-kernel disklabel gets the RAW_PART from by the disk geometry and if RAW_PART == 3, it gets d_partitions[2] from the

Re: disklabel change?

2024-04-22 Thread Patrick Welche
In fact, the difference is between "-t" and "-rt": $ disklabel -t sd0 perc|Automatically generated label:\ :dt=SCSI:se#512:ns#32:nt#64:sc#2048:nc#2143360:\ :su#4294967295:\ :pa#20971520:oa#264192:ta=4.2BSD:ba#0:fa#0:\ :pb#33554432:ob#21235712:tb=swap:\

disklabel change?

2024-04-21 Thread Patrick Welche
With a kernel & userland of 14 April 2024, on amd64, I just did: # disklabel -rt sd0 perc|Automatically generated label:\ :dt=SCSI:se#512:ns#32:nt#64:sc#2048:nc#2143360:\ :su#4294967295:\ :pa#20971520:oa#264192:ta=4.2BSD:ba#0:fa#0:\