HomeFreeBSD

For MD_PRELOAD type md(4) devices, if there is a file name in the preloaded

Description

For MD_PRELOAD type md(4) devices, if there is a file name in the preloaded
meta-data, copy it into the softc structure.

When returning md(4) device details to the caller, include the file name in
any MD_PRELOAD type devices if it is set (first character is not NUL.)

In mdconfig, for "preload" type md(4) devices, if there is file config
available, print it in the file column of the output.

Reviewed by: brooks
Approved by: sjg (mentor)
MFC after: 1 month
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D9529

Details

Provenance
stevekAuthored on
Reviewer
brooks
Differential Revision
D9529: Output file name from "preload" type md(4) device
Parents
rS313700: MFC r313568:
Branches
Unknown
Tags
Unknown