delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/10/15:57:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 10 Feb 2002 15:57:15 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: at + bash
Message-ID: <20020210205715.GG32682@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200202091606 DOT g19G6Tr04760 AT otaku DOT freeshell DOT org> <3C6579B3 DOT F36208EC AT the-means DOT net> <20020210013332 DOT GS25500 AT redhat DOT com> <3C669DA3 DOT F58057CA AT iee DOT org>
Mime-Version: 1.0
In-Reply-To: <3C669DA3.F58057CA@iee.org>
User-Agent: Mutt/1.3.23.1i

On Sun, Feb 10, 2002 at 04:19:47PM +0000, Don Sharp wrote:
>
>
>Christopher Faylor wrote:
>> 
>> On Sat, Feb 09, 2002 at 02:34:11PM -0500, David Means wrote:
>> >Try:
>> >
>> >mkdir /tmp
>> >
>> >mount /cygdrive/c/tmp /tmp
>> 
>> Uh, no.  There is no need for the mount command.  It will royally confuse
>> things if you use it.
>> 
>
>Why Chris? I have been using the following mounts for longer tha I care
>to remember?

Take a moment and look at the above command.  Do you see anything wrong
with it?

And, also think about the fact that you are supposed to have a root directory
and it is supposed to already have a /tmp underneath it.

If you didn't have something like that the "mkdir /tmp" would be adequate
to create a /tmp.  Attempting to also use a mount is superfluous.  If the
above mount command actually did something it would just confuse things.

>$ mount
>G:\bin on /usr/bin type system (binmode)
>G:\lib on /usr/lib type system (binmode)
>c:\tmp on /tmp type system (binmode)
>^^^^^^^^^^^^^^

So, you have no root.  That's fine.  You have the flexibility to do this if
you don't want a root directory.

However, the person reporting the original problem undoubtedly didn't want
to be in this situation.  Most likely, he hadn't chosen the "set mounts
for everybody" (or whatever it is called) option in setup.exe and just
needed to be directed to the "mount -s" command to rectify his mistake.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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