[lkml]   [2006]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...)
    On Thu, May 25, 2006 at 07:54:06PM +0100, Alistair John Strachan wrote:
    > This is probably a broken configuration, but it would cause a regression for
    > me:
    > [alistair] 19:53 [~] hostname
    > damocles
    > [alistair] 19:52 [~] hostname --fqdn
    > localhost
    > "localhost" isn't very descriptive if I'm trying to figure out which machine a
    > dmesg came from.

    rceng02:~# hostname
    rceng02:~# hostname -f
    rceng02:~# head -1 /etc/hosts rceng02.eng.lan localhost.localdomain localhost

    I always thought that was how it worked. The first hostname in
    /etc/hosts on the line containing the short name was used as the FQDN.
    Maybe that is only a gnu hostname thing. I seem to recall solaris had a
    domainname file that was used to find the domain part of the FQDN

    Len Sorensen
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-05-25 22:31    [W:0.028 / U:12.784 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site