I am attempting to setup nightly builds of a Linux OS on my webserver. Well, the problem is I need to generate a floppy disk image without being root.
Really, I don't need to fully generate it. I just need to update the image. As I have a FFS image with boot manager and such, and just need to add my kernel file to the image. I have seen no useful image tools out there though with dealing with FFS.
Does anyone know of some tools to use for updating such a floppy image. I wouldn't mind programming a little glue program, but I really don't want to code up full FFS support by myself at the moment.
I can offer two (non-ideal) options:
Example:
Can you just mount it on loopback and access it as any other filesystem?
I assume by FFS that you're meaning the BSD Fast File System? I don't know what kind of support Linux has for it offhand. If Linux can mount it, that's going to be your easiest bet. If not, then you either need to write your own FFS support, or use an OS that can manage it easier.
Or switch to using a filesystem that is better supported.
I'm unsure which operations might require being root to create a disk image, so you should really post what are you doing exactly.
If you need to mount a loop device or something like that, you might be able to give a regular user rights to do so. If not, there might be a Fuse module to do it.