From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Date: Thu, 23 Mar 2006 17:11:02 +0000 Subject: Re: RFC: InfiniBand hotplug agent Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Greg> Why does your drivers care about the hostname? The kernel Greg> already knows this information anyway... As I explained before, this script puts the hostname in the InfiniBand "node description," which is retrieved by various IB network management tools. It makes the output of these tools much easier to read, since you can see things like "node1 (CA)" and "node2 (CA)" in the network management tools instead of just two copies of "CA". Yes, I could modify the driver to look at system_utsname and pick a way to format that. But that suffers from the problem of putting policy in the kernel (who picks the format for node descriptions?), although that's minor. And we still have the problem of what to do before the hostname is set -- put "(none)" in our node description? Anyway, do you think just having this node description setting in the kernel is the best way to go? Thanks, Roland ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel