Hi again, Gregor.

On Aug 29 2009, gregor herrmann wrote:
> I've also seen different results for the same disc before.

Thanks for confirming that. :-)


> On Fri, 28 Aug 2009 18:56:40 -0300, Rogério Brito wrote:
> > It seems that the program doesn't consider the time the disc takes to
> > spin up into account. This would make it give more reliable results.
> 
> Good idea, thanks.
> 
> I'll discuss it with upstream, let's see if he has some ideas.

Just one quick, wild, not tested idea:

To make the disc spin up in a "portable" way (i.e., one that doesn't
really needs the Linux kernel, as we may be interested in supporting bsd
also), one can, in the worst of the cases, just read the first sector of
the disc, ignore it (which, by that time, should already have spun up)
wait, say, 1 second and start the usual procedure.

Of course, this idea is flawed in the sense that, if the first sector is
unreadable, then, depending on the reading strategy, the drive may
become stuck there.

But, at least, this is a quick'n'dirty solution.


Thanks, Rogério Brito.

P.S.: BTW, thanks for your comments on the thread that I started in both
-devel and -mentors regarding the flood of ITP's and people not focusing
on the *current* packages.
-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to