kern/116316: Cannot unlink insanely deep directory

Barkley Vowk bvowk at math.ualberta.ca
Wed Sep 12 11:50:07 PDT 2007


>Number:         116316
>Category:       kern
>Synopsis:       Cannot unlink insanely deep directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 12 18:50:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Barkley Vowk
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD mirror.math.ualberta.ca 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Sep 7 14:13:09 MDT 2007 bvowk at mirror.math.ualberta.ca:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Someone ran:
	perl -e 'while (mkdir "x") { ++$n; print "\r$n"; last unless chdir "x"; }'

	Which leaves me with:
	rm -rf x
	rm: fts_read: File name too long

>How-To-Repeat:
	See Above.

>Fix:
	Since it was a small filesystem, I dump'd, newfs'd and restore'd. 
	But I thought maybe it was something that could be tweaked. 
		


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list