delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/02/10:49:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 2 Dec 1999 10:48:31 -0500
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Cc: "Timothy I. McGinnis" <tmcginnis AT synertechsystems DOT com>,
cygwin AT sourceware DOT cygnus DOT com
Subject: Re: New install problems
Message-ID: <19991202104831.B864@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Earnie Boyd <earnie_boyd AT yahoo DOT com>,
"Timothy I. McGinnis" <tmcginnis AT synertechsystems DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <19991202141844 DOT 11453 DOT qmail AT web109 DOT yahoomail DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <19991202141844.11453.qmail@web109.yahoomail.com>; from earnie_boyd@yahoo.com on Thu, Dec 02, 1999 at 06:18:44AM -0800

On Thu, Dec 02, 1999 at 06:18:44AM -0800, Earnie Boyd wrote:
>--- "Timothy I. McGinnis" <tmcginnis AT synertechsystems DOT com> wrote:
>> I'm new to cygwin, I come from a Unix background, so I am lost on windows.
>> 
>> So please forgive my ignorance.
>> 
>> I have tried to install the cygwin full.exe on both 95 and NT 4.0 SP4.  I
>> would like to set up cygwin so when I bring up the bash shell it maps my
>> root to d:/unix.  I believe I am following the Users Guide properly.  After
>> installing cygwin I start the bash shell and it comes up fine.  I unmount
>> root and remount it using "mount //d/unix /".  It gives me the expected
>> error message that / does not exist.  I then exit out of bash and restart
>> it.  Now on the 95 box when I try to change to / I get the error message
>> 'cd /: No such device'.
>> 
>> On the NT 4.0 box I do the same thing and when I restart bash the cursor
>> just sits there for a minute or so then it gives me a prompt.  If I try to
>> do anything it hangs for a minute or so then gives me a prompt.
>> 
>> Any ideas what I am doing wrong?
>
>Yep.  The follow bash command should work:
>
>Bash# cd /dir/containing/umount && ./umount / && ./mount 'd:\unix' /
>
>The way you did it, Cygwin tries to resolve //d/unix to a host named d with a
>shared directory named unix.  While you're at it, check out my webpages.

In Cygwin v1.0 (only available on CD, currently <but I'm working on that>)
mount has a "-f" option to force a mount, so you can do this, too:

mount -f d:\unix /

FWIW, this mount command is also available in the latest cygwin snapshots.

cgf

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