[opensuse] reading data file from cd/dvd with offset
Hello list members: Is there a way to read a data CD with a given offset? I mean, when I copy a file from the CD I want to set the beginning of the read before or after the point which is specified as the starting point in the CD's TOC. Thanks, IG -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 06 January 2009 17:36:56 Istvan Gabor wrote:
Hello list members:
Is there a way to read a data CD with a given offset? I mean, when I copy a file from the CD I want to set the beginning of the read before or after the point which is specified as the starting point in the CD's TOC.
dd if=/media/whatever/filename of=output-filename bs=1 skip=number_of_bytes_you_want_to_ignore assuming the cd is mounted under /media/whatever Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 07 January 2009 10:16, Istvan Gabor wrote:
dd if=/media/whatever/filename of=output-filename bs=1 skip=number_of_bytes_you_want_to_ignore
Thanks, I will try this. IG
This should work fine. There's a few things to be aware of: - The skip= option applies to the _input_ - The seek= option applies to the _output_ - The units for skip= is input blocks, given by ibs= (or bs=, default 512 bytes) - The units for seek= is output blocks, given by obs= (or bs=, default 512 bytes) Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anders Johansson
-
Istvan Gabor
-
Randall R Schulz