[Za-pm] Behaviour of opendir: continued

Dr Giancarlo Contrafatto contrafa at biology.und.ac.za
Tue Aug 12 02:41:52 CDT 2003


Hi;

right ... it looks like Oskar was correct. Running opendir (and readdir)
from ext3 environment on data sitting in an ext2 drive is not the cause
of opendir weirdness.

Not a major problem since I can get the script to work by using another
perlfunc anyway. Not knowing the innards of the opendir function,
though, makes it a bit difficult to figure why it should do this. I'm
now wondering if opendir may not be making a "findfile" system call, or
something that looks into the file database anyway. In this case, I
suspect that one may have to refresh the file database after creating
new directory entries. How does this smell?

ciao

-- 
if you wish to savour your virtues, commit a sin from time to time. Ugo Ojetti
####################################################################
Dr. Giancarlo Contrafatto
School of Life and environmental Sciences
University of Natal, 4041, Durban, RSA
Tel: +27 031 2603336 contrafa at biology.und.ac.za
####################################################################
visit Darwin at http://contra.biology.und.ac.za/




More information about the Za-pm mailing list