>Number:         157491
>Category:       misc
>Synopsis:       update ls/rm/mv/cp tools to be able to handle large amount of 
>files
>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 Jun 01 08:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     vermaden
>Release:        8.2-RELENG_8-20110411-JPSNAP
>Organization:
>Environment:
FreeBSD e6400 8.2-RELENG_8-20110411-JPSNAP FreeBSD 8.2-RELENG_8-20110411-JPSNAP 
#0: Mon Apr 11 04:35:01 UTC 2011     
r...@build-amd64-fbsd.allbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The 'basic' tools like ls/mv/cp/rm are not able to handle large amount of files:

# ls /var/db/portsnap/files | wc -l
   22682

# ls /var/db/portsnap/files/*
zsh: argument list too long: ls

# mv /var/db/portsnap/files/* /tmp
zsh: argument list too long: mv

>How-To-Repeat:
These for about 22000 files and more:

ls /var/db/portsnap/files/*
mv /var/db/portsnap/files/* /tmp
>Fix:
Increase these tools limits.

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to