Where is the hostname stored? I have a Macbook Pro with 10.7 installed on it, 
first repartitioned and reformatted. It previously had Fedora 16 on it, with a 
hostname of f16.local.

Yet despite repartitioning and reformatting and clean installing 10.7, the 
command prompt in terminal is:
f16:~ chris$

When I type hostname, the reply is:
f16

When I go to System Preferences>Sharing the "Computer Name" is mbp4. With file 
sharing enabled, other computers see mbp4 as the bonjour name. ssh to f16.local 
does not resolve, but mbp4.local does resolve. If I change the Computer Name, 
it is not changed in Terminal's command prompt until the computer is restarted, 
and now it appears to be in parity with the hostname found elsewhere.

But initially it picked up the hostname from a completely different operating 
system? Despite disk partitioning and reformatting?

Chris Murphy
_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to