lkml.org 
[lkml]   [2004]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: silent semantic changes with reiser4
    From
    Date
    On Sun, 2004-08-29 at 12:53, Hans Reiser wrote:
    > With your model, can I do:
    >
    > cat filenameA/metas/permissions > filenameB/metas/permissions
    >

    runat filenameA "cat permissions" | runat filenameB "cat > permissions"

    > find / -exec cat {}/permissions \; | grep 4777 | wc -l

    find / -exec runat {} "cat permissions" \; | grep 4777 | wc -l

    Although, whether or not the kernel exposes file permissions as an
    attribute named permissions is up to the filesystem. (And the wrong
    thing to do, in my opinion, but that's irrelevant.)

    > If yes, then we are talking past each other somehow rather than
    > disagreeing. If metafiles can be opened with both open and openat() in
    > your model, then we are discussing some small detail.

    It can be opened by both, but in order to do it via open(2), you need to
    fchdir(2) to the attribute directory as returned by openat(2) and then
    use a relative pathname.

    > I think the answer is no though, in which case you are missing the point
    > of the new design. Is the answer no?
    --
    Nicholas Miell <nmiell@comcast.net>

    -
    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 14:05    [W:4.077 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site