write image to a pipe?

Discuss about the plans: what features to add, how to develop, ...

Moderator: feffer

Bruce

write image to a pipe?

Postby Bruce » Sun Jun 06, 2004 10:58 pm

I want to pipe the output of partimage (the image file) to another program to do for example encryption of the image. I realize stdout is used for the blue status update screen. I was unable to use a third filedescriptor such as:

partimage -f3 -z1 -dobc save /dev/hda1 /dev/fd/3 3>/tmp/pipe

But it did not work, as the code takes steps to make sure that the output file is a regular type of file. I removed the checks, but my c++ is too rusty, and I ran into addional errors.

Any chance of getting the output piped to another program? It would save time verses post processing the entire image file when partimage is finished.

Thanks for writing such a good utility.

DW

Postby DW » Mon Jun 07, 2004 9:29 pm


Bruce

Postby Bruce » Thu Jun 17, 2004 5:02 pm

Yes that sounds about right. I'd use ntfsclone instead, but I also want to support FAT.

Short of changing the source myself, is there any chance the direction of partimage is going to head that way? It does not apear so on the roadmap....

DW

Postby DW » Mon Jun 21, 2004 10:03 pm

GNU parted supports FAT, but not NTFS.


Return to “Future”

Who is online

Users browsing this forum: No registered users and 1 guest