Forum: CFEngine Help Subject: Re: readstringlist weird behaviour when reading /proc/mounts on linux Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,26596,26597#msg-26597
Most files under /proc (including /proc/mounts) report a size of zero bytes. CFEngine's file-reading function checks the file size: https://github.com/cfengine/core/blob/master/src/evalfunction.c#L3746 This is why reads on this file are not returning anything. I'm not sure if this qualifies as a bug or not - maybe one of the developers on the list can provide a better answer for this. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine