lkml.org 
[lkml]   [1996]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Problems with UMSDOS and -o conv=auto (1.3.99)
Date
Mitch Davis said:
>
> Dear Linux kernel readers: (and Jacques and Linus)
>
> I am running kernel 1.3.99, with UMSDOS. Because I wanted to avoid
> having ^M's visible in my files when editing them with vi, I tried the
> -o conv=auto mount option.

You really shouldn't use conv=auto on read/write filesystems, maybe the kernel
should inforce this. It just isn't possible to do the convesion on read and
undo it on write, this leads to all kinds of problems. Less which mixes fseek
with read also gets very confused with conv=auto as you effectively loose a
byte every newline, so fseek and read think they are at two different places
in the file.

Jon.
---
Jon. <jon@gte.esi.us.es, http://www.esi.us.es/~jon>


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.027 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site