From owner-freebsd-embedded@freebsd.org Sun Mar 10 23:22:28 2019 Return-Path: Delivered-To: freebsd-embedded@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 EE4861545F27 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 3FA556C3C8 for ; Sun, 10 Mar 2019 23:22:26 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1552260138; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=iIjhuo7lcaTSGLOcLB5z4jBkny2myBWtQmvteWIWOJslVVOcklTeRwTnOL8f5euLGIDH5PxXrjLUl fyjfqQf//Sfm76wbEIVumAKSqGSi3OiAZUQSpF6CKTI/xIErkZIugLG6c1AFp21LjNFyJRfbTF0yLL pfdMfXtH11TFtR/9PIsSH8AU0Ck+FzN2ExpvPmOyAuTa19CMLdamZ3SIZ8dY4V2LCx6M4AP5RzAJ89 ciVZfz5Miwp88qeWzi+PNerMApSy9Qleb74mKsaRRSGxL1Soic7HLmVhD6bHcHo5+Tate0ZYlgLA3n eFKfRmQJvKSjUwmu1v5uzyjd0J+19vg== 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: 3FA556C3C8 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-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems 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