--- zpool_vdev.c.orig 2010-04-03 19:57:46.529566306 +0200 +++ zpool_vdev.c 2010-04-03 19:59:50.906582100 +0200 @@ -407,7 +407,7 @@ * examining the file descriptor afterwards. */ wholedisk = is_whole_disk(arg); - if (!wholedisk && (stat64(arg, &statbuf) != 0)) { + if (stat64(arg, &statbuf) != 0) { (void) fprintf(stderr, gettext("cannot open '%s': %s\n"), arg, strerror(errno)); @@ -425,7 +425,7 @@ (void) snprintf(path, sizeof (path), "%s/%s", DISK_ROOT, arg); wholedisk = is_whole_disk(path); - if (!wholedisk && (stat64(path, &statbuf) != 0)) { + if (stat64(path, &statbuf) != 0) { /* * If we got ENOENT, then the user gave us * gibberish, so try to direct them with a