Il giorno 26/ago/08, alle ore 14:53, Michael DeHaan ha scritto: You're joking, aren't you? I think you know floats are approximate values and not exact ones: you can't expect to take out of a float the same number you put in. Also, everyone knows that bytes are heavier than water so they won't float :-) The correct answer is to increase the counter size, my /1024 hack was just to get it running now. awww right, I hadn't thought about that. thanks. I'm not using any external process/command/utility and am actually using proc. While this won't be portable on non-linux kernels, it's always better than parsing output from /bin/df or whatever. Was yours an implicit reference to minion/modules/mount.py:27 ? -- Luca Lesinigo |
_______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list