X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Timothy Madden Subject: Re: Wrong root directory Date: Fri, 17 Nov 2006 21:23:51 +0200 Lines: 54 Message-ID: References: <002f01c70983$76efc7e0$a501a8c0 AT CAM DOT ARTIMI DOT COM> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: <002f01c70983$76efc7e0$a501a8c0@CAM.ARTIMI.COM> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dave Korn wrote: > On 16 November 2006 13:05, Timothy Madden wrote: > >> Hello >> >> Sorry if asking a known question. >> >> I have Cygwin NT-5.1 and many applications ported for Windows with >> Cygwin installed separately. I recently configured OpenSSH 3.8.1 as a >> service to start automaticaly with Windows, and since then the file >> -system root directory of my Cygwin installation is C:\Program >> Files\OpenSSH instead of C:\local\cygwin as before. > > Argh! You've installed some 3PP bundle of ssh and it's overwritten your > mountpoints! That is /seriously/ unfriendly. Where did you get this download > from? > >> How can I fix the mapping for the root folder ? > > Use the mount command. At a minimum, you'll need to have /, /usr/bin, and > /usr/lib mountpoints all pointing into the correct places in your old dir > structure. If you had attached your cygcheck output to the mail as it > describes on the problem-reporting page, we could have given you a full list > of what mountpoints you'd need to repair. > >> Where is the documentation for this ? > > In the cygwin user guide, and also the mount man/info pages. > > cheers, > DaveK Yeah, quite a bad image for Cygwin ... If you search Google for OpenSSH windows (since openssh.org has no windows port on site) you can find these links: http://sshwindows.sourceforge.net/ http://www.networksimplicity.com/openssh/ Maybe someone can talk to sites owners and kindly ask them to inform their visitors that cwRsyncServer also has a newer version of OpenSSH packaged for Windows (that unfortunately does not show up in Google). I did not thought that mount can change even the file-system root. Thank you for your information. What does 3PP mean ? As for the output from cygcheck, I am not on my work computer now. But if I restore the mount point for /, then would /usr/bin and /usr/lib not already get in place too ? Timothy Madden Romania -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/