Re: [PATCH] Add compile domain

From: Måns Rullgård
Date: Thu May 25 2006 - 17:43:31 EST


"Martin J. Bligh" <mbligh@xxxxxxxxxx> writes:

>> 20:35 mason:/etc # rpm -qf `which hostname`
>> net-tools-1.60-37
>> 21:00 mason:/etc # hostname -v
>> gethostname()=`mason'
>> mason
>> 21:00 mason:/etc # hostname --fqdn
>> mason
>> 21:00 mason:/etc # domainname
>> (none)
>> 21:00 mason:/etc # dnsdomainname
>> Runs Aurora Linux 2.0.
>
> Ubuntu does this too:
>
> mbligh@flay:~$ hostname
> flay
> mbligh@flay:~$ hostname --fqdn
> localhost.localdomain

Gentoo:

mru@agrajag:~$ hostname
agrajag
mru@agrajag:~$ hostname --fqdn
agrajag.inprovide.com
mru@agrajag:~$ hostname --version
net-tools 1.60
hostname 1.100 (2001-04-14)

--
Måns Rullgård
mru@xxxxxxxxxxxxx

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