delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/10/12:35:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 10 Dec 2004 12:34:54 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: sshd in Windows 2003 server
In-Reply-To: <41B9DBC5.AEF927BA@dessent.net>
Message-ID: <Pine.GSO.4.61.0412101232040.26044@slinky.cs.nyu.edu>
References: <41B86015 DOT 2050406 AT scytl DOT com> <41B8630B DOT 5050706 AT scytl DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0412091218120 DOT 3354 AT orne> <41B9D414 DOT 0 AT scytl DOT com> <41B9D74C DOT 9000203 AT scytl DOT com> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20041210120503 DOT 047e7b90 AT pop DOT prospeed DOT net> <41B9DBC5 DOT AEF927BA AT dessent DOT net>
MIME-Version: 1.0

On Fri, 10 Dec 2004, Brian Dessent wrote:

> Larry Hall wrote:
> >
> > The shortcut for all of that process is to run the below:
> >
> > mount -f -s -b "<DOS path to Cygwin installation directory>/bin" "/usr/bin"
> > mount -f -s -b "<DOS path to Cygwin installation directory>/lib" "/usr/lib"
> > mount -f -s -b "<DOS path to Cygwin installation directory>" "/"
> >
> > FWIW, following the reporting guidelines at <http://cygwin.com/problems.html>
> > would have given the list this information in your initial post.  In other
> > words, there's good stuff at this page. :-)
>
> hmm... what if there was a simple shell script added to base-files, such
> as "mksysmounts" (and corresponding "mkusermounts" too I suppose) that
> would change any system mounts to user mounts, and vice versa.  (Or
> perhaps a single script with several options.)  Then the response to "I
> installed 'For me only'" would be "just run mksysmounts" instead of
> "reinstall" or "modify these paths as appropriate and run these
> commands".

Good idea.  I'd call the scripts "remount_as_system" and "remount_as_user"
or something...  And I would also use the

eval "`mount -m | sed ...`"

trick that I posted earlier, instead of hard-coding the paths into the
scripts.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

- Raw text -


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