• 0

Tool to generate disk images


Question

I need a tool that can generate disk images, such as the kind produced by WinImage, from a collection of files or directories, but most importantly, it needs to be run from the command line. The IMG file must be FAT32 formatted and be larger than a floppy (upwards of 128mb), so most DOS utilities around the web are out as well.

 

Basically, in a Makefile, I need to create an image of a directory when files inside of it are updated. The goal is to automate the process, so I don't have to open a heavy GUI program after editing some files.

 

I can use Windows or Linux, it doesn't matter. I'd prefer a Windows application, however.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

why does it need to be run from the command line?

otherwise i would recommand redo backup

Link to comment
Share on other sites

  • 0

http://www.winimage.com/wimushlp/wini2lpw.htm

 

Just create a image with /N and inject the files with /I  ?

I think /N can only create predefined disk images (i.e., floppies), as far as I can tell.

 

 

why does it need to be run from the command line?

otherwise i would recommand redo backup

Because the files are edited relatively often, and I want the creation of the image to be integrated into my build process.

Link to comment
Share on other sites

  • 0

So why can you not just use winimage?  You can start it from cmd line with the options you want.  Or using the sdk do pretty much anything you want from some other application or batch file, etc.

Link to comment
Share on other sites

  • 0

You can use PowerShell on Windows to automate making and stuffing VHD/VFD files. You didn't mention what you were going to use the images for so I am not certain what format you want them in.

Link to comment
Share on other sites

  • 0

So why can you not just use winimage?  You can start it from cmd line with the options you want.  Or using the sdk do pretty much anything you want from some other application or batch file, etc.

I can't make a 128mb disk image from the command line, so it doesn't meet all my requirements.

 

You can use PowerShell on Windows to automate making and stuffing VHD/VFD files. You didn't mention what you were going to use the images for so I am not certain what format you want them in.

I can't use VHD/VFD for this task.

 

Anyway, I compiled GNU mtools with MinGW and am using that. Works like a charm and it's free to boot.

 

Thanks everyone!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.