| 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://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: changing default text type without reinstall? |
| References: | <87665hrz8w DOT fsf AT home DOT lan> |
| <01bf01c1ab50$f3255cd0$0d00a8c0 AT mchasecompaq> | |
| From: | Steinar Bang <sb AT dod DOT no> |
| Organization: | Probably a good idea |
| Date: | Wed, 06 Feb 2002 08:51:04 +0100 |
| In-Reply-To: | <01bf01c1ab50$f3255cd0$0d00a8c0@mchasecompaq> ("Michael A |
| Chase"'s message of "Fri, 1 Feb 2002 10:46:12 -0800") | |
| Message-ID: | <873d0frqtz.fsf@home.lan> |
| Lines: | 49 |
| User-Agent: | Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, |
| i386-debian-linux) | |
| MIME-Version: | 1.0 |
>>>>> "Michael A Chase" <mchase AT ix DOT netcom DOT com>:
>>> "Steinar Bang" <sb AT dod DOT no> wrote:
>> Platform: CygWin 1.3.2, CygWin/XFree86 4.1.0, Win2k
>> Is it possible to change from text type "Unix" to text type "DOS",
>> without reinstall?
> mount --help
I'm guessing "mount -t" is what I should use? The explanation is
"text files get \r\n line endings".
But I am unsure of how I should use this command. What exactly does
it do? Does it insert a translation between the file system and the
cygwin programs?
Will just running the mount command make the change persistent? I
didn't find anything under /etc or /usr/etc that looked like a mount
table.
I am also usure of what directories I should run it on. When I run
the command with no arguments, I get this response
~$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
~$
I tried changing the mode of the /home directory
~$ mount -t c:\cygwin\home /home
mount: /home: Invalid argument
I tried changing the mode of the root directory
~$ mount -t c:\cygwin /
mount: warning: user mount point of '/' masks system mount.
mount: /: Invalid argument
I tried seeing if I could change all directories.
~$ mount -t
mount: too many arguments
Thanx!
- Steinar
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |