Web lists-archives.com

Re: dd: error reading '/dev/sr0': Input/output error




On Monday 10 December 2018 04:37:10 Thomas Schmitt wrote:

> Hi,
>
> Jude DaShiell wrote:
> > Why not prefix that dd command with a sudo udevadm settle command
> > and only allow the dd command to run on success case?
>
> man udevadm says:
>
>   udevadm settle [options]
>        Watches the udev event queue, and exits if all current events
> are handled.
>
> We have no indication yet that the udev event queue is involved.
> (I'd also say that udev traditionally makes additional trouble rather
> than preventing some.)
>
> ----------------------------------------------------------------------
>----- Off topic again:
> (If dd can read 33 MiB, then it is not a start-up problem.)
>
> The known impatience of Linux with automatic tray loading can be
> worked around by pulling in the tray with a burn program (eject -t
> falls victim to the kernel impatience).
> I use:
>
>   xorriso -outdev /dev/sr0
>
> before trying to read the medium by POSIX i/o like dd(1) or read(2).
>
This is also something that has not been installed till now, and has more 
buttons than grandma's button jar. But could it be configured into k3b 
for automatic usage? $64k question...

Thanks Thomas
>
> Have a nice day :)
>
> Thomas



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>