This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.19(0.150/4/2): missing device in /proc/partition after removing USB disk


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]