Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
终于知道怎么关闭硬盘休眠了
Experiences and Insight
1559
views ·
0
replies ·
To
floor
Go
devming
deepin
2019-05-06 00:01
Author
安装deepin在intel atom平台处理器的平板/微型电脑,或者intel 赛扬处理器系列的普通家用电脑上的时候,有些机器会经常出现因为硬盘停转导致的卡屏死机问题。那么解决的方法只能是关闭硬盘自动休眠和写入缓存功能。
具体方法是:首先使用 hdparm -y (设备名) 确定硬盘是否支持hdparm管理,如果可以的话,切换为root用户后编辑 /etc/hdparm.conf 文件,在文件末尾加入这样的区域就可以了。
/dev/sda { #设备名称
write_cache = off #写入缓存:关闭
spindown_time = 0 #休眠时间:不设置
}
Copy the Code
亲测该选项对USB设备无效,所以说如果是基于intel atom的嵌入式硬件的话就不用试了。
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
具体方法是:首先使用 hdparm -y (设备名) 确定硬盘是否支持hdparm管理,如果可以的话,切换为root用户后编辑 /etc/hdparm.conf 文件,在文件末尾加入这样的区域就可以了。
亲测该选项对USB设备无效,所以说如果是基于intel atom的嵌入式硬件的话就不用试了。