Leonard posted the following query:

>> The Zip disk driver that is used while you have a Windoze Zip mounted screws up
>> long file names when they are shorter, or equal to, 8.3.  If you have a
>> DOS-length file name on the Unix system that is mixed case, when it is written
>> to the Zip disk it will ONLY write the DOS filename to the directory sturcture
>> and not the mixed case file name to the long file name directory structure. 
>> That caused me all kinds of grief.
>
> I still don't understand. The hardware driver should have nothing to do with 
>the filesystem driver. So why would short long names be screwed on a zip disk, 
>but not on any other kind? You use -t vfat I presume?

The hardware driver has nothing to do with it, but the software driver
behind it that writes the files to the Zip disk has to understand the
DOS directory structure and write the appropriate information.  The
person who wrote that driver, for some reason, decided that if the Unix
file name that is being written to the Zip disk fits the DOS format, it
will only write the short file name to the disk, therby losing case of
the filename because the long file name entry isn't being written to the
disk.

But, the writer of the mtools suite of programs writes both the short and long
file names to the disk, no matter what the length of the file name, thereby
keeping the case of the file name.

> No zip disk here, so no possibility to check this out myself, that's why I 
>keep asking.

Here are some examples:

Writing to Zip disk:

                        mount                           mtools
Unix name       short           long            short           long
RunIt.exe       RUNIT.EXE       -               RUNIT.EXE       RunIt.exe

Reading back from Zip Disk:

        resulting Unix file name from mounted disk: RUNIT.EXE
        resulting Unix file name from mtools read disk: RunIt.exe

This is from memory.  The read-back from a mounted zip disk may be runit.exe.
In either case, the case of the file name is messed up.

BTW, it is easier to say: mcopy RunIt.exe z:
than it is to say: mount /zip
                   cp RunIt.exe /zip
                   umount /zip

Hope this helps.

MB
-- 
e-mail: [EMAIL PROTECTED]
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to