delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/05/10:15:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BE6ACE4.9000205@cportcorp.com>
Date: Mon, 05 Nov 2001 10:14:44 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: Peter Rasmussen <raz AT zip DOT com DOT au>, cygwin AT cygwin DOT com
Subject: Re: user versus system mounts
References: <000201c16524$c2feefc0$020aa8c0 AT computer>

Peter-

I think the problem is that the user mount takes precedence over the 
system mount. This is a common problem- the system mount is eclipsed by 
the user mount. And the directions I gave you to use 
"/cygdrive/d/cygwin/umount -s /" won't remove a user mount (sorry). Try 
"/cygdrive/d/cygwin/umount /", I think that will remove the user mount, 
and then only the system mount will be visible, and things should work 
again.

HTH,
Peter

Peter Rasmussen wrote:

> Hello Peter
> 
> I'm real sorry about the previous email.  I just wasn't thinking about what
> I was really supposed to be doing.
> 
> Regardless the mount seems to look okay.
> D:\cygwin / system
> C:        / User
> 
> I tried "umount" anyway to see what effect it would have but I'm still
> unsure of the syntax.  I tried:
> /cygdrive/d/cygwin/bin/umount -s D:/cybwin
> /cygdrive/d/cygwin/bin/umount -s D:/cybwin /
> 
> and some other variations but I don't seem to be able to effect the mount.
> It always came back with the usage info and when I checked it with mount it
> always came up the same.
> 
> Cheers
> 
> Peter
> 
> -----Original Message-----
> From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
> To: Peter Rasmussen <raz AT zip DOT com DOT au>
> Cc: cygwin AT sourceware DOT cygnus DOT com <cygwin AT sourceware DOT cygnus DOT com>
> Date: Saturday, 3 November 2001 11:38
> Subject: Re: Command not found
> 
> 
> 
>>How did you uninstall/reinstall/relocate? Cygwin, when installed with
>>setup.exe, creates default mount tables that are stored in the registry
>>under HKLM/software/cygnus/...
>>
>>It could be that the mount values in the registry point to the old
>>location of your /usr/bin directory, and so when the path gets set when
>>you start a bash shell, it is looking in the wrong place and can't find
>>any commands.
>>
>>From a bash prompt, type
>>
> /cygdrive/c/place-you-reinstalled-cygwin/bin/mount
> 
>>It should tell you what the mount points are. If you see something like
>>
>>C:\Program Files\cygwin mounted to / type system
>>C:\Program Files\cygwin\bin mounted to /usr/bin type system
>>
>>Then you need to change your mount points. You can do this by typing the
>>full path to your new cygwin install to call "umount" and "mount" to
>>unmount the old stuff and mount the new, correct locations. I recommend
>>using mount -bs C:/cygwin /
>>this will mount in binary mode and make a system mount (important for
>>some programs). Note that for unmounting "type system" mounts, you type
>>"umount -s <mount-point>".
>>
>>HTH,
>>Peter
>>
>>Peter Rasmussen wrote:
>>
>>
>>>Hello
>>>
>>>Re: Command not found
>>>
>>>On uninstalling and reinstalling Cygwin in a new location on my computer
>>>various commands like ls, pwd, make info no longer work.
>>>
>>>I made the initial mistake of installing Cygwin in my "Program Files"
>>>directory.  On learning that it has a problem with spaces in the path
>>>
> name.
> 
>>>I relocated it.  Is there a directory log of some sort that I have to
>>>
> remove
> 
>>>to fix this?  What do you recommend?  My computer specifications are
>>>
> below.
> 
>>>Thanks for your time.
>>>
>>>Cheers
>>>
>>>Peter
>>>
>>>I am running:
>>>Windows 98 on
>>>Gateway
>>>333Mhz
>>>64 Mb Memory
>>>3.5 Gig hard drive (system)
>>>22 Gig hard drive (other)
>>>4MB ATI Rage Pro AGP Graphics Accelerator
>>>SoundBlaster Audio PCT 64V
>>>GVC 56K PCI modem
>>>
>>>
>>>
>>>--
>>>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/
>>>
>>>
>>>
>>
> 


-- 
-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


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