Mail Archives: cygwin/2000/06/02/09:35:44
The command `mount --help' might have helped in this instance.
mount -b --change-cygdrive-prefix /cygdrive
Cheers,
Earnie.
--- Matthew Lowther <m DOT lowther AT standard-platforms DOT co DOT uk> wrote:
>
> Hullo,
> 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
> added.
> 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
> automatically.
> 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.
>
> Maff.
>
> P.S. Problem description.
>
> If I run bash and say change to the t drive
> cd t:/
> echo "bob" >fred
> vi fred
> ->produces
> bob^M
> ie. with a dos line feed thing.
>
> If I do mount -b t: /t
> and do the above, it produces
> bob
> 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:maff AT bssl DOT co DOT uk
>
>
> ATTACHMENT part 2 application/octet-stream name=cygcheck.out
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -