I have been working through this to try and resolve my own problem
Inside /lib/init/bootclean.sh it has a function clean_all which is what mountall-bootclean.sh uses
This does clean /run "! -xtype d ! -name utmp ! -name innd.pid" || ES=1 clean /run/lock "! -type d" || ES=1 clean /run/shm "! -type d" || ES=1But when I try and turn the first of these three commands into the find function it composes to delete the files without the -delete action inside /run
find . "! -xtype d ! -name utmp ! -name innd.pid" I get a) it lists all the files in all subdirectoriesb) it finishes up with a line which says find: `! -xtype d ! -name utmp ! -name innd.pid': No such file or directory
I assume this is the root of the problem.However - I can't find much coherent documentation on find which explains why find gives that error message and then lists (and therefore presume also deletes) all the files
<<attachment: alan_chandler.vcf>>