X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Finspect.c;fp=src%2Finspect.c;h=e7408b692704609cf1007b2e6001c313cbb69c41;hb=faa0c22cce27c418d1474ad745be5d00bb08ffd0;hp=370220b584f13778b95f0f7198e2112abe387394;hpb=df4dce74a887e013a6aec51e241a90cfb7d3b36a;p=libguestfs.git diff --git a/src/inspect.c b/src/inspect.c index 370220b..e7408b6 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -360,9 +360,9 @@ check_filesystem (guestfs_h *g, const char *device) * would *not* be Windows root disks. (RHBZ#674130) */ else if (is_file_nocase (g, "/AUTOEXEC.BAT") > 0 || - is_dir_nocase (g, "/WINDOWS") > 0 || - is_dir_nocase (g, "/WIN32") > 0 || - is_dir_nocase (g, "/WINNT") > 0 || + is_dir_nocase (g, "/WINDOWS/SYSTEM32") > 0 || + is_dir_nocase (g, "/WIN32/SYSTEM32") > 0 || + is_dir_nocase (g, "/WINNT/SYSTEM32") > 0 || is_file_nocase (g, "/boot.ini") > 0 || is_file_nocase (g, "/ntldr") > 0) { fs->is_root = 1;