Messages in this thread | | | From | (Bernd Eckenfels) | Subject | Re: [PATCH] Add compile domain | Date | Sat, 27 May 2006 04:19:09 +0200 |
| |
Lennart Sorensen <lsorense@csclub.uwaterloo.ca> wrote: > would ever want to do so). Putting the FQDN as my hostname, makes > hostname -f act very strange. I think a number of tools think doing it > is wrong.
no hostname -f will deal well with a FQDN gethostname() as long as your resolver (i.e. /etc/hosts) is setup according to the man page:
> hostname -fv gethostname()='calista.eckenfels.net' Resolving 'calista.eckenfels.net' ... Result: h_name='calista.eckenfels.net' Result: h_aliases='calista' Result: h_aliases='eckenfels.net' Result: h_addr_list='10.0.0.3' calista.eckenfels.net
Gruss Bernd - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |