From eed0765ee5a4b578d57672e22665b63db526b971 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 13 Mar 2008 11:30:18 -0400 Subject: [PATCH] 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 --- utils/mountd/cache.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.39.2