From cygwin Wed Mar 08 16:48:56 2006 From: "Chris January" Date: Wed, 08 Mar 2006 16:48:56 +0000 To: cygwin Subject: Re: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk Message-Id: <2ce9650b0603080848i74f74aex () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=cygwin&m=114183655008549 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/