Page MenuHomeFreeBSD

loader: md: Use default func for fmtdev and parsedev
ClosedPublic

Authored by manu on Jan 27 2023, 6:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 3:47 AM
Unknown Object (File)
Oct 28 2024, 5:46 PM
Unknown Object (File)
Oct 18 2024, 7:41 PM
Unknown Object (File)
Oct 18 2024, 7:41 PM
Unknown Object (File)
Oct 18 2024, 7:41 PM
Unknown Object (File)
Oct 18 2024, 7:21 PM
Unknown Object (File)
Oct 13 2024, 12:20 PM
Unknown Object (File)
Sep 28 2024, 3:14 PM
Subscribers

Details

Summary

The default function are enough for md so use them instead of the
disks ones that doesn't work for it anymore.

Sponsored by: Beckhoff Automation GmbH & Co. KG
MFC after: now

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.Jan 27 2023, 6:35 AM
manu retitled this revision from leader: md: Use default func for fmtdev and parsedev to loader: md: Use default func for fmtdev and parsedev.Jan 27 2023, 7:10 AM

This will work and won't break anything.
It does mean, though, you can't have things like md0p2:, but IMHO, that's fine. There's no use cases for that and this makes things simpler and easier.
I'll have to see if this means we can make it not be a DEVT_DISK or not, but that's a longer-term project of mine ending that abuse ...

This revision is now accepted and ready to land.Jan 27 2023, 5:52 PM