vanstrien
01-31-2005, 08:25 PM
I'm just in the process of customizing Knoppix to use on a project at work. I was wondering if anyone has tried to use unionfs for both managing the remastering process and also for the live CD?
Unionfs will let you mount two or more directories in the same place. You can then set precedence for which directory has takes on additions or deletions.
I was thinking of using this as part of remastering so I wouldn't have to unpack the CD. A R/W directory would be overlaid /KNOPPIX. Any changes using Apt, etc would have those files marked as removed, but of course the Cd would not be changed. Then the new iso would be made out of the mapped directory, and thus my changes would make it into the final version. Hopefully this would have the added side benefit that should a new KNOPPIX come out then I might be able to upgrade without redoing my actions. (although in reality any changes to apt configuration files would invalidate that). I could probably do a few layers and make it so that changes to bookmarks, desktop walllpaper, etc could be overlayed over chagnes to the FS that I put through manually.
The other use could be in the CD itself, so that a running version could make change to normall read-only directories. IE a user could add and remove stuff at will while KNOPPIX is running.
Unionfs will let you mount two or more directories in the same place. You can then set precedence for which directory has takes on additions or deletions.
I was thinking of using this as part of remastering so I wouldn't have to unpack the CD. A R/W directory would be overlaid /KNOPPIX. Any changes using Apt, etc would have those files marked as removed, but of course the Cd would not be changed. Then the new iso would be made out of the mapped directory, and thus my changes would make it into the final version. Hopefully this would have the added side benefit that should a new KNOPPIX come out then I might be able to upgrade without redoing my actions. (although in reality any changes to apt configuration files would invalidate that). I could probably do a few layers and make it so that changes to bookmarks, desktop walllpaper, etc could be overlayed over chagnes to the FS that I put through manually.
The other use could be in the CD itself, so that a running version could make change to normall read-only directories. IE a user could add and remove stuff at will while KNOPPIX is running.