From: Steinar H. Gunderson Date: Thu, 13 Mar 2008 15:30:18 +0000 (-0400) Subject: Stop rpc.mountd from probing all known devices which causes X-Git-Tag: nfs-utils-1-1-2~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=eed0765ee5a4b578d57672e22665b63db526b971;p=nfs-utils.git Stop rpc.mountd from probing all known devices which causes idle disks to spin up for basically no reason. Signed-off-by: Steinar H. Gunderson Signed-off-by: Steve Dickson --- diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 3a50c26..f555dcc 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -184,8 +184,6 @@ int get_uuid(char *path, char *uuid, int uuidlen, char *u) if (cache == NULL) blkid_get_cache(&cache, NULL); - blkid_probe_all_new(cache); - if (stat(path, &stb) != 0) return 0; devname = blkid_devno_to_devname(stb.st_dev);