# dirsplit -s $[2290000*2*1024] -e4 .
Building file list, please wait...
Calculating, please wait...
....................
Calculated, using 18 volumes.
Wasted: 11809 Byte (estimated, check mkisofs -print-size ...)
This will create .list files, you can check the final size through
# for x in *list ; do mkisofs -quiet -D -r --joliet-long -graft-points -path-list $x -print-size; done
This will output the final size of each disk, make sure it is smaller than a disc. You can check the amount of data that fits on a disk through:
# cdrecord -toc
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2295104*2KB
Track Size: 2295104*2KB
ROM Compatibility LBA: 266544
READ CAPACITY: 0*2048=0
Now you can either build iso images, through mkisofs:
# mkisofs -quiet -D -r --joliet-long -graft-points -path-list vol_1.list -o /tmp/image.iso
Or you can burn them directly to dvd:
# sudo growisofs -dvd-compat -Z /dev/dvd -quiet -D -r --joliet-long -graft-points -path-list vol_1.list
Never burn discs without verifying at least one of them. I checked the back of one of the discs after I had burned four or five of them, and to my horror it looked like this (full resolution):
None of the data turned out to be readable. I later found out it was because the cheap HEMA-brand dvds are not compatible with my burner. I now use nashuatec and haven't seen this since.