X-Spam-Check-By: sourceware.org Date: Tue, 22 Aug 2006 20:03:38 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: running cygwin from file server Message-ID: <20060823000338.GA25238@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200608222349 DOT k7MNnhhF002712 AT sd DOT skydive1 DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608222349.k7MNnhhF002712@sd.skydive1.com> User-Agent: Mutt/1.5.11 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 On Tue, Aug 22, 2006 at 01:49:43PM -1000, Richard Foulk wrote: >Aloha, > >I've installed Cygwin on a file server common to a large number of >clients. This allows various tools and scripts to be run on any >of the clients without cluttering them with their own installations. > >Occasionally it would be nice to obtain a quick interactive shell >environment on one of the clients, including having /tmp, /etc and >others in place on the server partition. Preferrably without leaving >a lasting trace on the client. Perhaps by invoking a single batch file >from the server partition. > >Is there a quick, easy, or already done, way of doing this? You could just write a .bat file which used the "mount" command to point /tmp and / to appropriate places, run bash, and then umount those settings after bash was run, e.g.: mount -u -f -b c:\windows\temp /tmp mount -u -f -b \\file\server\cygwin / bash umount -u /tmp umount -u / It actually would be possible, without too much work, to make a "transient" type of mount which would not show up in the registry but only exists as long as a user is using cygwin. I might discuss this with Corinna to see if that's something worth pursuing. -- Christopher Faylor spammer? -> aaaspam AT sourceware DOT org Cygwin Co-Project Leader aaaspam AT duffek DOT com TimeSys, Inc. -- 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/