From owner-freebsd-hackers@freebsd.org Sun Mar 10 23:22:28 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE1441545F26 for ; Sun, 10 Mar 2019 23:22:27 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FA236C3C7 for ; Sun, 10 Mar 2019 23:22:26 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1552260139; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=gL5WVG0o8bd+gn4Bh8BWnaaCjiCQrX9EVol58O2pN9jSBcvUkfBAs6kM1yOa8fqoXU6IMQ0eHr9tk GDRwJfaujgeXoIDdbOjQb6C8hzbtXMjoV6k1SpSVFln/BsXIHSFj2RQq3abkipGiLiJbP17eBQvJL4 0M1ev9p5dnIOzDIO9i4LG9OxvLXnsSywDuPsj0BJUgMtxiyPIyL1HZgJyBAbfpbGYLPFVkWo5yz8Pm LcWtUmLP62grsNgTyusqTnKEsJwvyxFiDrfU4NLsD7vf5w5ICQhMf/Qp45Y58VAbSUqTzKivpFkVdc Bj1frODyKVflPWPnSLZOxa/1ykRJVww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:date:to:from:subject: message-id:dkim-signature:from; bh=XoUUtYhqD62B4KEiNxmYupQHL2lcmjTKe/tcy6KejHA=; b=DuvMadPYDkokbbkr648debxqnbFR47PWxserJUAqFzah5VYhxlXCpD1MmAjn23QL2rBa+qazA1wue W0n4+OK+RQPa2JxNhEi7OqwqhQnbmT7CGFiSokT5Snm3+4PePHVonjmfFv0g1JpkJcUkGTYnPq8xMK rDDZyk9qC6yyifBNNiUUJu+YPPd62zOH07cJn8QBkcREJvS4xeAjzatkbeAIMBkCFrGDnNvt4HTVur HDHBcjynX7rY+WoJ1vzOWfbHNyBgpNIKR7UO0kt0Htv+3oIFPTvT+6kiIYAf01RBB7GyjZxK+Oh6kx 4SSKeRXQbQqrDZpneIfQkp+1HtDmTrA== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:date:to:from:subject: message-id:from; bh=XoUUtYhqD62B4KEiNxmYupQHL2lcmjTKe/tcy6KejHA=; b=a25uxYqFZBTeuRCl+3ZjlLkIq1W5sKdQuwHQAyZXO6D0Ia6xfajZLETMT9VZuJ2984g5EohPi+CZJ CMOxLMSOQ2Me9qGCCIPlnM6VQJJql5GLj349xrXm9XN8I1CgNMFGaeIL07Exm4vDeCZkJAyy40X0Vm C/iKczTH5ZdMnWxYd6hEuxD9K2YqJ7Ciuc9HkGmSEouXtiv3l7kQ0YJ3hmtKCoK5az9Il1YiqhXjDP ROI8T+98COb05B5DtgydMB8DqmE8XUDO1h6CUbYVHesdmN4JnfXUxY9l2Dk4wuVTM0K4qfO95dsDBV JZdp6Yli3GDOZE8GjFAkEbaYU8sc+Hg== X-MHO-RoutePath: aGlwcGll X-MHO-User: 56fcf45a-438b-11e9-803b-31925da7267c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id 56fcf45a-438b-11e9-803b-31925da7267c; Sun, 10 Mar 2019 23:22:16 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x2ANME55041065; Sun, 10 Mar 2019 17:22:14 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Device-independent labels for geom_flashmap slices From: Ian Lepore To: FreeBSD Hackers , freebsd-embedded@freebsd.org Date: Sun, 10 Mar 2019 17:22:14 -0600 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3FA236C3C7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2019 23:22:28 -0000 geom_flashmap is inherently based on label names, but it creates devfs entries for each slice which include the hardware device name. I've added support for geom_flashmap to the geom_label class, so that the labels are also created in /dev/flash without reference to the device name, similar to how labels work for GPT partitions and filesystems. I've created a review for the proposed changes at https://reviews.freebsd.org/D19535 -- Ian