| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YG,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4D31B0B5.7060406@t-online.de> |
| Date: | Sat, 15 Jan 2011 15:35:33 +0100 |
| From: | Christian Franke <Christian DOT Franke AT t-online DOT de> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.15) Gecko/20101027 SeaMonkey/2.0.10 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Output of /proc/partitions now incomplete on WinXP |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
At least under WinXP SP3 the output of /proc/partitions does not longer
list sda1, sda2, ... even if run with admin rights:
# cygcheck -f /bin/cygwin1.dll
cygwin-1.7.7-1
# cat /proc/partitions
major minor #blocks name
8 0 976762584 sda
8 16 976762584 sdb
It worked with 1.7.5-1 (but with admin rights only).
strace output contains this line for each missing sdXN:
... [main] cat 3992 format_proc_partitions: DeviceIoControl Win32 error 5
Problem is likely introduced by fhandler_proc.cc 1.91. The new method
without FILE_READ_DATA permission may work on Win7 but is apparently not
backward compatible with XP.
Christian
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |