Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

From: Dan Williams
Date: Wed Apr 29 2015 - 17:36:55 EST


On Wed, Apr 29, 2015 at 1:49 PM, Linda Knippers <linda.knippers@xxxxxx> wrote:
> On 4/29/2015 2:53 PM, Toshi Kani wrote:
> What's the right answer for this in the long run?

Short term, /dev/disk/by-uuid to take a stable identifier from the
contents of the device.

Longer term teach udev to populate /dev/disk/by-id with stable names
for libnd devices. The trick is identifiers for interleaved PMEM
ranges comprised of multiple physical devices. I'm thinking something
like /dev/disk/by-id/nd-<set_cookie>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/