Re: Curious: Hang at open trying to rip dvd?

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

 



Hi,

Tom Horsley wrote:
> I have a nice modern LG WH16NS40 Blu-ray rewriter [...]
> trying to rip a DVD [...]
> openat(AT_FDCWD, "/dev/sr0", O_RDONLY  <-- never finishes till I unplug it

That's not usual. I have a BH16NS40 in a USB box from DeLOCK. No problems
to open it with any medium.

In general it is strange that open(2) or openat(2) make a difference
between BD and DVD media. At that time the computer has no clue what's
in the drive.
It might be about using option O_NDELAY. In libburn's source code i have
this comment from 2007:
  Switched to O_NDELAY for LKML statement 2007/4/11/141 by Alan Cox:
  "open() has side effects. The CD layer allows you to open
  with O_NDELAY if you want to avoid them."
(IIRC it was about accessing a drive that is busy with burning and
 takes offense already from open(2).)


What program do you use for ripping ?

If not yet dd, what do you get from this:

  image_file=...path.where.to.store.data...

  dd if=/dev/sr0 bs=1M of="$image_file"

or

  dd if=/dev/sr0 bs=1M iflag=nonblock of="$image_file"


What would a burn program say about the DVD ?
E.g. one of these runs:

  dvd+rw-mediainfo /dev/sr0

  xorriso -outdev /dev/sr0 -toc


Have a nice day :)

Thomas
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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