Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: changing default text type without reinstall?
References: <87665hrz8w.fsf@home.lan>
	<01bf01c1ab50$f3255cd0$0d00a8c0@mchasecompaq>
	<873d0frqtz.fsf@home.lan>
From: Steinar Bang <sb@dod.no>
Organization: Probably a good idea
Date: Wed, 06 Feb 2002 09:01:26 +0100
In-Reply-To: <873d0frqtz.fsf@home.lan> (Steinar Bang's message of "Wed, 06
 Feb 2002 08:51:04 +0100")
Message-ID: <87y9i7qbs9.fsf@home.lan>
Lines: 45
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp,
 i386-debian-linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

>>>>> Steinar Bang <sb@dod.no>:

>>>>> "Michael A Chase" <mchase@ix.netcom.com>:
>>>> "Steinar Bang" <sb@dod.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

The results of "mount --help", is here
	<http://www.cygwin.com/cygwin-ug-net/using-utils.html#MOUNT>

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

Here's some more information on the cygwin mount table
	<http://www.cygwin.com/cygwin-ug-net/using.html#MOUNT-TABLE>

The mount table is in the registry, and running the mount command
should put the changes there.  The documentation says that the mount
command can be used to add mount points, which makes it strange that
the below command failed:

> I tried changing the mode of the /home directory
> 	~$ mount -t c:\cygwin\home /home
> 	mount: /home: Invalid argument

Why is "/home" an invalid argument?  Have I misunderstodd what is
meant by a "posix path"?

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/

