Linux USB 设备自动挂载rules
在`/etc/udev/rules.d添加文件10-automount.rulesKERNEL!="sd[a-z]?", GOTO="automount_exit"ACTION=="add", SUBSYSTEM=="block", RUN+="/bin/mkdir /media/%E{ID_FS_LABEL}-%E{ID_FS_UUID}", RUN+="/bin/mount -o uid...
在`/etc/udev/rules.d添加文件10-automount.rulesKERNEL!="sd[a-z]?", GOTO="automount_exit"ACTION=="add", SUBSYSTEM=="block", RUN+="/bin/mkdir /media/%E{ID_FS_LABEL}-%E{ID_FS_UUID}", RUN+="/bin/mount -o uid...
Linux版MySQL表名区大小写Windows版MySQL表名不区大小写从Windows下导出的数据脚本中使用的是小写,所以再导入到Linux上所有的表名都是小写让MySQL不区分表名大小写的方法: 修改/etc/my.cnf 在``` [mysqld] ```下加入一行``` lower_case_table_names=1 ``` 重启数据库