lkml.org 
[lkml]   [1998]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] Speeding up FAT operations
    Date
    > 
    > 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/

    \
     
     \ /
      Last update: 2005-03-22 13:44    [W:0.021 / U:62.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site