delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/08/11:49:08

X-Spam-Check-By: sourceware.org
Message-ID: <2ce9650b0603080848i74f74aex@mail.gmail.com>
Date: Wed, 8 Mar 2006 16:48:56 +0000
From: "Chris January" <chris AT atomice DOT net>
Reply-To: "Chris January" <chris AT atomice DOT net>
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: <E05F1FD208D5AA45B78B3983479ECF0856C3AF@saturn.p3corpnet.pivot3.com>
MIME-Version: 1.0
References: <E05F1FD208D5AA45B78B3983479ECF0856C3AF AT saturn DOT p3corpnet DOT pivot3 DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019