At 23:37 09/30/2005 -0700, Carl Lowenstein wrote: >I never heard of CPM image format, neither has Google. But I have >learned tonight that the ACARD controller in our CD/DVD duplicator >will export files from the duplicator's internal hard drive to a drive >on the host computer, using its USB connection. By actual trial, I >have found that this exported file is the same as the original .ISO >file but has 2456 bytes prepended to it. The file name defaults to >*.CPM. The text at the beginning of this is "CPM Image V1." > >Oh, well, I can strip it off using dd(1) as we all have discussed at >great length.
I wonder if there is a way to resize the file "in situ" , i.e. trim the head without having to make a duplicate. I had originally asked this question of carl at the installfest pertaining to trimming the tail of a file, but he couldn't think of a utility that did that. I know I could do something to reset the size and then release the tail blocks to the free pool, but I'm willing to bet someone has already done that. Anyone know of any utilities to trim files in place? Gus -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
