tech-kern archive

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

Re: Is there a command to change btime (creation time of files)?



In article <2828.1622233912%jinx.noi.kre.to@localhost>,
Robert Elz  <kre%munnari.OZ.AU@localhost> wrote:
>    Date:        Fri, 28 May 2021 16:49:26 +0000
>    From:        Kenny <kennysmith58%protonmail.com@localhost>
>    Message-ID: 
><TzLeIE0t9qf1WtyTUeoR5t68Dn-Eil-hKct7-5tdFq3XEl2i6hsrRd11yKsC909ktiZTZDJMqwfehURUOZApL13IVyxH8la06d9Nhjur_bU=@protonmail.com>
>
>  | I am using NetBSD 9.2 (amd64) with ZFS as file system and I have
>  | not found a command to change btime for my files.
>
>Don't bother, the birth time is a total waste of space.  It is used
>by nothing that matters, and is useful for nothing at all.   It is
>mostly unsupported (in that the stat command is just about the only
>way to view it, and while it is possible to set it, but not arbitrarily,
>the procedure is baroque and not worth explaining).

The baroque procedure is described in the manual page of utimes(2) where
one would expect it :-)

christos



Home | Main Index | Thread Index | Old Index