[Mingw-msys] POSIX names for drive letters

Schwarz, Konrad konrad.schwarz@siemens.com
Fri Sep 1 07:37:00 GMT 2006

> >> By the way, any idea why //localhost/C$ doesn't work?

> > do you have
> > localhost
> > in your hosts file ?

Yes, localhost is in %SystemRoot%\System32\etc\drivers\hosts.
>   No, I don't think that's it.  This is netbios name 
> resolution and DNS doesn't come into it; it's resolved by 
> broadcasting a udp datagram with the desired netbios name and 
> seeing if anyone in the local network jumps up and claims it. 
>  It would be bad if every machine on the network all claimed 
> to be 'localhost' at the same time!

I think you're right:

$ ls //localhost/C$
ls: //localhost/C$: Given log. name not unique
$ nslookup localhost
Server:  mail2.siemens.de

Non-authoritative answer:
Name:    localhost.ww002.siemens.net


which is weird, I shouldn't have thought that nslookup return a positive
answer at all, and especially not a fully-qualified name.


Konrad Schwarz

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list