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]

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
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


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