home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!nwnexus!remote!Gatekeeper
- From: Rob.Levin@f217.n3802.z1.fidonet.org (Rob Levin)
- Newsgroups: comp.os.linux
- Subject: Problems with Alpha.5 DOSFS
- Message-ID: <712076211.F00056@remote.halcyon.com>
- Date: Fri, 24 Jul 1992 08:35:52 -0800
- Sender: Gatekeeper@remote.halcyon.com
- Lines: 43
-
- > ....I have mounted the file system using smount, with
- all
- >three modes (binary, text, auto) and all behave the same. The
- >extensions in question are .CFG, .BAT, .BTM and many more....
- >
- >HELP! [grin]
-
- LCF> Unfortunitly the format of DOS and unix files is rather
- different.
- LCF> DOS expects a carriage return and line feed at the end of the
- line,
- LCF> and a CTRL-Z at the end of the file. Unix expects only a line
- feed.
-
- I understand. That's what auto and text mode are designed to overcome.
- They allow you to access text files in such a way as to convert them to
- Unix standard.
-
- I discovered the problem, which was that I was passing the conv=auto
- option to smount incorrectly. It doesn't provide a lot of error
- messages.
-
- LCF> Your best bet is to write to the author of joe
- rcarter@wpi.wpi.edu
- LCF> and ask if he can ad a DOS mode to the editor.
-
- That is unnecessary, now that I'm mounting in auto mode. Text files
- have those ^Z and ^C characters converted properly, now, assuming the
- filename extension is proper for DOS. The only remaining problem is
- that joe returns errors reading the file--he notices that the number of
- characters read is incorrect. That's an expected artifact of the
- conversion process. It could be overcome in the fs, but I expect a lot
- of work would be involved.... :-)
-
- I'm not sure it's even especially necessary.
-
- Rob
-
-
-
-
- * Origin: Via the Annex in Victoria, TX (1:3802/217)
-
-