Amongst other things... if, you want to remove everything you don't need. Make sure the filesystem has atime fully enabled,enabled; you can set this in /etc/fstab the. The current defaultsdefault is relatime but you want to use just atime. EverytimeEvery time a file is accessaccessed, the timestamp will get updated. Then do some usage for a few days, to see which files have never had their atime updated. I would do all of this in a vmVM, and very carefully., because I imagine there are a few files that are read when the system is in read-only mode. noteNote: set it to noatime once you're ready for production, otherwise you'll do a write everytimeevery time you read,read; this is inefficient.
Though to be honest, I'd look at Damn Small Linux; do you really need to be smaller than that? buildBuild yours based on their distro and simply remove the window manager and a few extra programs.... leaveLeave all the command line-line tools, that way if you ever need to repair or reload you have the shell.
 
                