name, (tr->part_bits?'a':'0') + new->devnum); snprintf(gd->devfs_name, sizeof(gd->devfs_name), " />
红联Linux门户
Linux帮助

研究了linux自动mknod

发布时间:2007-05-10 00:35:08来源:红联作者:Amayjasne
特别是 mtd 这部分,确实长见识啊!

snprintf(gd->disk_name, sizeof(gd->disk_name),
"%s%c", tr->name, (tr->part_bits?'a':'0') + new->devnum);
snprintf(gd->devfs_name, sizeof(gd->devfs_name),
"%s/%c", tr->name, (tr->part_bits?'a':'0') + new->devnum);
文章评论

共有 0 条评论