Date: Thu, 08 Apr 2021 15:30:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254887] Add for touch (tp) change created time (btime) Message-ID: <bug-254887-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254887 Bug ID: 254887 Summary: Add for touch (tp) change created time (btime) Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: akw24542@eoopy.com Description: FreeBSD 13 supports 3 timestamps (atime, mtime, and btime). touch utility c= an change atime and mtime with this command. atime =3D touch -a mtime =3D touch -m But support for btime is missing. Steps to reproduce: 1) Create a .txt file. Then open the .txt file and edit the .txt file and s= ave. Now have 3 different timestamps for atime, mtime and btime. stat -f "Accessed (atime): %Sa%nModified (mtime): %Sm%nCreated (btime): %S= B" '/home/liveuser/Desktop/123.txt'=20 Accessed (atime): Apr 08 10:37:48 2021 Modified (mtime): Apr 08 09:27:47 2021 Created (btime): Apr 06 19:26:34 2021 2) Change with touch -> btime 3) This is not possible because there is no touch command that can change btime. Expectation: touch supports changing btime. The command to change btime could be: touch = -b --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254887-227>