Re: svn commit: r322198 - in head: share/man/man9 sys/geom

2017-08-07 Thread Warner Losh
On Mon, Aug 7, 2017 at 4:20 PM, Nathan Whitehorn wrote: > > > On 08/07/17 14:32, Warner Losh wrote: > > > > On Mon, Aug 7, 2017 at 3:19 PM, Nathan Whitehorn > wrote: > >> It would be really nice to let gpart provide aliases correct to partition >> labels, which would fix the existing racy and un

Re: svn commit: r322198 - in head: share/man/man9 sys/geom

2017-08-07 Thread Nathan Whitehorn
On 08/07/17 14:32, Warner Losh wrote: On Mon, Aug 7, 2017 at 3:19 PM, Nathan Whitehorn mailto:nwhiteh...@freebsd.org>> wrote: It would be really nice to let gpart provide aliases correct to partition labels, which would fix the existing racy and unreliable glabel code. Do you s

Re: svn commit: r322198 - in head: share/man/man9 sys/geom

2017-08-07 Thread Warner Losh
On Mon, Aug 7, 2017 at 3:19 PM, Nathan Whitehorn wrote: > It would be really nice to let gpart provide aliases correct to partition > labels, which would fix the existing racy and unreliable glabel code. Do > you see any obstacles to using this code for that? I'm not sure I understand well enou

Re: svn commit: r322198 - in head: share/man/man9 sys/geom

2017-08-07 Thread Nathan Whitehorn
It would be really nice to let gpart provide aliases correct to partition labels, which would fix the existing racy and unreliable glabel code. Do you see any obstacles to using this code for that? -Nathan On 08/07/17 14:12, Warner Losh wrote: Author: imp Date: Mon Aug 7 21:12:38 2017 New Rev

svn commit: r322198 - in head: share/man/man9 sys/geom

2017-08-07 Thread Warner Losh
Author: imp Date: Mon Aug 7 21:12:38 2017 New Revision: 322198 URL: https://svnweb.freebsd.org/changeset/base/322198 Log: Expose API to allow disks to ask for alias names in devfs. Implement disk_add_alias to allow aliases to be added to disks. All disk have a primary name (say "foo") ca