delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/12/21:00:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=hw1cEMx+g6m+88oasxnQbzyP4xTww
Zvg+vZGAwbZPUgd6RwzqSvylHWLVL9+028tY5O/97cBBzPILbYSukL+JUku6R/a9
JEij0QkfLWePic/uf1cq2AHYYumQbXFw06yo5SulQ88cxQ1lJfvSyZJTofDnhDxf
pATBpYQ8IpBNik=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=vZ5jOivdOmxOysLIiVbKrwK1VWQ=; b=CwV
3ER5mNGZWoeDiwMP5p9dBTZxKmbWlZ4x/X/LHwVINDkRsem2VQdAYkJwos+BVs+Y
PYnkpGPK7/hbayOCyDKdFLshiCYkDy8cIkyMAtgxV2JpXnGsjWXFo0klwBTu+I5a
0nZ3kUia1QX+Wkq9E0kroN7Iuoev/9L6GBAas6LE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f169.google.com
MIME-Version: 1.0
X-Received: by 10.50.2.67 with SMTP id 3mr14923073igs.19.1444697980330; Mon, 12 Oct 2015 17:59:40 -0700 (PDT)
Date: Mon, 12 Oct 2015 18:59:40 -0600
Message-ID: <CAD-6W7bG+onWNhS31gRJ0YK589nLPpsnRo2RCth4JtOVPR6DHw@mail.gmail.com>
Subject: Bad Address with /cygdrive paths
From: Barry Roberts <manithree AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I've used cygwin for lots of years, and this is kind of weird to me.
My operations guys set up some Windows Server 2012 R2 servers with
Cygwin x86-64 2.2.1.

There's a CIFS mount (from an HNAS) that I use a lot that is giving me
problems.  For example:

$ ls /cygdrive/m/install
ls: cannot access /cygdrive/m/install: Bad address

But:
$ ls m:/install

Works just great.

Using /cygdrive/m I can list the contents of the root of the drive,
but I can't read any files.  And any subdirectory just gives me the
"Bad address" error.   Everything (except completion) works just fine
with m:/ paths.

This isn't a huge deal.  I mostly use cygwin on these servers to
manage them with scripts, so I've changed my configuration variables
to <drive letter>: paths and everything seems to work.  But I did
spend nearly half a day figuring this out, so I'm curious if there's a
configuration problem or a known issue that my searches haven't
uncovered yet.

Thanks,
Barry Roberts

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

- Raw text -


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