Page MenuHomeFreeBSD

stand: Introduce new dv_parsedev routine
ClosedPublic

Authored by imp on Nov 10 2022, 5:04 PM.
Tags
None
Referenced Files
F97342139: D37337.diff
Sat, Sep 28, 6:45 PM
Unknown Object (File)
Sat, Sep 21, 5:25 AM
Unknown Object (File)
Thu, Sep 19, 4:44 PM
Unknown Object (File)
Wed, Sep 4, 6:11 PM
Unknown Object (File)
Aug 23 2024, 2:17 PM
Unknown Object (File)
Aug 18 2024, 6:51 PM
Unknown Object (File)
Aug 18 2024, 8:33 AM
Unknown Object (File)
Aug 17 2024, 5:25 PM
Subscribers

Details

Summary

Allow device classes to define a parsing routine. Most device classes
already have these routines, but there's much duplication in their
use. Define an interface for a common routine to parse an individual
device. By convetion, files have the form "[device:]/path/to/file"
where device is optional (filled in to be the value of currdev)
and it starts with the dv_name field of the device, with the rest
of the name up to the device (typically a unit number, but disks
add partition inforation, and other devices may do artibtrary
otehr things).

Sponsored by: Netflix

Diff Detail

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