On Thu, 25 Oct 2012 21:27:11 UTC, "James J. Weinkam" <
j...@cs.sfu.ca>
wrote:
> Alex Taylor wrote:
> > On Tue, 23 Oct 2012 13:50:34 UTC, Shmuel (Seymour J.) Metz
> > <spam...@library.lspace.org.invalid> wrote:
> >
> >>> I suspect that none of those actually needs to use EAs,
> >>
> >> Some OS/2 applications record, e.g., file type, in an EA, so I do need
> >> them for transferring files between eCS systems. Of course, I could
> >> zip them first, but that seems like a lot of bother in some cases..
> >
> > If you disable EAs, don't try to run a REXX script off a FAT32 drive.
> > It'll destroy the file. REXX tries to write the tokenized code to the
> > EAs and for some reason can't cope when FAT32 has them turned off.
> >
> That does not happen on my desktop machine, which has only JFS volumes, but has the FAT32 driver installed without the
> /EAS parameter.
>
> I just tried copying a REXX script to three different USB mass storage devices: 1) an 8GB real USB stick formatted
> FAT32. 2) an 8GB SDHC card formatted FAT32 in a Targus card reader/writer. 3) a 1GB SD card formatted FAT in the same
> card reader/writer.
1 and 2 are effectively the same thing. FAT is a little different.
> In all three cases the script ran correctly and no files were corrupted.
Actually, that is what I would expect. I am not sure why Alex had a
problem with that.
>In the case of the FAT card, I deleted the
> existing EAs before copying the file to the card. EABROWSE confirmed that in cases 1) and 2) there were no EAs either
> before or after running the REXX command. In case 3) there were no EAs initially, but running the script caused the ESs
> to be recreated and the EA DATA. SF file showed up in the root of the card. I would have expected this same thing to
> have happened in cases 1) and 2). Perhaps the interpretation of omitting the /EAS parameter for FAT32.IFS is, "No EAs in
> any way, shape or form, so smoke on your pipe and put that in."
That is absolutely correct. FAT, on OS/2, does create EAs, in EA DATA.
SF. You cannot turn that feature off. The main "problem" with FAT, is
that OS/2 stores long file names in the EAs, so only the short file
names are left when the EAs get disconnected. Windows, of course,
knows nothing about long file names, so all it uses is the short file
names. Confusing.
If you use the /EAS parameter with the FAT32 driver, it also creates
the EAs in EA DATA. SF. If you don't use /EAS, no EA support, of any
kind is available. FAT32 does maintain the long file names, because
they are not only in the EAs, as with FAT.
The "problem" arises, for both FAT and FAT32, when windows does
anything with any files that have OS/2 style EAs (other than simply
read them). The EAs get disconnected from the file, and windows
doesn't know, or care. When you reboot to OS/2, those files no longer
have a linkage to the EAs that are stored in EA DATA. SF, so they
effectively have no EAs, but when you run CHKDSK on the drive, it
finds EAs, that no longer have files, and must fix that (by deleting
the EAs). This basically means that it is a waste of effort to store
EAs on a FAT, or FAT32 drive, if windows ever does anything, other
than read, the files. It also creates a drive maintenance headache,
because it is wise to run CHKDSK occassionaly to clean up the mess.
Better, IMO, to just not use EAs in the first place (of course, you
have no choice with FAT).
> My desktop machine is running eCS2.0GA using the USB and FAT32 drivers that came with the system. So far I have not
> found it necessary to install Lars' updated USB drivers.
Perhaps not "necessary", but I would suggest that you should try them.
It has been my experience that they generally run much better than the
old IBM drivers, and I am pretty sure that they will be in future
versions of eCS, so it would be good to test them to be sure that they
work with your machine(s). If they don't, you have an opportunity to
get them fixed. If they do, you have gained performance.