This is the mail archive of the
mailing list for the Cygwin project.
Output of /proc/partitions now incomplete on WinXP
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Sat, 15 Jan 2011 15:35:33 +0100
- Subject: Output of /proc/partitions now incomplete on WinXP
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
# 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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple