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/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254887 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 can change atime and mtime with this command. atime = touch -a mtime = 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 save. Now have 3 different timestamps for atime, mtime and btime. stat -f "Accessed (atime): %Sa%nModified (mtime): %Sm%nCreated (btime): %SB" '/home/liveuser/Desktop/123.txt' 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 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254887-227>
