01 2021 档案

摘要:切换root用户 sudo su # 查看linux系统所在分区, 我的系统是/dev/sda1 fdisk -l # 进行挂在操作, 使用chroot mount /dev/sda1 /mnt mount --bind /dev /mnt/dev mount --bind /dev/pts /mn 阅读全文
posted @ 2021-01-15 13:26 海里木有鱼 阅读(384) 评论(0) 推荐(0)
摘要:例子参考博客文章: LINUX下 Udev详解 首先在新建此文件在/etc/udev/rules.d/目录下新建010.udev.rules,填入以下内容: ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /mnt/usb%n" 阅读全文
posted @ 2021-01-13 16:21 海里木有鱼 阅读(590) 评论(0) 推荐(0)
摘要:setuptools 的setup参数 Standard commands: build build everything needed to install build_py "build" pure Python modules (copy to build directory) build_e 阅读全文
posted @ 2021-01-12 15:38 海里木有鱼 阅读(1701) 评论(0) 推荐(0)