I can't figure out how to get the major and minor numbers of a char special file under Linux. What I want is the st_rdev field of the stat struct, but os.stat doesn't seem to return that field. -- Grant Edwards grante Yow! I feel real at SOPHISTICATED being in visi.com FRANCE!