[Intel-gfx] [PATCH 5/8] dim: avoid errors with rm $foo/ expanding to /

David Weinehall david.weinehall at linux.intel.com
Wed Mar 22 13:51:42 UTC 2017


On Wed, Mar 22, 2017 at 12:53:24PM +0200, Jani Nikula wrote:
> On Wed, 22 Mar 2017, David Weinehall <david.weinehall at linux.intel.com> wrote:
> > rm -rf / woes can be remedied by always passing "--preserve-root" to rm
> > (I believe that this is the default already though).
> 
> That doesn't help with 'rm -rf /*' though.

Hmmm, but how would you end up with that if it does /$foo and $foo="" or
unset?


Kind regards, David


More information about the Intel-gfx mailing list