X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Finspect_fs.c;h=ff5463405579cf7ff7ddbc87fa41aa6df1f6d85e;hb=ebe3d8f43a0ab7f60f3c1c612f117e793179f644;hp=d258ec46cc17695a6cd4d53fa7109ec3f7ccd028;hpb=2b0ca7e7b8d369a42a51b1feec72ae8f17257c78;p=libguestfs.git diff --git a/src/inspect_fs.c b/src/inspect_fs.c index d258ec4..ff54634 100644 --- a/src/inspect_fs.c +++ b/src/inspect_fs.c @@ -223,9 +223,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;