It is currently Tue, 07 Dec 2021 02:16:10 GMT



 
Author Message
 FAT CR/LF conversion
I have a floppy disk wich I mount using:

mount -tvfat /dev/fd0 /mnt/floppy -oconv=auto

When I copy a text file (file.log) to the floppy using cp, the NL->CR/LF
conversion isn't performed, the destination file is identical to the source
file.

Am I right in thinking this conversion should be performed for cp?
If so, any ideas what I'm doing wrong?

[kernel 2.4.1, cp (GNU fileutils) 4.0x]



 Sun, 21 Sep 2003 19:47:03 GMT   
 FAT CR/LF conversion

wasn't -o conv=auto (with space in between) ?

Teorically yes

only the 'space' thing (if it isn't a mistype).

Davide



 Sun, 21 Sep 2003 19:56:31 GMT   
 FAT CR/LF conversion

AFAIK, cp does'nt do such conversions. You can get unix2dos, make the
conversion and then copy.

Chris



 Sun, 21 Sep 2003 19:59:47 GMT   
 FAT CR/LF conversion
I've tried with and without a space and get the same behaviour.

news:9af25e$4un05$9@ID-18487.news.dfncis.de...



 Sun, 21 Sep 2003 21:15:11 GMT   
 FAT CR/LF conversion
04 Apr 2001 11:47 UTC, Chris West did say to the dudes:

Try 'mount -t vfat -o conv=auto /dev/fd0 /mnt/floppy'
or
'mount -t vfat -o conv=a /dev/fd0 /mnt/floppy'

--
Chiefy. <l...@awaywiththepixies.com>

When the pin is pulled, Mr. Grenade is not our friend...



 Mon, 22 Sep 2003 02:20:29 GMT   
 FAT CR/LF conversion

try using the mtools [mcopy specifically has -t option]
--
Merci.........................Yvan     Pour le plein air: Club Vertige
 BQ...@FreeNet.notthis.Carleton.CA     http://www.ncf.ca/vertige



 Mon, 22 Sep 2003 18:56:10 GMT   
 
   [ 6 post ] 

Similar Threads

1. Solaris 2.51 printing via NT lpdsvc, LF->CR/LF conversion

2. NL - CR/LF conversion

3. lpr did not convert LF->CR/LF

4. Enabliing "LF->CR/LF".

5. enabling 'LF->CR/LF'

6. How to convert LF to CR/LF ?

7. ioctl and termcap - how to disable lf - cr/lf translation

8. minicom lf -> cr+lf

9. FreeBSD telnet client sending LF instead of CR LF


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software