delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/01/03:37:34

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: [Mingw-msys] POSIX names for drive letters
Date: Fri, 1 Sep 2006 09:37:15 +0200
Message-ID: <ECDC9C7BC7809340842C0E7FCF48C393EFCCD7@MCHP7IEA.ww002.siemens.net>
In-Reply-To: <047101c6cc4d$9dd751c0$a501a8c0@CAM.ARTIMI.COM>
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>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k817bU2W031462

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019