From: Onur Kucuk (onur@kablonet.com.tr)
Date: Mon 03 Nov 2003 - 16:24:03 EST
On Mon, 03 Nov 2003 16:14:37 +0200
Enver ALTIN <enver.altin@frontsite.com.tr> wrote:
EA> On Mon, 2003-11-03 at 15:43, Onur Kucuk wrote:
EA> > Yukaridaki deneme sorun cikarmadi. Acaba kullandiginiz ozel bir
EA> > karakter isleri karistiriyor olabilir mi ? Slackware 9 altinda
EA> > reiserfs bir dosya sistemi uzerinde yaptim. Ornegin
EA> > olusturdugunuz dosya vfat uzerinde ise vfat otomatik olarak
EA> > CR/LF->CR donusumu yapiyor olabilir.
EA> Sadece bir not: sorunun dosya sistemi vs. ile ilgisi yok. VFAT
EA> otomatik dönüşüm falan yapmaz :)
Slackware 9 altinda "man mount" dan alinti.
----
conv=b[inary] / conv=t[ext] / conv=a[uto]
The fat file system can perform CRLF<-->NL (MS-DOS text format to UNIX text format) conversion in the kernel. The following conversion modes are available:
binary no translation is performed. This is the default.
text CRLF<-->NL translation is performed on all files.
auto CRLF<-->NL translation is performed on all files that don't have a "well-known binary" extension. The list of known extensions can be found at the beginning of
fs/fat/misc.c (as of 2.0, the list is: exe, com, bin, app, sys, drv, ovl, ovr, obj, lib, dll, pif, arc, zip, lha, lzh, zoo, tar, z, arj, tz, taz, tzp, tpz, gz,
tgz, deb, gif, bmp, tif, gl, jpg, pcx, tfm, vf, gf, pk, pxl, dvi).
Programs that do computed lseeks won't like in-kernel text conversion. Several people have had their data ruined by this translation. Beware!
For file systems mounted in binary mode, a conversion tool (fromdos/todos) is available.
----
Sade cekirdegin vfat inde bu destek var mi bilmiyorum, herhalde yoktur, ama patch denen birsey var :) Ornegin (yanlis hatirlamiyorsam) bir donemin WOLK patchlerinde vardi.
-- Onur Kucuk <onur@kablonet.com.tr>