From: Eric S. J. <es...@ha...> - 2005-08-01 01:14:38
|
I have a project (ipcop) where I am trying to create a flash image and then modify it slightly multiple times for each instance where it is used. the code currently though some really ugly things in that it creates a file for every partition so I can format, copy data etc. and then uses dd to merge everything together into one big happy flash image. Needless to say, as soon as you modify anything, "things break". I am looking for some way to treat a file as if it were a block device so I could format, impose filesystem, and then mount it so I can copy all of the files in place and hit it with grub to make it bootable. Is this something fuse can do easily? Already? I think this technique would also be useful in producing partitioned CD-ROM images. Appreciate your assistance. ---eric |