Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How big should a slice be for a DVD, assuming that the file system restricts the size?


should slices be 1GB or so? What's an efficient slice size?

share|improve this question
up vote 1 down vote accepted

According to the Wikipedia article,

It is, however, possible to circumvent this limitation by using the multi-extent (fragmentation) feature of ISO 9660 Level 3 and create ISO 9660 filesystems and single files up to 8 TB. With this, files larger than 4 GB can be split up into multiple extents (sequential series of sectors), each not exceeding the 4 GB limit. For example, the free software such as InfraRecorder and mkisofs as well as Roxio Toast are able to create ISO 9660 filesystems that use multi-extent files to store files larger than 4 GB on appropriate media such as recordable DVDs.

So a slice can be as large as a DVD (about 4.3 GB binary for a single-layer disc).

Limited file size

If, for whatever reason, you need to limit the file size to no more than max_file_size and the disk holds disk_size, make your slice size the largest disk_size / s less than max_file_size, where s is an integer. That way, you can fit s slices on the disk exactly (ignoring round-off error), wasting no space. For disk_size ≈ 4.3 GB and max_file_size = 1 GB, you could then make each slice 880 MB, fitting 5 slices per disc.

share|improve this answer
pardon, I meant to state assuming that the file system prevents large files, what's the optimum slice size? – Thufir Sep 16 '12 at 0:22
@Thufir: Okay. Edited. – Mechanical snail Sep 16 '12 at 0:41
I haven't tried that, so I've accepted the answer assuming your arithmetic is correct :) – Thufir Sep 19 '12 at 20:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.