嵌入式 U 盘自动挂载

1、在支持mdev的前提下

在 /etc/mdev.conf 文件添加如下内容 im6ul 测试ok

sd[a-z]?[1-9]? 0:0 660 * if [ $ACTION = "add" ]; then mount /dev/$MDEV /mnt; else umount /mnt; fi

参考博文

https://www.cnblogs.com/lifexy/p/7891883.html

https://blog.csdn.net/bjr2016/article/details/103220862/

猜你喜欢

转载自blog.csdn.net/u010261063/article/details/109361054