[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200812231332.32818.oliver@neukum.org>
Date: Tue, 23 Dec 2008 13:32:32 +0100
From: Oliver Neukum <oliver@...kum.org>
To: Robert Hancock <hancockr@...w.ca>
Cc: linux-kernel@...r.kernel.org, Jens Axboe <axboe@...nel.dk>
Subject: Re: Checking a USB drive's capacity
Am Dienstag, 23. Dezember 2008 05:51:39 schrieb Robert Hancock:
> It seems to me that the safest solution would be to mark USB storage
> devices as unsafe for last-sector partition table probing, like some
> kind of CAPACITY_DUBIOUS flag, causing it to be skipped on these
> devices, at least by default. After all, it would seem quite unusual to
> see anything other than a DOS-style partition table on a USB storage
> device (or else no partition table at all).
That would not help if user space (especially udev helpers) go for the end
of the device.
Regards
Oliver
--
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