Mail Archives: cygwin/2000/01/12/10:11:25
------_=_NextPart_001_01BF5D0F.843F6324
Content-Type: text/plain
Hello,
I am having difficulty getting cygwin to reference files that cross
cygwin mount points. In a variety of different scenarios, I am
receiving "No such file or directory" messages. I first started
seeing this, trying to resolve a perl script from a networked drive.
Later, I discovered that I could receive the same error (presumably)
from the tar command ... a more isolated environment ... eliminating
perl from the equation.
Back on 1/2/2000 Steven N. Hirsch highlighted what I believe is the
same problem ... but I have not seen any resolution to his inquiry.
Steven attributed this to the CD version, but I am having the problem
with a copy downloaded from the web.
I am running cygwin 20.1 on NT 4.00.1381.
Here is a scenario that very simply highlights the problem:
My current mounts are as follows:
SYS915:/> mount
Device Directory Type Flags
q:\CoeDI /coe native text!=binary
C: / native text!=binary
Note 1: Drive q: is network mounted to \\sys724\SuiteSpot.
Note 2: I have tried performing mounts directly to \\sys724\SuiteSpot
with the same results.
Note 3: I have a /tmp directory
Note 4: I have a /bin with a copy of sh.exe
If I do a tar of the network mount, where it is fully qualified
(i.e. /coe/src) it works fine ...
SYS915:/> tar cvf ~/temp.tar /coe/src
tar: Removing leading `/' from absolute path names in the archive
coe/src/
coe/src/com/
coe/src/com/agedwards/
coe/src/com/agedwards/coe/
coe/src/com/agedwards/coe/tempProj1/
coe/src/com/agedwards/coe/tempProj1/makefile
coe/src/com/agedwards/coe/tempProj1/Temp1.java
... etc.
However, if my tar of the network mount is relative (i.e. coe/src)
... crossing mount points, I receive the "No such file or directory"
errors:
SYS915:/> tar cvf ~/temp.tar coe/src
coe/src/
coe/src/com/
coe/src/com/agedwards/
coe/src/com/agedwards/coe/
coe/src/com/agedwards/coe/tempProj1/
tar: Cannot add file coe/src/com/agedwards/coe/tempProj1/makefile: No
such file or directory
tar: Cannot add file coe/src/com/agedwards/coe/tempProj1/Temp1.java: No
such file or directory
... etc.
Any help and/or insight would be greatly appreciated.
Thanks,
Kevin
********************************
Kevin Bridges
email: Kevin DOT Bridges AT agedwards DOT com
********************************
--------------------------------------------------------------------------------------------
Notice: Since e-mail messages sent between you and A.G. Edwards & Sons, Inc. ("AGE") and its employees are transmitted over the Internet, AGE cannot assure that such messages are secure. You should be careful in transmitting information to AGE that you consider confidential. If you are uncomfortable with such risks, you may decide not to use e-mail to communicate with AGE. Although you may be sending an e-mail message to a specific AGE employee, other AGE employees may review such messages. Additionally, your e-mail messages to AGE may, consistent with AGE's regulatory requirements and retention policies, be retained. You should also be aware that e-mail messages may be delayed or undelivered. AGE does not accept orders to effect transactions or other similar instructions through e-mail messages.
--------------------------------------------------------------------------------------------
------_=_NextPart_001_01BF5D0F.843F6324
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2448.0">
<TITLE>Crossing Mount Point Problem ... "no such file" errors</TI=
TLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am having difficulty getting cygwin to r=
eference files that cross</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">cygwin mount points. In a variety o=
f different scenarios, I am</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">receiving "No such file or directory=
" messages. I first started</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">seeing this, trying to resolve a perl scr=
ipt from a networked drive.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Later, I discovered that I could receive =
the same error (presumably)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">from the tar command ... a more isolated =
environment ... eliminating</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">perl from the equation.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Back on 1/2/2000 Steven N. Hirsch highligh=
ted what I believe is the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">same problem ... but I have not seen any =
resolution to his inquiry.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Steven attributed this to the CD version,=
but I am having the problem</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">with a copy downloaded from the web.</FON=
T>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am running cygwin 20.1 on NT 4.00.1381.<=
/FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Here is a scenario that very simply highli=
ghts the problem:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">My current mounts are as follows:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> SYS915:/> mount</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> Device &nbs=
p; &=
nbsp; Directory Type Flags</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> q:\CoeDI &n=
bsp; /coe=
native text!=3Dbinary</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> C: &n=
bsp;  =
; / =
native text!=3Dbinary</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Note 1: Drive q: is network mounted to \\s=
ys724\SuiteSpot.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Note 2: I have tried performing mounts di=
rectly to \\sys724\SuiteSpot </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  =
; with the same results.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Note 3: I have a /tmp directory</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Note 4: I have a /bin with a copy of sh.e=
xe</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">If I do a tar of the network mount, where =
it is fully qualified</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(i.e. /coe/src) it works fine ...</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> SYS915:/> tar cvf ~/temp.t=
ar /coe/src</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> tar: Removing leading `/' fr=
om absolute path names in the archive</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/coe/</=
FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/coe/te=
mpProj1/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/coe/te=
mpProj1/makefile</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/coe/te=
mpProj1/Temp1.java</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> ... etc.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">However, if my tar of the network mount is=
relative (i.e. coe/src)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">... crossing mount points, I receive the =
"No such file or directory"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">errors:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> SYS915:/> tar cvf ~/temp.=
tar coe/src</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/coe/</=
FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> coe/src/com/agedwards/coe/te=
mpProj1/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> tar: Cannot add file coe/src=
/com/agedwards/coe/tempProj1/makefile: No such file or directory</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> tar: Cannot add file coe/src=
/com/agedwards/coe/tempProj1/Temp1.java: No such file or directory</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> ... etc.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Any help and/or insight would be greatly a=
ppreciated.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Kevin</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Tahoma">********************************</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Kevin Bridges</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma"> email: Kevin DOT Bridges AT agedwards DOT co=
m</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">********************************</FONT>
</P>
<CODE><FONT SIZE=3D3><BR>
<BR>
---------------------------------------------------------------------------=
-----------------<BR>
Notice: Since e-mail messages sent between you and A.G. Edwards & Sons, Inc=
. ("AGE") and its employees are transmitted over the Internet, AGE cannot a=
ssure that such messages are secure. You should be careful in transmitting =
information to AGE that you consider confidential. If you are uncomfortable=
with such risks, you may decide not to use e-mail to communicate with AGE.=
Although you may be sending an e-mail message to a specific AGE employee, =
other AGE employees may review such messages. Additionally, your e-mail mes=
sages to AGE may, consistent with AGE's regulatory requirements and retenti=
on policies, be retained. You should also be aware that e-mail messages may=
be delayed or undelivered. AGE does not accept orders to effect transactio=
ns or other similar instructions through e-mail messages.<BR>
---------------------------------------------------------------------------=
-----------------<BR>
</FONT></CODE></BODY>
</HTML>
------_=_NextPart_001_01BF5D0F.843F6324--
- Raw text -