Public bug reported:
Hi,
This package/program is great.. Works great for making usb images and I know
there's null other bugs about it.. but alot of people don't know this program
is very useful..
It has a percentage indicator for making Usb Linux installers (dumping iso
images to usb devices).. and there's now an increase of Hybrid iso images
coming out.. Having desperately looking for a substitute for cat/dd I came upon
this tool.. It's actually imho something that should be getting more
attention.. This application is very stable, but I think I hit a bug, which I
think can be very helpful for resolving (despite the fact it's not widely known
about, I'm telling others about it)
perhaps it can be more of an operational question but it doesn't seem to
be because there is old circa examples from ~2005 to compare the success
of using -vf very asimilar to the command of (2) as indicated below
The command is stable, but when used in form for verifying a dumped image on
usb, is when the command fails
eg:
dcfldd if=image.iso of=[USB DEV] bs=1M (1) no problems
dcfldd if=/dev/sdz vf=image.iso (2) does not pass
"
0 - 0: Mismatch
Total: Mismatch
"
If I perform
dcfldd if=1.dd vf=2.dd
(these are two simple clone files of anything)
the command works perfectly as expected..
but I have seen online (circa ~2005, when the author of this tool was
more active) of examples using a device with an image file.. as of form
(2)..
Instead of using (2) , I'm using as a workaround to verify the checksum
of the usb device (length of the iso image)
dcfldd if=/dev/sdz of=/dev/null hashwindow=[SIZE in bytes OF ISO FILE]
bs=8M count=[calccount] hashformat="#window_start# to #window_end#: My
md5 is #hash#" hash=md5 status=off
The [calccount] is an integer that was calculated as #bytes_of_iso/8M ,
and then rounded up once to the next whole number
an example output of a real command session
"
dcfldd if=/dev/sdi of=/dev/null hashwindow=3999268864 bs=8M count=477
hashformat="#window_start# to #window_end# bytes: My md5 is #hash#" hash=md5
status=off
0 to 3999268864 bytes: My md5 is abb8f9ed08814ae1f8afccfc8d79db5d
3999268864 to 4001366016 bytes: My md5 is 4caf481e99bd7937041595c8da2840bd
Total (md5): 5c87be1c675d7960474ecf30bd366edf
"
(status=off was used to disable the default statusinterval message, it's
optional, and it would say if status=on
for the first line
"256 blocks (2048Mb) written.0 to 3999268864 bytes: My md5 is
abb8f9ed08814ae1f8afccfc8d79db5d"
which looks a bit confusing, but nothing is really written to, having
of=/dev/null
)
"abb8f9ed08814ae1f8afccfc8d79db5d" is the md5 checksum of the
Mageia3-beta iso-- so I know the dump was fully succesful
This tool is great.. with the increase of hybrid ISO'z I was looking for
an easy tool to use to dump iso images while showing a progress %.. This
tool also offers much more than dd, cat(such as dumping to multiple
devices, more than one of= can be used) and I will be telling other
document maintainers to consider including this tool for dumping ISO'z
..
It would be great if a command such as
dcfldd if=[USB DEVICE] vf=[image iso] would work because it's much simpler to
type.. I also tried vice-versa (vf=[image iso of=[USB DEVICE]), but to no
avail..
When the command with -vf works, the output is very simple saying
"Total: Match"
I know the original author is no longer around taking care of this
program.. and I believe this program isn't a very complex one, you may
also forward this to a Debian maintainer if this is the case..
Thank you for your support, would like to know what it can be that's
wrong with the vf option as it would really simplify things :)
** Affects: dcfldd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1162418
Title:
-vf option question/bug?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dcfldd/+bug/1162418/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs