From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <554143E0.7010305@hp.com> References: <20150428181203.35812.60474.stgit@dwillia2-desk3.amr.corp.intel.com> <20150428182506.35812.4007.stgit@dwillia2-desk3.amr.corp.intel.com> <1430331934.23761.100.camel@misato.fc.hp.com> <1430333633.23761.109.camel@misato.fc.hp.com> <554143E0.7010305@hp.com> Date: Wed, 29 Apr 2015 14:36:47 -0700 Message-ID: Subject: Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida From: Dan Williams Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org To: Linda Knippers Cc: Toshi Kani , "linux-kernel@vger.kernel.org" , Christoph Hellwig , "linux-nvdimm@lists.01.org" List-ID: On Wed, Apr 29, 2015 at 1:49 PM, Linda Knippers 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- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751294AbbD2Vgv (ORCPT ); Wed, 29 Apr 2015 17:36:51 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:36535 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbbD2Vgt (ORCPT ); Wed, 29 Apr 2015 17:36:49 -0400 MIME-Version: 1.0 In-Reply-To: <554143E0.7010305@hp.com> References: <20150428181203.35812.60474.stgit@dwillia2-desk3.amr.corp.intel.com> <20150428182506.35812.4007.stgit@dwillia2-desk3.amr.corp.intel.com> <1430331934.23761.100.camel@misato.fc.hp.com> <1430333633.23761.109.camel@misato.fc.hp.com> <554143E0.7010305@hp.com> Date: Wed, 29 Apr 2015 14:36:47 -0700 Message-ID: Subject: Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida From: Dan Williams To: Linda Knippers Cc: Toshi Kani , "linux-kernel@vger.kernel.org" , Christoph Hellwig , "linux-nvdimm@lists.01.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2015 at 1:49 PM, Linda Knippers 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-