EPERM is returned if windows was hibernated
parent
75668af15e
commit
f292546aed
|
@ -181,11 +181,14 @@ ntfs_volume * utils_mount_volume (const char *device, unsigned long flags, BOOL
|
|||
err = errno;
|
||||
Eprintf("Couldn't mount device '%s': %s\n", device,
|
||||
strerror(err));
|
||||
if (err == EOPNOTSUPP)
|
||||
Eprintf("Windows was either hibernated or did not "
|
||||
"shut down properly. Try to mount "
|
||||
"volume in windows, shut down and try "
|
||||
if (err == EPERM)
|
||||
Eprintf("Windows was hibernated. Try to mount volume "
|
||||
"in windows, shut down and try "
|
||||
"again.\n");
|
||||
if (err == EOPNOTSUPP)
|
||||
Eprintf("Windows did not shut down properly. Try to "
|
||||
"mount volume in windows, shut down "
|
||||
"and try again.\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue