-----Original Message-----
From: Linux-nvdimm [mailto:linux-nvdimm-bounces@lists.01.org] On Behalf
Of Dan Williams
Sent: Thursday, May 14, 2015 7:42 PM
To: Kani, Toshimitsu
Cc: Neil Brown; Greg KH; linux-kernel(a)vger.kernel.org; linux-
nvdimm(a)lists.01.org
Subject: Re: [Linux-nvdimm] [PATCH v2 18/20] libnd: infrastructure for
btt devices
...
So we can fix this to be at least as stable as the backing device
names [1], but as far as I can see we would need to start using the
backing device name in the btt device name. A strawman proposal is to
append 's' to indicated 'sectored'. So /dev/pmem0s is the btt
instance fronting /dev/pmem0. Other examples:
/dev/pmem0p1s
/dev/ndblk0.0s
/dev/ndblk0.0p1s
...
Thoughts?
[1]:
https://lists.01.org/pipermail/linux-nvdimm/2015-April/000636.html
I like that; it also hints to the user that another driver has already
claimed /dev/pmem0, similar to how the presence of /dev/sda1, /dev/sda2,
etc. hints that a program has partitioned /dev/sda.