Bootscripts [HEAD]

The Old Fellow nowhere at all.com
Wed Jun 30 08:58:28 PDT 2004


Zack Winkles wrote:
> On Wed, 30 Jun 2004 15:35:50 +0200, Matthias Benkmann
> <msbremove-this at winterdrache.de> wrote:
> 
>>On Wed, 30 Jun 2004 07:05:43 -0400 Bryan Kadzban
>><bryan at kadzban.is-a-geek.net> wrote:
>>
>>
>>>For each file and directory that it finds (unless the dir is named
>>>lost+found), it rm -rf's it.  That means that if your /tmp looks like
>>>this:
>>>
>>>/tmp/
>>>   |
>>>   |-.X11-unix/
>>>   |   |
>>>   |   |-X0
>>>   |
>>>   |-temp-file
>>>
>>>Then when find sees .X11-unix, it runs rm -rf on it.  But then find
>>>attempts to recurse into .X11-unix (since it's a recursive search for
>>>stuff), and fails because it just deleted the directory.
>>>
>>>I *think* we could get rid of the message if we added a -maxdepth 1 to
>>>find's arguments.
>>
>>How about using -depth?
> 
> 
> This is fixed as of 20040630 (today?).

Thanks for the education (and the fix).

-- 
The Old Fellow
Replies will go to the great black hole
Google for 109bean



More information about the lfs-dev mailing list