X-Spam-Check-By: sourceware.org Date: Thu, 9 Mar 2006 10:01:34 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk Message-ID: <20060309090134.GW3184@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2ce9650b0603080848i74f74aex AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ce9650b0603080848i74f74aex@mail.gmail.com> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 8 16:48, Chris January wrote: > On 08/03/06, Loh, Joe wrote: > > Then we proceed to removing the first USB disk, i.e. /dev/sdb, using the > > the "Safe Removal" method from Windows. Once that operation completes > > we "cat" the /proc/partitions again. This time, the only disk shown is > > /dev/sda, which is the system disk. The second USB disk was never > > removed. The second "dd" on /dev/sdc proves that the disk is still > > accessible eventhough /proc/partitions never shows it. The sequence of > > event is captured in the following text. We are also attaching the > > cygcheck output as well. > > This is a bug. The format_proc_partitions assumes that drives are > numbered consecutively - which is not the case if you hot remove a > drive. That should be fixed now. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/