[haiku-development] Idea: preserve files during building to partition

  • From: Pieter Panman <pieter@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 11 Jul 2008 14:34:48 +0200

First of all, you might/might not know this, but you can mount bfs read-only from Linux. (mount -t befs /dev/sd?? /haikuvol) Sorry if this is obvious, I didn't know it. At least for ubuntu I this just worked for me.


A lot of people have been requesting ways to preserve files on the haiku partition when you're building it again. Maybe with this we can: - Specify (with wildcards or so) the paths to preserve in the UserBuildConfig
In the build process:
- Automount the destination partition
- Save the files to be preserved and zip them up
- Build the new haiku and copy to partition
- restore the files using a copy action

The only issue I see with this, is that attributes might be lost, I don't know how accessible they are with befs.
Anyway, just an idea I just came up with.

Regards,
Pieter

Other related posts: