This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: [Mingw-msys] POSIX names for drive letters
- From: "Schwarz, Konrad" <konrad dot schwarz at siemens dot com>
- To: "Dave Korn" <dave dot korn at artimi dot com>, <cygwin at cygwin dot com>
- Date: Fri, 1 Sep 2006 09:37:15 +0200
- Subject: RE: [Mingw-msys] POSIX names for drive letters
> >> By the way, any idea why //localhost/C$ doesn't work?
> > do you have
> > 127.0.0.1 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
Address: 139.25.208.11
Non-authoritative answer:
Name: localhost.ww002.siemens.net
Address: 127.0.0.1
$
which is weird, I shouldn't have thought that nslookup return a positive
answer at all, and especially not a fully-qualified name.
Regards,
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/