http://bugs.winehq.org/show_bug.cgi?id=20081
Summary: Add ability to simply call the unix function mknod() Product: Wine Version: 1.1.29 Platform: PC URL: http://rh-software.com/ OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ray@pobox.co.uk
Please can a wine_mknod() function be added that can be loaded in a similar way to wine_get_host_version() that SIV could use ? Currently I am having to do this using code similar to: stprintf( b, TEXT( "/bin/mknod -m %o /dev/cpu/%u/msr c 202 %u" ), m, i, i ); _tsystem( b ); which works, but is not ideal if there is a failure and I should report an error. Having this in ntdll.dll would make things very easy, but I am not sure if this is the appropriate .dll to use, I would be happy to load any .dll.