Re: Problem with dd and /dev/sr0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 03/14/2016 12:48 PM, Dave Mitchell wrote:
On Mon, Mar 14, 2016 at 11:11:31AM -0600, jd1008 wrote:
Hi all,
time dd if=/dev/sr0 of=Our_Group_Picnic.iso bs=64M skip=5888
conv=noerror,notrunc oflag=append
dd: ‘/dev/sr0’: cannot skip: Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000301689 s, 0.0 kB/s

but

{3464-jd@localhost}$ time dd if=/dev/sr0 of=Our_Group_Picnic.iso bs=64M
conv=noerror,notrunc

works just fine.
5888 * 64M  is 368 GiB. Is your optical disk really that big?
For a smaller skip it should work just fine. On my system with a DVD:

     $ strace -o /tmp/tr dd bs=64M skip=5888 count=3 if=/dev/sr0 of=/dev/null
     dd: ‘/dev/sr0’: cannot skip: Invalid argument

     $ strace -o /tmp/tr dd bs=64M skip=1 count=3 if=/dev/sr0 of=/dev/null
     3+0 records in
     3+0 records out
     201326592 bytes (201 MB) copied, 44.0739 s, 4.6 MB/s
     $


You are correct here. My mistake.
But, please take a look at what I just replied to Rick.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux