I’m moving my posts from Reddit to Lemmy before delete them.
This post is from 2022-04-16.
You must log in or register to comment.
cy_narrator ( @cy_narrator@discuss.tchncs.de ) English1•10 months agoIts Linux, everything is a file, this means your uptime is also stored in some (possibly ghost file) that you can access through the filesystem and change it
By ghost file do you mean something in /tmp? Also that seems fun, where can I find that file?
fedops 💙💛 ( @fedops@fosstodon.org ) 2•10 months ago@muhyb I don’t know what a ghost file would be but you’re probably looking for /proc/uptime. Which you can read but obviously not write to.
@cy_narrator cy_narrator ( @cy_narrator@discuss.tchncs.de ) English1•10 months agoOoh
Oh, I guess they implied I edited that file. Also I checked /proc/uptime and indeed it is read-only. Thanks for the info.
cy_narrator ( @cy_narrator@discuss.tchncs.de ) English1•10 months agoBy ghost files I meant files inside /proc /sys /dev that does not exist when OS is not booted
zagaberoo ( @zagaberoo@beehaw.org ) English1•11 months agoUpdate your kernels, kids.