Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 11 years ago

Closed 9 years ago

#397 closed defect (fixed)

Implement wall-clock time facility

Reported by: Martin Decky Owned by: Jakub Jermář
Priority: major Milestone: 0.6.0
Component: helenos/lib/c Version: mainline
Keywords: Cc:
Blocker for: Depends on: #62
See also:


As observed by Frantisek Princ in mailing list:

I tried to use function time() which should return POSIX time (number of seconds
from 1.1.1970), but it looks like this function returns "uptime" (seconds
from successful boot).

Is there any way how to get current time? I need time for setting timestamps
on i-nodes, but fsck on Linux has a problem with very low values which returns
time() function. Deletion time on i-node is also used for orphaned i-nodes list
and if value is lower than i-nodes count, it's interpreted as
corrupted orphans list.

Therefore a reasonable wall-clock time functionality is highly desirable.

Change History (4)

comment:1 Changed 11 years ago by Jakub Jermář


comment:2 Changed 11 years ago by Jakub Jermář

Blocker for: #
Depends on: #62

comment:3 Changed 11 years ago by Jakub Jermář

Blocker for: #

comment:4 Changed 9 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

This functionality was added in mainline,1666.

Note: See TracTickets for help on using tickets.