Re: Using the find command

2012-06-19 Thread Cam Hutchison
Alan Chandler writes: >At one point it 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=1 >which looks as though (with the "! - xtype d...") that its trying not to >recurse down the subdire

Re: Using the find command

2012-06-19 Thread Alan Chandler
On 19/06/12 19:42, Shane Johnson wrote: Alan, from what I can see, it's just supposed to delete files and not touch directories, any files name utmp or innd.pid. the ! prefixing the tests negates the test to pull the opposite. By using xtype it's just handling links differently. This command s

Re: Using the find command

2012-06-19 Thread Shane Johnson
Alan, from what I can see, it's just supposed to delete files and not touch directories, any files name utmp or innd.pid. the ! prefixing the tests negates the test to pull the opposite. By using xtype it's just handling links differently. This command shouldn't be deleting your udev directory.

Using the find command

2012-06-19 Thread Alan Chandler
I am trying to debug why my system fails during bootup with udev failing. I think its related to debian bug #677097 mountall-bootclean.sh cleans the run directory. This program sources /lib/init/bootclean.sh Inside there is a function clean_all At one point it does clean /run "! -xtype