2 您可以使用stat系列函数之一。这些数字位于st_rdev字段中。使用sys/mkdev.h中定义的major/minor函数来检索它们。 来源 2010-09-21 08:20:11 jlliagre