lkml.org 
[lkml]   [2008]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Checking a USB drive's capacity
Date
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



\
 
 \ /
  Last update: 2008-12-23 13:35    [from the cache]
©2003-2011 Jasper Spaans