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
F137918006: D38218.diff
Thu, Nov 27, 5:40 AM
Unknown Object (File)
Wed, Nov 19, 1:35 AM
Unknown Object (File)
Wed, Nov 5, 12:38 PM
Unknown Object (File)
Sun, Nov 2, 11:15 AM
Unknown Object (File)
Wed, Oct 29, 10:41 AM
Unknown Object (File)
Wed, Oct 29, 10:30 AM
Unknown Object (File)
Wed, Oct 29, 10:25 AM
Unknown Object (File)
Oct 25 2025, 7:08 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