I forgot what is is, but you can have a switch for mkisofs to make it read the priority of certain files from a txt file.Captain Skyhawk wrote:If you selfboot your stuff and you use a dummyfile, how can you be sure it will be burned at the beginning of the disc? Sure you must name the file 00000.dum or something, but when I use Nero for example I can set the priority of the files making sure it comes at the beginning of the disc. Is there a mkisof switch for it?
You need to copy all of the data files and follow the instructions in the Echelon selfboot kit, with a couple of modifications.
1) You need to create a sort file (let's call it "sort_file.txt" in this example) in your self-boot work directory that contains a single line:
"data" is the path of the subdir that contains the data files, *relative* to the dir that you are running mkisofs from. It's important to get the relative dirspec right, otherwise the sort won't work properly. "1000" can be replaced by any number greater than 0.
2) When you create the ISO file, add the -sort parameter to
the command line:
mkisofs -C x,y -V NEW -l -o data.iso -sort sort_file.txt data
In this command line, x and y are the numbers you obtained using the "cdrecord -msinfo" command, "data.iso" is the path to your iso file, and "data" is the path to the data files.