[gentoo-user] question about files as disks
I'm helping some people using gentoo and one of the tasks is the production of flash memory updates for the firewall. The script for producing flash images contains calculations determining sector offsets so that the disk image can be treated as a partitioned disk. Is there anyway to treat a file as if it were a physical disk from the partitioning through mounting of each individual partition and its unmounting? I can keep doing it the clumsy error-prone way if I need to him but I was just trying to find out if there was an option that reduced the opportunity for mistakes. ---eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] question about files as disks
Eric S. Johansson wrote: I'm helping some people using gentoo and one of the tasks is the production of flash memory updates for the firewall. The script for producing flash images contains calculations determining sector offsets so that the disk image can be treated as a partitioned disk. Is there anyway to treat a file as if it were a physical disk from the partitioning through mounting of each individual partition and its unmounting? I can keep doing it the clumsy error-prone way if I need to him but I was just trying to find out if there was an option that reduced the opportunity for mistakes. Maybe user-mode linux or vmware could be useful for this... -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] question about files as disks
Richard Fish wrote: Maybe user-mode linux or vmware could be useful for this... I'm using qemu to run the firewall which in turn creates a self flash memory image of itself. Maybe you are right though I should look into the virtual machine as the framework from which I generate the flash image. I will say though it's all a royal pain in the butt. ;-) ---eric -- gentoo-user@gentoo.org mailing list