[Mingw-msys] POSIX names for drive letters
Fri Sep 1 07:37:00 GMT 2006
> >> 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
which is weird, I shouldn't have thought that nslookup return a positive
answer at all, and especially not a fully-qualified name.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin