Re: [PATCH] Speeding up FAT operations

Richard B. Johnson (root@chaos.analogic.com)
Wed, 23 Sep 1998 08:48:14 -0400 (EDT)


On Tue, 22 Sep 1998, Russell Lambert wrote:

> This may not mean much, but two years ago when I first started learning a
> computer I was learning QBASIC. And I read a post somewhere of an error in
> QBASIC that would allow you to make a space in the name that no other program
> could read except another QBASIC program that opened it the same way. It was
> something like the following... (I haven't touched it for over a year and a
> half so it may not be completely accurate)
>
> open "blah hi" as binary #1 (or something like this)
> print #1, "jkfsdjlkfsdjkl"
> close #1
>
> Then you can open "blah hi" with the QBASIC program again.
>
> The system never reported it as an error or anything, and it would show up as
> a valid file when you did a DIR. In fact, when you got a directory listing,
> it would show it with the space.
>

Yes. A DOS File-System emulator cannot assume that DOS file-names are
all in upper case. It also can't assume that it contains "valid"
characters. DOS File names are not supposed to contain '.', ' ', etc.,
but they can.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.118 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/