tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is there the system call to set all 3 time at once?



    Date:        Thu, 09 Sep 2021 11:58:23 +0000
    From:        bsdairekiifai%posteo.de@localhost
    Message-ID:  <2cbd055de44ea130b54e525543d5d75c%posteo.de@localhost>

  | I have looked NetBSD manual page and find this description since NetBSD 
  | 5.0 in utimes and since NetBSD 6.0 in utimensat.

I believe that.   But don't you think that if anyone really believed that
being able to set the birthtime explicitly was a useful thing to do, sometime
in the past many many years since that was added, that it wouldn't have been
done by now?

  | I have been using UFS2 on NetBSD longer than UFS1 and will continue to 
  | do so for the next 10 years.

Good.

  | Therefore, as in the description, a 
  | system call should be added that allows to set all 3 times at once.

That doesn't follow (as Tom said).   If you think you have a use for
birthtime, tell me what it is, and I will show you how that cannot work
(in general, in some very limited restricted scenarios it might be
functional, but those are so restricted that nothing ever needs to
set birthtime, other than the system).

If you don't have an actual use for it, why would you care whether you
can set it or not?

kre




Home | Main Index | Thread Index | Old Index