From: Oliver Neukum <oliver@neukum.org>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>
Subject: Re: Checking a USB drive's capacity
Date: Tue, 23 Dec 2008 13:32:32 +0100 [thread overview]
Message-ID: <200812231332.32818.oliver@neukum.org> (raw)
In-Reply-To: <49506E5B.5090604@shaw.ca>
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
prev parent reply other threads:[~2008-12-23 12:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 22:14 Alan Stern
2008-12-18 22:44 ` Alan Cox
2008-12-19 4:33 ` Alan Stern
2008-12-21 14:45 ` Alan Cox
2008-12-23 4:51 ` Robert Hancock
2008-12-23 12:32 ` Oliver Neukum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812231332.32818.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=axboe@kernel.dk \
--cc=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®