This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Bad Address with /cygdrive paths
- From: Barry Roberts <manithree at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 12 Oct 2015 18:59:40 -0600
- Subject: Bad Address with /cygdrive paths
- Authentication-results: sourceware.org; auth=none
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