Re: [PATCH] Add compile domain

From: Äsmail DÃnmez
Date: Thu May 25 2006 - 14:52:21 EST


Linus Torvalds wrote On 25-05-2006 21:47:

On Thu, 25 May 2006, Jan Engelhardt wrote:
# hostname --fqdn
shanghai.hopto.org

Ahh. I wonder how portable this is. We could certainly make the kernel build use "hostname --fqdn" if that works across all versions.

That code hasn't changed in a looong time, and I suspect that "--fqdn" didn't exist back when..

Doesn't work here :

cartman@southpark ~ $ hostname --fqdn
hostname: invalid option -- -
Try `hostname --help' for more information.
cartman@southpark ~ $ hostname --version
hostname (GNU coreutils) 5.96
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering.

This is the latest version of coreutils available.

/ismail
-
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/