This might be considered to be more of an academic question but here goes. Returning to Linux after some years away, I installed Ubuntu 15.04 Desktop on a small PC.
Looking around the file system I see "real files" such as programs in /bin
and /usr/bin
but I also recall that Linux treats device IO via the file system. So there is a /dev
directory with apparent files inside of it. I saw 'files' in /proc
.
If I want to preserve my filesystem (in the context of Linux resurection after death of a disk for example) I could easily tar
the contents of the /bin
and /usr/bin
directories and recover these type of files.
What files are written at the time the computer boots and could these be safely ignored as part of a backup? Also, how about special permissions or hard links and so forth?