Re: [PATCH 1/3] [RFC] genhd: add a new attribute in device structure

From: Greg KH
Date: Fri Jun 17 2011 - 01:26:59 EST


On Thu, Jun 16, 2011 at 04:31:29PM -0400, James Bottomley wrote:
> > So again, I really don't like this, just fix the userspace tools to map
> > the proper device name that the kernel is using to the userspace name
> > the tool used, and all is fine. This has been done already today,
> > succesfully, by many of the big "enterprise" monitoring systems that
> > work quite well on Linux, proving that this is not something that the
> > kernel needs to provide to implement properly.
>
> Well, it's expediency. Sure we could try to patch the world, but I
> think the simple patch of getting the kernel to print a preferred name
> solves 90% of the problem. Sure there is a long tail of userspace
> components that needs fixing, but that can be done gradually if we take
> the kernel route. If we go the userspace route, it will be a long while
> before we even get to 50% coverage.

I do not think that just because some people feel it is easier to change
the kernel than change userspace tools, that we are somehow forced to
accept their changes.

As for "expediency", it has been a full year since the last time this
was proposed. All userspace tools that would need to be changed to
implement this in userspace have had updates released for them in that
year, and the changes needed to make to them could have been done
already.

So any argument about "quickness" here which requires a kernel change
instead of fixing userspace programs is totally false, sorry.

greg k-h
--
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/