[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081218224418.01fc26a4@lxorguk.ukuu.org.uk>
Date: Thu, 18 Dec 2008 22:44:18 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Alan Stern <stern@...land.harvard.edu>
Cc: Jens Axboe <axboe@...nel.dk>,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: Checking a USB drive's capacity
> spun up yet. Not to mention that it seems strange to read the last
> sector before reading the first!
The SCSI CD code deals with this by spotting the error is close to the
end and of particular types then interpreting it and adjusting the volume
size. This is done because the size value for a CD-R/RW is imprecise.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists