On 07/25/2017 05:33 AM, Alexandre Julliard wrote:
Zebediah Figura z.figura12@gmail.com writes:
Using GetVolumeInformation may fail due to lack of permissions; e.g. when the drive was mounted as root. This patch uses libudev, if it is available, to retrieve the volume label, serial number, and type.
Signed-off-by: Zebediah Figura z.figura12@gmail.com
dlls/kernel32/Makefile.in | 3 +- dlls/kernel32/volume.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-)
libudev should be loaded dynamically, and that sort of thing should ideally be done in mountmgr.
Should I move any existing code from GetVolumeInformation() into mountmgr.sys? What are the responsibilities of each module in this respect?