The trick is to choose a set of options to the mkisofs command that will preserve the filenames, the perms, and as much original inode information as possible.
The following are good. I use 'em, and I haven't discovered any
problems yet.
sco_notes version ==> mkisofs -l -L -r -v -V home1 -o iso.img .
altered version ==> mkisofs -R -U -v -V home1 -o iso.img .
-U force untranslated filenames (includes all the following!)
-allow-lowercase lowercase chars ok in filenames
-allow-multidot multiple dots ok in filenames
-d don't add a trailing . to filenames
-l allow 31 char filenames
-L filenames can begin with a .
-N omit version numbers in filenames
-no-iso-translate do not translate # and ~ in filenames
-relaxed-filenames all 7-bit chars are allowed in filenames
-R engage Rockridge extensions with SUSP extensions.
-v verbose
-V home1 this lables the disk home1.
-o iso.img this puts the output in a file called iso.img
. the last period tells it where to start.
gerberb@zenez.com |