delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/06/14:53:24

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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=ujV
IUZsrBKdpIEfZigW3M3RJ9n7S6ITaYJJ+xwFCxklqNG/42nzsqY68sPObrbHkrh5
CdJ+qbeuLTWTYnxCKMuuKTatFLXr/zHj+HxLkcRRDTNrhL/rYzWZilO8dP/WCDuK
5MNR+QqFq0wO2ylkWQITA2KjRO5JoXFne+p2MLBE=
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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=HUMO1rbvl
bbVEPglYVtwcWFd0T4=; b=rUwbvhqcbKrsn64uil2I7U0Vp8fL9T5Qi25wf1JBl
BxtPV94DsoecDTgbRr2kocpwA2kOGAs1WFOtvU1xbXAnrKYb1gbMHvb5lQ8g/HvA
1wKbfFFrB29gLymXS0DBKKlw23fUTtEmJ2JGDFQk3w+aIPqKarQWSjwzOAg9uj1l
6w=
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=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.tlinx.org
Message-ID: <53920E0C.4010109@tlinx.org>
Date: Fri, 06 Jun 2014 11:53:00 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: cygwin drops cygprefix too often (very repeatable)
X-IsSubscribed: yes

I have my cygprefix set to '/' (normally) and everything
works from there.

But I noticed a problem now (didn't used to happen when
we were '32 bit only)..

but when I am in *Explorer", I had an option to open a bash shell
at the current location.

I modified that slightly to give 2 options bash32 or bash64.

Both have similar oprobs but slightly different error messages.

1 problem is that my mount prefix being ignored for drive C:

Normally, my mounts look like:
law.Bliss> mount
C:/bin on /usr/bin type ntfs (binary,auto)
C:/lib on /usr/lib type ntfs (binary,auto)
C: on / type ntfs (binary,auto)
B: on /b type smbfs (binary,user,noumount,auto)
D: on /d type smbfs (binary,user,noumount,auto)
E: on /e type udf (binary,user,noumount,auto)
H: on /h type smbfs (binary,user,noumount,auto)
I: on /i type smbfs (binary,user,noumount,auto)
M: on /m type smbfs (binary,user,noumount,auto)
P: on /p type smbfs (binary,user,noumount,auto)
S: on /s type smbfs (binary,user,noumount,auto)
T: on /t type smbfs (binary,user,noumount,auto)
law.Bliss> mount -p
Prefix              Type         Flags
/                   user         binmode
-----------------
When I invoke from explorer the path is messed up, likely because
of the cygprefix being corrupted.
Path looks like this:
/t/Library/2013Q4> echo $PATH
/Users/law.Bliss/bin/lib:.:/t/prog64/vim:/t/bin:/t/sbin:/c/prog/sysinternals/cmd:
...:/usr/local/bin:/Users/law.Bliss/bin:/etc/local/func_lib
---
Problem is seen on 1st line '/t/{prog64,bin,sbin} should all be off of
drive 'c'.  My mounts are now:
/t/Library/2013Q4> mount
C:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin64/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin64 on / type ntfs (binary,auto)
B: on /b type smbfs (binary,posix=0,user,noumount,auto)
C: on /c type ntfs (binary,posix=0,user,noumount,auto)
D: on /d type smbfs (binary,posix=0,user,noumount,auto)
E: on /e type udf (binary,posix=0,user,noumount,auto)
H: on /h type smbfs (binary,posix=0,user,noumount,auto)
I: on /i type smbfs (binary,posix=0,user,noumount,auto)
M: on /m type smbfs (binary,posix=0,user,noumount,auto)
P: on /p type smbfs (binary,posix=0,user,noumount,auto)
S: on /s type smbfs (binary,posix=0,user,noumount,auto)
T: on /t type smbfs (binary,posix=0,user,noumount,auto)
/t/Library/2013Q4> mount -p
Prefix              Type         Flags
/                   user         binmode

Notice the artificial mounts placed by cygwin are all wrong
and the path is corrupt:

/t/Library/2013Q4> ls
bash: ls: command not found

/etc/fstab has:
# For a description of the file format, see the Users Guide
# http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table

none / cygdrive binary,posix=0,user 0 0

Why are my mounts being change and, more importantly, how might
I fix this?


Thanks!

p.s. uname -a:
CYGWIN_NT-6.1 Athenae 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin




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