This is the mail archive of the
mailing list for the Cygwin project.
Re: text / binary mounts (sorry)
- To: Matthew Lowther <m dot lowther at standard-platforms dot co dot uk>, "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: Re: text / binary mounts (sorry)
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 2 Jun 2000 06:35:13 -0700 (PDT)
- Reply-To: earnie_boyd at yahoo dot com
The command `mount --help' might have helped in this instance.
mount -b --change-cygdrive-prefix /cygdrive
--- Matthew Lowther <email@example.com> wrote:
> I use cygwin (snapshot 05252000) , mainly to access cvs and make, so
> I can build the same source on NT and unix.
> When I check things out in CVS I don't want lots of Dos Line Feeds being
> This is OK, so long as I mount the relevant drive as a binary mount.
> BUT is there anything I can setup to make all drives act as binary mounts
> The problem is that if a drive isn't mounted at all, then I get dos line
> feeds at the end of each line. So people not accustomed to using bash use
> cvs and unknowingly add dos line feeds to all the source files, this gets
> repeated .... and we end up with lots and lots of horrible dos line feed
> characters in all the source.
> Thanks in advance for any help I may get, I'm scared to send this message
> because I know there's been alot of mail about CR/LF issues, but I'm
> desperatley hoping I can stop these ^M's infiltrating our source code.
> P.S. Problem description.
> If I run bash and say change to the t drive
> cd t:/
> echo "bob" >fred
> vi fred
> ie. with a dos line feed thing.
> If I do mount -b t: /t
> and do the above, it produces
> ie. no dos line feed.
> But can I make echo "bob" > fred produce a file fred with no dos line feed
> without having to make sure I've done the mount?
> Attached is the cygcheck thing
> .. <<cygcheck.out>>
> Matthew Lowther Direct Dial: +44 (0)1252 401033
> Software Consultant Switchboard: +44 (0)1252 401000
> Standard Platforms Limited Fax : +44 (0)1252 336934
> http://www.standard-platforms.co.uk mailto:firstname.lastname@example.org
> ATTACHMENT part 2 application/octet-stream name=cygcheck.out
> Want to unsubscribe from this list?
> Send a message to email@example.com
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org