www.delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <425A9103.2070602@tu-bs.de> |
Date: | Mon, 11 Apr 2005 17:00:19 +0200 |
From: | Sebastian Schuberth <s DOT schuberth AT tu-bs DOT de> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
References: | <425A74F1 DOT 4040906 AT tu-bs DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0504110944330 DOT 3740 AT slinky DOT cs DOT nyu DOT edu> <425A81B8 DOT 7080001 AT tu-bs DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0504111005590 DOT 3740 AT slinky DOT cs DOT nyu DOT edu> |
In-Reply-To: | <Pine.GSO.4.61.0504111005590.3740@slinky.cs.nyu.edu> |
X-SA-Exim-Connect-IP: | 83.236.129.242 |
X-SA-Exim-Mail-From: | s DOT schuberth AT tu-bs DOT de |
Subject: | Re: Change Default Text File Format after installation |
X-Spam-Checker-Version: | SpamAssassin 3.0.2 (2004-11-16) on europa.cg.cs.tu-bs.de |
X-Spam-Stars: | |
X-Spam-Level: | |
X-Spam-Status: | No, score=-5.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.2 |
X-SA-Exim-Version: | 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) |
>>>In the mount table. See "man mount". Google for "cygwin remount binary" >>>for a handy one-liner. >> >>Thanks. The default mounts seem to be encoded in the Windows registry, as >>there is not fstab. > > By "default mounts", do you mean the /cygdrive auto-mounts? Yes, all mounts that are there after a fresh install of Cygwin. >>It also seems I need to change the flags in a key named "cygdrive flags" >>if I want to change the mount mode of auto-mounted drives. Is that >>correct? > > No, that is *NOT* correct. The mounts are stored in the registry *now*, > but they aren't guaranteed to stay in the registry in the future. What is > guaranteed, however, is that the "mount" command will *always* manipulate > the mount table, wherever it's stored. Cygwin's "mount" is very different > from the Linux "mount" -- you really should read the "mount" manpage. Well, I only need a solution for my special case *now*, so it's okay for me if mounts are going to be stored anywhere else in the future. My problem is: I've set "Default Text File Format" to "Unix" during setup. Now I just want to change my Cygwin installation as if I had specified "DOS" instead. > The flags on the auto-mounted drives can be changed by setting them in > conjunction with the --change-cygdrive-prefix (-c) mount flag. So, to > make them binary, just say > > mount -sbc /cygdrive Thanks. I've changed all my mounts to "textmode". What I don't get: If I now create a file using VIM and look at it afterwards using "od -c", it still contains \n instead of \r\n line ends. Why is that? -- Sebastian Schuberth -- 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 |