Charles Wilson wrote: >>> The same patch should go into getVolInfo in csih. Patch below. >> New patch below. >> >> * cygwin/getVolInfo.c: Check ZwOpenFile status code for >> STATUS_INVALID_PARAMETER and retry top open with FILE_READ_DATA >> access. Simply STATUS_NO_MEDIA_IN_DEVICE condition. > > Thanks. I'll roll a new release this weekend (for cygwin-1.7 only).
Applied with minor changes (getVolInfo doesn't use the same variable names as the cygwin internal implementation). line 90: - status = NtOpenFile (&vol, FILE_READ_DATA, &attr, &io, + stat = NtOpenFile (&h, FILE_READ_DATA, &attr, &io, csih-0.9.1 should be hitting the mirrors soon. -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple