init_special_inode
---->字符设备节点i_fop = &def_chr_fops;--------->(重要的***)
----->块设备节点i_fop = &def_blk_fops
----->fifo节点i_fop = &def_fifo_fops;
----->sock节点i_fop = &bad_sock_fops
init_special_inode
---->字符设备节点i_fop = &def_chr_fops;--------->(重要的***)
----->块设备节点i_fop = &def_blk_fops
----->fifo节点i_fop = &def_fifo_fops;
----->sock节点i_fop = &bad_sock_fops
转载于:https://www.cnblogs.com/fourstupidguns/p/11072134.html