This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: file not working on executables?


> From: Corinna Vinschen
[snip]
> You should not mount the whole Cygwin tree in textmode, it 
> will always give trouble when you expect it the least.

I've had everything mounted as text for years, and the only trouble I've
ever had is not related to the existence of textmode mounts, but to programs
that erroneously assume all text files are '\n' xor '\r\n', as I've stated
in my previous post on this subject.  Text mounts have *saved* me untold
amounts of trouble; that's why they exist at all in the first place!  I
can't begin to understand where you're coming from there; I am certainly a
counterexample to the statement, and I doubt I'm the only one.

>  Just 
> mount home dirs or something as textmode, but even then 
> refrain from it as much as possible.

Why?  Certainly mixing the two mount modes is going to result in problems
when you forget things work differently in one mount than in another.

> There are tools out there to convert line endings, for 
> instance d2u and u2d.  I bet, if you count the cases where 
> the conversion is necessary, you will be surprised how 
> _seldom_ it's necessary.

Any program that doesn't open all files, except text files, with "rb", is a
counterexample to this.

Again, I 100% share the notion that text mounts should not be necessary.
But when even such basic apps as tar get this wrong, I simply don't see how
anybody can realistically entertain the idea that eliminating them will
somehow solve any problems.

-- 
Gary R. Van Sickle
 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]