CRLF as line terminator in zone file

Joe Abley jabley at patho.gen.nz
Tue Oct 5 10:20:34 UTC 1999


On Tue, Oct 05, 1999 at 05:51:12PM +0800, Edmund wrote:
> Why all the troubles ?  If I haven't forgotten, 'samba' might have
> command to perform a dos to unix text file copy and conversion.

That rang some bells, so I went to check... However, I found this:

[http://au1.samba.org/samba/docs/FAQ/#1]
> We get many requests for CRLF/LF format conversion handling by samba.
> The problem is that there is no clean way to determine which files
> should / could be converted and which MUST not be.
>
> Since Unix and DOS/Windows uses alike will use .txt to represent a
> file containing ASCII text we can not reliably use the file extension.
> The same applies to the .doc extension.
>
> Samba operates around the premise that we should leave all files unchanged.
> By not implmenting CRLF/LF conversions we can not be guilty of damaging
> anyone's files.
>
> When someone comes along with a sound implementation that guarrantees file
> integrity we will jump at the opportunity to implement this feature. Until
> such time there is no prospect for action on this topic.

So, I guess not.


Joe


More information about the bind-users mailing list