David, Thanks for your reply.^-^ And now i got another problem.When i run the command below. ./splittree.py --arch=i386 --total-discs=6 --bin-discs=3 --src-discs=3 --release-string="Fedora Core 1" --pkgorderfile=/root/pkgfile --distdir=/home/i386 --srcdir=/home/SRPMS --productpath=Fedora what i got is as follows, First package on disc1:a.rpm Last package on disc1:b.rpm i386-disc1 size:617M First package on disc2:c.rpm Last package on disc2:d.rpm i386-disc2 size:638M First package on disc3:e.rpm Last package on disc3:f.rpm i386-disc3 size:629M No more discs to put packages,overflowing on disc2 First package on disc2:e.rpm Last package on disc2:g.rpm i386-disc2 size:640M First package on disc3:h.rpm Last package on disc3:i.rpm i386-disc3 size:639M ... ... ... ... What is the rule of overflowing,will this action still keep the dependency of packages. Thanks! mosquite