How to tell when system was first booted? - Raspberry Pi Forums
actually, looking "when installed" - whatever meaning of word "installed" prefer.
think may have asked before, seem have lost answer (if there one...). want know (in raspbian) if there reliable way tell when system installed onto sd card. or, alternatively, when first booted (by me).
i'm aware of of ambiguities. in particular, nice if unix filesystems kept track of "creation date", or, "stat" have it, "the date of birth". note "stat" has output field called "birth", blank normal unix filesystems.
anyway, how go figuring out when system installed (and/or first booted) ?
think may have asked before, seem have lost answer (if there one...). want know (in raspbian) if there reliable way tell when system installed onto sd card. or, alternatively, when first booted (by me).
i'm aware of of ambiguities. in particular, nice if unix filesystems kept track of "creation date", or, "stat" have it, "the date of birth". note "stat" has output field called "birth", blank normal unix filesystems.
anyway, how go figuring out when system installed (and/or first booted) ?
you try
stat /var/log/wtmp
sudo debugfs -r 'stat <inode>' /dev/mmcblk0p2
inode found stat.
stat /var/log/wtmp
sudo debugfs -r 'stat <inode>' /dev/mmcblk0p2
inode found stat.
raspberrypi
Comments
Post a Comment