Over on https://digitalforensics.ch/linux/ there is a PDF you can download which lists common files and directories you might find in popular Linux systems.
Common files and directories found on popular Linux systems
Reply
Over on https://digitalforensics.ch/linux/ there is a PDF you can download which lists common files and directories you might find in popular Linux systems.
A great article on the complexity of file systems: Files are hard.
So I needed to create a file-system to house a handful of archive/backup tarballs (around 40 of them). I created an ext4 file-system with 100 inodes, like this:
# mkfs.ext4 -b 4096 -L airgap -m 0 -N 100 -v /dev/sdc1
Note: 100 inodes isn’t very many! Only supports up to 100 files/folders. Also note that 0% space is reserved for root. If you’re copying the above command make sure you replace /dev/sdc1 with an appropriate partition device.
I’m working on my backup scripts, so I found myself having a read of the Filesystem Hierarchy Standard. I was particularly interested in what /sys was all about, and it turns out that it’s another virtual file system like /proc.