Project

General

Profile

Actions

Feature #13823

open

Add a command to edit btime

Added by muscle miscle 4 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Unfortunately there is no command in OpenIndiana to edit btime.

For comparison, I use a Unix-like system (macOS) that comes from BSD.

On macOS the user needs Xcode Command Line Tool. This can be found on Apple Developer Server.
Note: You may need an Apple Developer (Paid/Premium) account to access it.

If Xcode Command Line Tool is installed.

On macOS this command can be entered in Terminal to edit btime. On macOS, "Date Created" is taken in default file manager as the name to represent btime.

SetFile -d '12/31/2021 23:59:59' /Users/user/Desktop/test.rtf

It would be very nice if OpenIndiana has a similar command and in addition it should be integrated by default.

Actions #1

Updated by Nona Hansel 2 months ago

muscle miscle wrote:

Unfortunately there is no command in OpenIndiana to edit btime.

Do I understand it correctly that you're looking for a command to edit the time in which the system was booted?

For comparison, I use a Unix-like system (macOS) that comes from BSD.

On macOS the user needs Xcode Command Line Tool. This can be found on Apple Developer Server.
Note: You may need an Apple Developer (Paid/Premium) account to access it.

If Xcode Command Line Tool is installed.

On macOS this command can be entered in Terminal to edit btime. On macOS, "Date Created" is taken in default file manager as the name to represent btime.

SetFile -d '12/31/2021 23:59:59' /Users/user/Desktop/test.rtf

Could you please explain what this command does in macOS? Are you looking for a similar functionality?

It would be very nice if OpenIndiana has a similar command and in addition it should be integrated by default.

Actions #2

Updated by Gary Mills 2 months ago

There is no btime in Unix, only atime, mtime, and ctime. See stat(2) for details.

Actions

Also available in: Atom PDF