From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH] infiniband-diags: Remove Red Hat-ism. Date: Tue, 4 Dec 2012 11:11:31 -0700 Message-ID: <20121204181131.GC21196@obsidianresearch.com> References: <1354566498-8364-1-git-send-email-jonstanley@gmail.com> <20121203223547.GA3410@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Garrett Cooper Cc: Jon Stanley , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Doug Ledford , Ira Weiny List-Id: linux-rdma@vger.kernel.org On Tue, Dec 04, 2012 at 08:31:19AM -0800, Garrett Cooper wrote: > Calling ``newname=$(hostname)`` would be better (assuming that the > network was setup enough where one could get this information). Calling hostname is always preferred to mucking about with files in /etc/. hostname never requires the network, hostname -f might sometimes. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html