3 ms·
Dd if=/(name of drive) Bs=1 Of=/( name of drive to copy to include the path Conv=notrunc Create a directory and a file on the target machine first a name like
by newname2018 8y ago
Dd if=/(name of drive)
Bs=1
Of=/( name of drive to copy to include the path
Conv=notrunc
Create a directory and a file on the target machine first a name like /myfile/this file
Then to create a bit by bit copy of that file use this command
Something like this
Dd if=/dev/cdrom bs=1 of=/dev/sdc/myfile/thisfile.iso conv=notrunc
- pronoiac 8y agoI’d use gddrescue - it logs what it’s successfully read, so you can try multiple drives. And there should be some way of reading the dvd / volume title from a script.
- Dylan16807 8y agoWhy set the block size to 1? Isn't that just going to cause a ridiculous amount of syscalls?
- ars 8y agoYah, and be incredibly slow as well. It should be at a minimum 32K which is the DVD block size, but even larger would be better (but may interleave badly with IO to other devices).
- anticensor 8y agoIt should be 2048 which is DVD sector size.
- ars 8y agoBecause of ECC it doesn't read a single sector at a time. And actually even 32K is not large enough for good performance, you should go higher, maybe 1MB.
- TomMarius 8y agoThat does not deal with DRM
- em-bee 8y agodoes it need to? from the source material it sounds like there should not be any DRM on it, but even if, does DRM prevent a bitwise copy of a media? if not, you can deal with DRM after making the copy.
- TomMarius 8y agoIt was mentioned elsewhere - some drives will randomly flip bits in order to make bitwise copies impossible if you just start copying. A software that can actually correctly work with the CD/DVD drive is necessary.