Bug 224965 - gpart: should append the partition name to the underlying provider's physical path
Summary: gpart: should append the partition name to the underlying provider's physical...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Alan Somers
URL:
Keywords:
Depends on:
Blocks: 224963
  Show dependency treegraph
 
Reported: 2018-01-07 03:34 UTC by Alan Somers
Modified: 2018-02-14 20:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer 2018-01-07 03:34:24 UTC
A gpart partition should append its partition name "p1, s1, p1s1, etc" to the physical path of the whole disk.
Comment 1 commit-hook freebsd_committer 2018-02-14 20:26:47 UTC
A commit references this bug:

Author: asomers
Date: Wed Feb 14 20:26:10 UTC 2018
New revision: 329275
URL: https://svnweb.freebsd.org/changeset/base/329275

Log:
  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).

  PR:		224965
  MFC after:	3 weeks
  Differential Revision:	https://reviews.freebsd.org/D14010

Changes:
  head/sys/geom/part/g_part.c
  head/tests/sys/geom/class/Makefile
  head/tests/sys/geom/class/part/
  head/tests/sys/geom/class/part/Makefile
  head/tests/sys/geom/class/part/misc.sh