forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
NixOS/nixpkgs
#31537Description
I need all my files inside my image to have a UNIX timestamp of 1. If I just use cptofs
normally, it uses the current time. I can use libfaketime
to fool cptofs
into thinking that the current time is 1, but oddly enough all the timestamps in the image come out as 2 instead of 1.
So now I'm confused what's going on. Can cptofs
get an option to preserve file times, or if not, does anyone know why all my timestamps are getting incremented by 1 before making it into the image?
If I tell cptofs
that the time is 0, all my timestamps in the image are 1, so I'm not stuck, but it would be nice if this behaved more intuitively.
cc @dezgeg
Metadata
Metadata
Assignees
Labels
No labels