Dave Witbrodt <[EMAIL PROTECTED]> wrote:
> Package: coreutils
> Version: 5.97-5.3
...
> I have a (bad) habit of removing directories using 'rm -rdf' instead
> of 'rmdir'. Recently, I modified my bad habit to include verbose
> output. So, I was removing an old kernel today for which GRUB refused
> to remove the /lib/modules directory because of an NVidia module I had
> installed, and I had to remove it myself:
>
> AMD64X2-5600:/lib/modules# rm -vrdf 2.6.24.080306.amd64x2.vesa/
> removed `2.6.24.080306.amd64x2.vesa//kernel/drivers/video/nvidia.ko'
> removed directory: `2.6.24.080306.amd64x2.vesa//kernel/drivers/ video'
> removed directory: `2.6.24.080306.amd64x2.vesa//kernel/drivers'
> removed directory: `2.6.24.080306.amd64x2.vesa//kernel'
> removed directory: `2.6.24.080306.amd64x2.vesa/'
>
> The directory structure was removed just fine, but the verbose output
> is clearly wrong with those double slashes. (Of course, I did not
> intend to add the slash, but 'bash' completion put it there when I hit
> tab.)
Thanks for the report.
FYI, this is fixed in coreutils-6.10:
$ mkdir -p a/b/c
$ rm --verbose -rf a/
removed directory: `a/b/c'
removed directory: `a/b'
removed directory: `a'
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]