Hi, On Fri, Jan 14, 2011 at 02:31:55PM +0100, PrzemysÅaw 'Przemoc' PaweÅczyk wrote: > I have following suggestion for sfdisk: > - adding offset/shift support for cumbersome raw disk images (like > fixed-size VDI), that don't start at the beginning of the file. > > Required changes? > IMO straightforward way is just adding another option (below is an > example), global variable (e.g. shift) and fixing sseek() code and > R.total_size in get_geometry() to take it into account. > > -t# [or --offset #] ignore the number of bytes at the beginning Isn't this something you can just use a loopback device for? losetup -f -o $offset $image Thanks, Forest -- Forest Bond http://www.alittletooquiet.net http://www.pytagsfs.org
Attachment:
signature.asc
Description: Digital signature