freebsd-dev/sys/geom/label
Ian Lepore 91a3f3588a Support device-independent labels for geom_flashmap slices.
While geom_flashmap has always supported label names for its slices, it does
so by appending "s.labelname" to the provider device name, meaning you still
have to know the name and unit of the hardware device to use the labels.

These changes add support for device-independent geom_flashmap labels, using
the standard geom_label infrastructure. geom_flashmap now creates a softc
struct attached to its geom, and as it creates slices it stores the label
into an array in the softc. The new geom_label_flashmap uses those labels
when tasting a geom_flashmap provider.

Differential Revision:	https://reviews.freebsd.org/D19535
2019-03-24 19:11:45 +00:00
..
g_label_disk_ident.c Squash error from geom by sizing ident strings to DISK_IDENT_SIZE. 2018-04-05 13:56:40 +00:00
g_label_ext2fs.c
g_label_flashmap.c Support device-independent labels for geom_flashmap slices. 2019-03-24 19:11:45 +00:00
g_label_gpt.c
g_label_iso9660.c
g_label_msdosfs.c
g_label_msdosfs.h
g_label_ntfs.c
g_label_reiserfs.c
g_label_ufs.c Normally when an attempt is made to mount a UFS/FFS filesystem whose 2018-12-06 00:09:39 +00:00
g_label.c Support device-independent labels for geom_flashmap slices. 2019-03-24 19:11:45 +00:00
g_label.h Support device-independent labels for geom_flashmap slices. 2019-03-24 19:11:45 +00:00