delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <47FEC98F.A115F52E@dessent.net> |
Date: | Thu, 10 Apr 2008 19:14:39 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Restoring text mode on a mount. How? |
References: | <loom DOT 20080411T000704-563 AT post DOT gmane DOT org> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Andrey Tarasevich wrote: > So the question that I'm trying to ask is why doesn't it work without re- > installation of Cygwin? Why does it interpret scripts from re-mounted textmode > mount as binary files? Is there a way to get back to the original freshly- > installed Cygwin textmode behavior without actually re-installing it? Paste the entire contents of the mount table. The mode that is in effect for a given file is a function of which mount table entry the filename matched. For example, there can be both user and system entries for cygdrive or any other mount. Also, the mode of the cygdrive mount only matters for things accessed through that mount, not e.g. /usr/local/bin/foo. So in other words, you have to consider the table as a whole; show us the entire contents as well as the filename under which you access the file. The setup program does nothing but edit the mounts in the table, there is nothing special about it, and everything it does can be reproduced with the "mount" command. If you select "just me" it edits user-mode mounts, if you select "everybody" it edits system-mode mounts. Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |