Re: [Call For Wartectomy] CRLF conversion out of kernel

Oliver Xymoron (oxymoron@waste.org)
Wed, 14 Jul 1999 10:34:45 -0500 (CDT)


On Wed, 14 Jul 1999, Jon Niehof wrote:

> I humbly suggest that having CRLF conversion is quite useful
> under DOSEMU.

For what case? In the case where DOSEMU (running actual DOS, remember) is
reading from FAT, it's expecting CRLF already. In the case where it's
reading from imported ext2, the capability has never been there.

> However, I believe that this could probably be just as
> easily handled by DOSEMU itself with a little additional
> coding.

The problem with this is that it can never be done in a reliable fashion
as binary/text is indicated by very loose convention of file naming. One
of the following will give unexpected results:

cp foo.exe foo.tmp
md5sum foo.exe foo.tmp

cp foo.txt foo.tmp
md5sum foo.txt foo.tmp

Rip it out. Label it obsolete in 2.2.11.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/