Re: About /dev/sr impatience with automatic tray loading

2018-12-12 Thread David Wright
On Wed 12 Dec 2018 at 06:27:06 (-0500), Dan Ritter wrote: > Erik Christiansen wrote: > > On 11.12.18 09:44, Dan Ritter wrote: > > > mick crane wrote: > > > > On 2018-12-10 20:02, Thomas Schmitt wrote: > > > > > For the purpose of sr_drive_status(), the loop is really > > > > > inappropriate. >

Re: About /dev/sr impatience with automatic tray loading

2018-12-12 Thread Dan Ritter
Erik Christiansen wrote: > On 11.12.18 09:44, Dan Ritter wrote: > > mick crane wrote: > > > On 2018-12-10 20:02, Thomas Schmitt wrote: > > > > For the purpose of sr_drive_status(), the loop is really inappropriate. > > > > This function shall obtain the drive status and not wait until the > > >

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Erik Christiansen
On 11.12.18 09:44, Dan Ritter wrote: > mick crane wrote: > > On 2018-12-10 20:02, Thomas Schmitt wrote: > > > For the purpose of sr_drive_status(), the loop is really inappropriate. > > > This function shall obtain the drive status and not wait until the > > > status of the medium is decided. > >

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread John Hasler
Greg writes: > Americans (at least in my part of the country) never use "shall" at > all. To us, it simply sounds archaic. We'd expect it in the King James > Bible, or in certain kinds of fantasy literature. I might use it in a question but other uses are archaic except in a legalistic context

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Gene Heskett
On Tuesday 11 December 2018 12:31:46 Greg Wooledge wrote: > On Tue, Dec 11, 2018 at 06:22:56PM +0100, Thomas Schmitt wrote: > > Dan Ritter wrote: > > > The English use it more than Americans do. > > > > In school it was a big deal to distinguish "will" and "shall". > > (I was very eager to forget

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Tony van der Hoff
On 11/12/18 17:31, Greg Wooledge wrote: > On Tue, Dec 11, 2018 at 06:22:56PM +0100, Thomas Schmitt wrote: >> Dan Ritter wrote: >>> The English use it more than Americans do. >> >> In school it was a big deal to distinguish "will" and "shall". >> (I was very eager to forget the exact rules when

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Greg Wooledge
On Tue, Dec 11, 2018 at 06:22:56PM +0100, Thomas Schmitt wrote: > Dan Ritter wrote: > > The English use it more than Americans do. > > In school it was a big deal to distinguish "will" and "shall". > (I was very eager to forget the exact rules when nobody cared any more.) Americans (at least in

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Thomas Schmitt
Hi, i wrote: > > This function shall obtain the drive status and not wait until the > > status of the medium is decided. mick crane wrote: > I have noticed that people whose first language might not be english use > "shall" as apposed to "will" or "should". The topic has its own wikipedia

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Gene Heskett
On Tuesday 11 December 2018 06:25:43 Thomas Schmitt wrote: > Hi, > > i wrote: > > > I know some more such dumplings. > > Gene Heskett wrote: > > So do I, Thomas, but this is supposedly a polite list. :) > > I actually meant the bugs, not the bug makers whose sympathy is > probably needed to ever

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Dan Ritter
mick crane wrote: > On 2018-12-10 20:02, Thomas Schmitt wrote: > > For the purpose of sr_drive_status(), the loop is really inappropriate. > > This function shall obtain the drive status and not wait until the > > status of the medium is decided. > > > completely off the topic but I have

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread mick crane
On 2018-12-10 20:02, Thomas Schmitt wrote: Hi, Gene Heskett wrote: Perhaps that patch could be reverted, It had its legitimate intentions, 10 years ago. See https://github.com/torvalds/linux/commit/210ba1d1724f5c4ed87a2ab1a21ca861a915f734 and a glimpse of the following woes

Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Thomas Schmitt
Hi, i wrote: > > I know some more such dumplings. Gene Heskett wrote: > So do I, Thomas, but this is supposedly a polite list. :) I actually meant the bugs, not the bug makers whose sympathy is probably needed to ever get the bugs fixed. (When pointing with one finger at others, three fingers

Re: About /dev/sr impatience with automatic tray loading

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 15:02:44 Thomas Schmitt wrote: > Hi, > > Gene Heskett wrote: > > Perhaps that patch could be reverted, > > It had its legitimate intentions, 10 years ago. > See > > > https://github.com/torvalds/linux/commit/210ba1d1724f5c4ed87a2ab1a21ca >861a915f734 > > and a glimpse

Re: About /dev/sr impatience with automatic tray loading

2018-12-10 Thread Thomas Schmitt
Hi, Gene Heskett wrote: > Perhaps that patch could be reverted, It had its legitimate intentions, 10 years ago. See https://github.com/torvalds/linux/commit/210ba1d1724f5c4ed87a2ab1a21ca861a915f734 and a glimpse of the following woes

Re: About /dev/sr impatience with automatic tray loading

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 12:46:41 Thomas Schmitt wrote: > Hi, > > i wrote: > > > A workaround in K3b would be let it retry on error ENOMEDIUM for > > > about 30 seconds and to only then give up. > > Gene Heskett wrote: > > That ought to be doable, but would that not delay the ready by > >

Re: About /dev/sr impatience with automatic tray loading

2018-12-10 Thread Thomas Schmitt
Hi, i wrote: > > A workaround in K3b would be let it retry on error ENOMEDIUM for about > > 30 seconds and to only then give up. Gene Heskett wrote: > That ought to be doable, but would that not delay the ready by banging on > the drive for a status report during that time? It only has so much

Re: About /dev/sr impatience with automatic tray loading

2018-12-10 Thread Gene Heskett
On Monday 10 December 2018 08:58:39 Thomas Schmitt wrote: > I wrote: [...] > > > I use: > > > xorriso -outdev /dev/sr0 > > > before trying to read the medium by POSIX i/o like dd(1) or > > > read(2). > > Gene Heskett wrote: > > This is also something that has not been installed till now, and

About /dev/sr impatience with automatic tray loading

2018-12-10 Thread Thomas Schmitt
Hi, i'm starting this spin-off thread to avoid pollution of "dd: error reading '/dev/sr0': Input/output error" I wrote: > ... > (We have a bug in the kernel since 2008 which prevents waiting for > ... > the drive to become ready after automatic tray loading. > > The old timeout limit was 20