当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Ctrl+Alt+SysRq+U之后浏览器(Chrome或Firefox)为何还能继续浏览网页?
帖子发表于 : 2015-12-14 22:14 

注册: 2013-05-26 6:58
帖子: 2154
系统: Debian 9
送出感谢: 893
接收感谢: 30
Ctrl+Alt+SysRq+U之后浏览器(Chrome或Firefox)为何还能继续浏览网页?
尤其是那些还包含图片,视频之类,磁盘系统设置为只读了,这些资源被保存到什么地方了?
是保存在某个特殊的基于内存的目录,还是保存在对用户透明的buffer内存区?


最后由 科学之子 编辑于 2015-12-14 22:26,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: Ctrl+Alt+SysRq+R之后浏览器(Chrome或Firefox)为何还能继续浏览网页?
帖子发表于 : 2015-12-14 22:24 
头像

注册: 2011-03-20 13:12
帖子: 4519
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
引用:
Ctrl+Alt+SysRq+R
磁盘系统设置为只读了


1.
REISUB
引用:
r – Puts the keyboard into raw mode, taking control of it away from the X server.
e – Sends the terminate signal to all processes, asking them to end gracefully.
i – Sends the kill signal to all processes, forcing them to end immediately.
s – Flushes data from your cache to disk.
u – Remounts all file systems read-only.
b – Reboots your computer.


2.
检查是否启用 /proc/sys/kernel/sysrq
编辑 /etc/sysctl.conf 加入 kernel.sysrq=1

参考
https://en.wikipedia.org/wiki/Magic_SysRq_key
http://askubuntu.com/questions/11002/alt-sysrq-reisub-doesnt-reboot-my-laptop
http://www.howtogeek.com/119127/use-the-magic-sysrq-key-on-linux-to-fix-frozen-x-servers-cleanly-reboot-and-run-other-low-level-commands/
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1025467
http://unix.stackexchange.com/questions/124393/why-isnt-reisub-working-on-debian


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户



_________________
评价: 3.7% 科学之子
 
页首
 用户资料  
 
3 楼 
 文章标题 : Re: Ctrl+Alt+SysRq+R之后浏览器(Chrome或Firefox)为何还能继续浏览网页?
帖子发表于 : 2015-12-14 22:30 

注册: 2013-05-26 6:58
帖子: 2154
系统: Debian 9
送出感谢: 893
接收感谢: 30
vickycq 写道:
引用:
Ctrl+Alt+SysRq+R
磁盘系统设置为只读了


1.
REISUB
引用:
r – Puts the keyboard into raw mode, taking control of it away from the X server.
e – Sends the terminate signal to all processes, asking them to end gracefully.
i – Sends the kill signal to all processes, forcing them to end immediately.
s – Flushes data from your cache to disk.
u – Remounts all file systems read-only.
b – Reboots your computer.


2.
检查是否启用 /proc/sys/kernel/sysrq
编辑 /etc/sysctl.conf 加入 kernel.sysrq=1

参考
https://en.wikipedia.org/wiki/Magic_SysRq_key
http://askubuntu.com/questions/11002/alt-sysrq-reisub-doesnt-reboot-my-laptop
http://www.howtogeek.com/119127/use-the-magic-sysrq-key-on-linux-to-fix-frozen-x-servers-cleanly-reboot-and-run-other-low-level-commands/
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1025467
http://unix.stackexchange.com/questions/124393/why-isnt-reisub-working-on-debian

我按了这个快捷键之后,就无法创建磁盘文件,dmesg也显示ext4写入错误
所以魔术键应该是有效的
但明明磁盘已经只读了,Chrome和Firefox还能几乎像"没事人"一样正常浏览网页,除了不能执行另存为,好像各种内容的网页都能正常浏览
Ctrl+Alt+SysRq+U才是我想表达的快捷键,刚刚写成R是写错了...


页首
 用户资料  
 
4 楼 
 文章标题 : Re: Ctrl+Alt+SysRq+U之后浏览器(Chrome或Firefox)为何还能继续浏览网页?
帖子发表于 : 2015-12-14 23:57 
头像

注册: 2008-09-18 13:11
帖子: 2781
送出感谢: 1
接收感谢: 453
为什么你会觉得非要把资源保存到磁盘上才能用呢?



_________________
评价: 3.7% 科学之子
 
页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译