delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/23/15:18:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <75F8791C7793D211B64D080036DE1504151C75@milton.sonosight.com>
From: "Stewart, Wayne" <wayne DOT stewart AT sonosite DOT com>
To: "Stewart, Wayne" <wayne DOT stewart AT sonosite DOT com>,
"'Suhaib M. Siddiqi'"
<Ssiddiqi AT InspirePharm DOT Com>,
"'cygwin AT sourceware DOT cygnus DOT com'"
<cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: HELP! - Please
Date: Fri, 23 Apr 1999 12:12:13 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

Suhaib,

With respect to question #3 below (my original problem),
your suggestions do not appear to make a difference:

bash$ cmd.exe /c 'dir C:\D'
 Volume in drive C has no label.
 Volume Serial Number is 4036-DAAB

 Directory of C:\D

04/23/99  11:38a        <DIR>          .
04/23/99  11:38a        <DIR>          ..
               2 File(s)              0 bytes
                          1,986,461,696 bytes free
bash$ mount
Device           Directory           Type        Flags
d:               /d                  native      text!=binary
C:               /                   native      text!=binary
bash$ cat /tmp/junk
#!/bin/sh

echo "Test executing a shell script from cygtclsh80"
bash$ /tmp/junk
Test executing a shell script from cygtclsh80
bash$ cygtclsh80
% /tmp/junk
couldn't execute "\tmp\junk": no such file or directory
% exec /tmp/junk
couldn't execute "\tmp\junk": no such file or directory
% exit
bash$

> -----Original Message-----
> From: Stewart, Wayne 
> Sent: Friday, April 23, 1999 11:46 AM
> To: 'Suhaib M. Siddiqi'; Stewart, Wayne; cygwin AT sourceware DOT cygnus DOT com
> Subject: RE: HELP! - Please
> 
> 
> 
> > > bash$ mount -b c: /cb
> > > Warning: /cb does not exist!
> > 
> > Are you trying to mount C: on "cb" ithout creating a cb
> > directory?  
> > 
> > If so this will fail under UNIX too.
> > 
> 
> I know it fails under UNIX, but under Cygwin it
> just gives a warning - and things appear to work
> OK afterwards, despite the warning.  If Cygwin
> requires a directory to exist prior to the mount
> in order to function properly, then this should
> be an error (as on UNIX) and not a warning.
> 
> So now we have 3 questions:
> 
> 1) Do you need a directory to exist before
>    mounting on the directory (like UNIX), if so,
>    why just a warning?
> 
> 2) If you have a drive mounted twice onto two
>    different directories (e.g. one with text=binary
>    and the other with text!=binary), how does the
>    system decide what tree you're in?  Order of
>    mount entries in registry?  Always picks the
>    binary tree?
> 
> 3) My original cygtchsh80 problem.  Can anyone
>    else reproduce it?  (It's simple to try to
>    reproduce.)  If not, what could be different
>    in my Cygwin setup?  mounts?  installing on
>    D: ?  something else?
> 
> Thanks,
>     Wayne
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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