Messages in this thread | | | Date | Wed, 10 Dec 1997 10:42:47 +0100 (MET) | From | (Guest section DW) | Subject | Re: "while :; do mkdir;cd mkdir;done" [2.1.71] fix |
| |
: From: Andrea Arcangeli <arcangeli@mbox.queen.it>
: #!/bin/sh : while :; do mkdir foo; cd foo; done
: create a full pathname that exceed a page memory (do_getname() return : -ENAMETOOLONG), so can' t be referenced in any way and so can' t be : deleted from rm -r etc...
: PS. How can force the deleting of a tree created without the patch?
An old and well-known problem. The tree can be deleted by deltree (ftp.win.tue.nl:/pub/linux/misc). Maybe recent GNU versions of rm will do as well.
| |