Forum: CFEngine Help
Subject: Re: querying mountpoints
Author: juriskrumins
Link to topic: https://cfengine.com/forum/read.php?3,26982,26988#msg-26988

An aside about "/etc/mtab" vs. "/proc/mounts". For Linux I had attempted to 
read "/proc/mounts", but cfengine doesn't read in anything. I suspect this is 
because "/proc" presents this pseudo-file as zero-length until it is actually 
read, and that cfengine sees the "zero-length" attribute and skips the reading. 
Or something like that.

This issue https://cfengine.com/bugtracker/view.php?id=1136  states that 
reading zero-length file should be fine as of version 3.3.3. So in case it's 
not true (as You've mentioned) we have to fill/reopen bug report.

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

Reply via email to