[lkml]   [2001]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: fs/ext2/namei.c: dir link/unlink bug? [Re: mv changes dir timestamp

    On Thu, 4 Oct 2001, Albert D. Cahalan wrote:

    > Bob Proulx writes:
    > > I tested this on both HP-UX, IBM AIX and Linux. HP-UX always
    > > preserved the previous timestamps. The same with 2.2.x versions of
    > > Linux. AIX was different and preserved the previous timestamp if
    > > the .. entry was the same as before but updated the timestamp if .. was
    > > different than before. But in the case where no real changes occurred
    > > none updated the timestamp. It would be interesting to see what
    > > Sun's Solaris and other systems do in those cases. This does not seem
    > > like a huge deal. There were differences in the different commercial
    > > flavors. But I like to think that we can do better than that.
    > Compaq Tru64 5 No time change in any case.

    I tested it on Solaris 2.7 . No time stamp change in any of these two
    cases ->

    mv tmp tmp1
    mv tmp ..

    In the 1st case there is no justification for time change bcos even the ..
    link inside the dir has not changed. In the 2nd case, there may be some
    justification but it will lead to a lot of confusion. When there is
    nothing to gain and something to lose why make such a change from
    traditional behavior ?

    - Nil

    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 13:17    [W:0.024 / U:112.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site