论回收站的重要性

起因

某一天,我正在折腾 aria2,不知道为什么守护进程一直起不来,google 了半小时也没进展,忽然福至心灵

archlinux滚挂

昨天晚上滚动更新了一次,今天早上重启电脑发现挂了……这是第一次滚挂,有点兴奋(#滑稽)

输出如下:

1
2
3
4
5
6
Warning:/lib/modules/4.20.3-arch1-1-ARCH/modules.devname not found - ignoring
starting version 240
ERROR: device UUID=xxxxxxx not found.Skipping fsck.
mount: /new_root: Can't find UUID=xxxxxxx.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off

解决archlinux下无法打开atom终端的问题

某次滚动更新以后忽然发现 Atom 的终端不能用了(platformio-atom-ide-terminal),到 issues 里翻了一下,貌似出现这个问题的都是 Manjaro/Arch 用户,解决方法如下:

1
2
$ cd ~/.atom/packages/platformio-ide-terminal
$ vim lib/process.coffee

将第一行的 pty = require 'pty.js' 改为 pty = require 'node-pty-prebuilt'

1
$ vim package.json

添加依赖:"node-pty-prebuilt": "^0.7.6"

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×