Forum: Cfengine Help
Subject: Re: disk space monitoring
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,18152,18153#msg-18153

Looking at the code, this seems like a bug to me. From src/verify_storage.c, in 
the IsForeignFileSystem() function (line 374):

if (childstat->st_dev != parentstat.st_dev)
   {
   Debug2("[%s is on a different file system, not descending]\n",dir);
   return (true);
   }

The check here is for whether the directory and its parent are on the same 
device, which is clearly not the case also for locally-mounted filesystems.

Can one of the cfengine devs comment? Should we file a bug for this?

--Diego

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to