X-Spam-Check-By: sourceware.org Message-ID: <2ce9650b0603080848i74f74aex@mail.gmail.com> Date: Wed, 8 Mar 2006 16:48:56 +0000 From: "Chris January" Reply-To: "Chris January" To: cygwin AT cygwin DOT com Subject: Re: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k28Gn4CM000734 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. Chris -- 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/