[PATCH V2 0/1] nvme: introduce generic per-namespace chardev

Niklas Cassel Niklas.Cassel at wdc.com
Wed Apr 7 08:36:22 BST 2021


On Tue, Apr 06, 2021 at 04:59:48PM +0200, Christoph Hellwig wrote:
> On Tue, Apr 06, 2021 at 10:35:33PM +0900, Minwoo Im wrote:
> > > with e.g. fdisk, mkfs, mount, in fstab, what to specify in fstab, etc.
> > > 
> > > I think that there is value in reducing the confusion for regular users.
> > 
> > Agreed on this point.  We might have thousands of namespaces and it
> > might be making confusions to users.
> 
> How does this create a confusion that it doesn't for the existing NVMe
> block devices and the SCSI disk and generic devices?

The SCSI generic devices are named /dev/sgX while the SCSI block devices
are named /dev/sd*, so the names are more distinct compared to /dev/nvme*
and /dev/nvme-generic-*.

A "regular" Linux user who writes /dev/sd<tab> will not see the SCSI
generic devices, but with the current proposal, if he writes
/dev/nvme<tab>, he will see the NVMe generic devices.

I just had a gut feeling that this could cause confusion in the future.
However, I trust your experience and judgement more than my gut feeling.


Kind regards,
Niklas


More information about the Linux-nvme mailing list