Re: UMSDOS BUG

jerijian@seas.ucla.edu
Fri, 31 May 1996 12:09:57 -0700 (PDT)


[ I'm sending a cc: of this message to linux-kernel. ]

System Manager wrote:
>
> I don't know if this is the correct place to post this, but the
> linux-msdos@vger.rutgers.edu seems devoted to dosemu...

I think that linux-msdos is supposed to be devoted to Linux
DOS emulation, but please correct me if I'm wrong.

> When you try the following it reveals a nifty bug in UMSDOS:
>
> Dillweed# mount /dev/hda5 /dos/d -t umsdos
> Dillweed# ls /dos/d/linux
> apps/ home/ root/
> etc/ lodlin16.tgz* slakware/
> Dillweed# mv /dos/d/linux/root/linux-1.99.5.tar.gz /dos/d/linux
> Dillweed# ls /dos/d/linux
> linux-1.99.5.tar.gz

It looks like the directory didn't have a --linux-.--- file to
begin with. There's more to come...

> Dillweed# umount /dos/d
> Dillweed# mount /dev/hda5 /dos/d -t msdos
> Dillweed# ls /dos/d/linux
> --linux-.---* etc/ linux-1_.{__* root/
> apps/ home/ lodlin16.tgz* slakware/
> Dillweed# mv "/dos/d/linux/linux-1_.{__" /dos/d/linux/root/linux1_9.5
> Dillweed# umount /dos/d
> Dillweed# mount /dev/hda5 /dos/d -t umsdos
> Dillweed# ls /dos/d/linux
> Dillweed#
>
> When a file with a long file name is used, UMSDOS creates the
> special file "--linux-.---" which contains its own opinion of the directory
> listing.

[ ... ]

That's right; UMSDOS doesn't by itself sychronize files that
aren't already listed in the --linux-.--- file. The proper fix is to
run the "umssync" command in the current directory. Now, I had
trouble compiling the UMSDOS tools (version 0.8) under Red Hat 3.0.3
(GCC 2.7.2, libc 5.2.18), which is exclusively ELF. Are there any
updates planned for these tools?
Jacques?

> Keep up the great work,
> Erik
>
> Erik B. Andersen
> 2485 South State St. email: andersee@et.byu.edu
> Springville, Ut 84663 phone: (801) 489-1231
> --This message was written using 73% post-consumer electrons--

-- 
Arthur D. Jerijian     | "Who on earth can blame them?  Ah, no wonder the
                       | men of Troy and Argives under arms have suffered
jerijian@seas.ucla.edu | years of agony all for her, for such a woman.
a540adj@pic.ucla.edu   | Beauty, terrible beauty!"
adj@ucla.edu           |                     Homer, the king of all poets