User Details
- User Since
- Sep 9 2022, 7:39 AM (169 w, 5 h)
Today
Yesterday
Re-uploaded all my changes.
This should address all the things. Here is the new sample output:
Thu, Nov 27
Tue, Nov 25
Sat, Nov 22
Oct 29 2025
Oct 27 2025
Oct 24 2025
Oct 22 2025
There we go:
root@johan_test:/usr/src # geom --libxo:JP disk list
{
"__version": "1",
"DISK": [
{
"name": "vtbd0",
"providers": [
{
"name": "vtbd0",
"mediasize": 21474836480,
"sectorsize": 512,
"stripe-size": 131072,
"stripe-offset": 0,
"mode": "r3w3e6",
"descr": "",
"ident": "BHYVE-22E5-A7A0-F77F",
"rotationrate": "unknown",
"fwsectors": "0",
"fwheads": "0"
}
]
}
]
}But as I said, I have a few more things I'd like to address before posting a patch.
Oct 19 2025
We should add the same check to status_one_geom() as well
Oct 16 2025
Oct 15 2025
Yes. I took a json sample before and after applying the patch locally and it looks ok. No extra ".".
Oct 14 2025
May 30 2025
AFAIK this is still a problem
Nov 1 2024
Sorry to bother people, but could we revive this review? I was recently talking to some people who noticed this the hard way and it would be great to get something merged that fixes it, even if it isn't perfect. I think this looks good enough and is definitely not "the ugliest kludge to make this work"
Oct 18 2023
I see that bootconfig used to have code for adding ESPs to all ZFS/UFS boot disks, but it was removed in https://reviews.freebsd.org/D28897. @imp reviewed that one, maybe you could share your opinion here if we should bring parts of that code back? I think all disks that are configured as boot disks by the installer should a working ESP after installation. If the wrong boot disks die then you are left with a system without any ESPs at all.
Dec 14 2022
Bump
Dec 12 2022
Updated diff to include context
Dec 6 2022
Nov 10 2022
So I experimented a little and remade this as "geom -c <consumer>". But unless I figure out a good way to filter by class it is useless. Right now it will just pick whatever class the provider first appears in, like DEV. So the proper way, IMO, to do that would be "geom <class> which <consumer>" and not just add another flag. But then "which" would only exist when using "geom" directly and not when using "gmultipath"/"gpart"/"glabel" binaries which I think would look weird. What are your thoughts?