gpart: append partition name to the underlying provider's physical path
ClosedPublic

Authored by asomers on Jan 21 2018, 9:28 PM.

Details

Summary

gpart: append partition name to the underlying provider's physical path

If the underlying provider's physical path is null, then the gpart device's
physical path will be, too. Otherwise, it will append the partition name,
such as "/p1" or "/s1/a". This will make gpart work better with zfsd(8).

Test Plan

Test cases added

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
asomers created this revision.Jan 21 2018, 9:28 PM
This revision was not accepted when it landed; it landed in state Needs Review.Wed, Feb 14, 8:26 PM
This revision was automatically updated to reflect the committed changes.