Re: [PATCH] Speeding up FAT operations

H. Peter Anvin (hpa@transmeta.com)
Thu, 24 Sep 1998 10:50:44 -0700 (PDT)


>
> What GWBASIC used to do was create a file using the FCB function call
> 0x16. Then, since it had the original File-Control-Block in its
> address-space, it would put any characters it wanted, including
> lower-case, in the FCB when it closed it. This is what got written
> to the disk. This is also the way Peter Norton 'opened' a directory
> as a file so that he could sort its contents.
>
> The original post was a warning that one should not assume that there
> are no "incorrect" characters in a MS-DOS file-name. I can easily
> create a file called "*.*" and or "???????????", which can cause some
> problems with 'rm', etc., although such file-names are usually
> 'created' during a disk error.
>

The FCB is a DOS system call. You can't create a file named
???????????? etc with even an FCB system call.

-hpa

-
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/