lkml.org 
[lkml]   [2001]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: reiser4 (was Re: [PATCH] Revised extended attributes interface)
    At 15:27 13/12/01, Andrew Pimlott wrote:
    >(Anton, does NTFS define any reserved filename characters, or only
    >win32?)

    It does. RTFS. (-8

    From ntfs-driver-tng/linux/fs/ntfs/layout.h:

    /*
    * The maximum allowed length for a file name.
    */
    #define MAXIMUM_FILE_NAME_LENGTH 255

    /*
    * Possible namespaces for filenames in ntfs (8-bit).
    */
    typedef enum {
    FILE_NAME_POSIX = 0x00,
    /* This is the largest namespace. It is case sensitive and
    allows all Unicode characters except for: '\0' and '/'.
    Beware that in WinNT/2k files which eg have the same name
    except for their case will not be distinguished by the
    standard utilities and thus a "del filename" will delete
    both "filename" and "fileName" without warning. */
    FILE_NAME_WIN32 = 0x01,
    /* The standard WinNT/2k NTFS long filenames. Case
    insensitive.
    All Unicode chars except: '\0', '"', '*', '/', ':', '<',
    '>', '?', '\' and '|'. Further, names cannot end with a '.'
    or a space. */
    FILE_NAME_DOS = 0x02,
    /* The standard DOS filenames (8.3 format). Uppercase only.
    All 8-bit characters greater space, except: '"', '*', '+',
    ',', '/', ':', ';', '<', '=', '>', '?' and '\'. */
    FILE_NAME_WIN32_AND_DOS = 0x03,
    /* 3 means that both the Win32 and the DOS filenames are
    identical and hence have been saved in this single filename
    record. */
    } __attribute__ ((__packed__)) FILE_NAME_TYPE_FLAGS;

    The whole of layout.h can be viewed here (link to view of CVS):

    http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/layout.h?rev=1.6&content-type=text/vnd.viewcvs-markup

    Anton


    --
    "I've not lost my mind. It's backed up on tape somewhere." - Unknown
    --
    Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
    Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
    ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

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

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