[lkml]   [2004]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: silent semantic changes with reiser4
    On Thu, 2004-08-26 at 21:54, Linus Torvalds wrote:
    > The S_ISDIR/S_ISREG tests show real information: it shows not only user
    > intent ("you should consider this a file, even if it has attributes"), but
    > also whether it is a directory or a container.
    > And there's a real technical difference there: the streams contained
    > within a file are bound to that file. The files contained within a
    > directory are _independent_ of that directory. Big difference. HUGE
    > difference.
    > So it's not confusing. If it tests as a file, you think of it as a file.
    > It may have attributes aka named streams associated with it, and you may
    > be able to open those attributes by treating the file as a directory, but
    > that doesn't really change the fact that it's a file.

    What about the attributes/named streams of a directory though? If you
    open it as a directory, you would get the files inside the directory.
    So how do you get at the attributes and named streams of the directory
    itself using this interface?

    Best regards,

    Anton Altaparmakov <aia21 at> (replace at with @)
    Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
    Linux NTFS maintainer / IRC: #ntfs on

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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