Mail Archives: cygwin/2001/11/05/10:15:20
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 -