当前位置:网站首页>/dev/loop1占用100%问题
/dev/loop1占用100%问题
2022-07-27 14:23:00 【叱咤少帅(少帅)】
现象

首先,这是正常现象! snap 使用的是 SquashFS 文件系统,这是一个只读的文件系统,所以它的大小在创建的时候一定是刚刚好能够存放它的内容就可以了,因为它是只读,所以它的大小之后不会改变。所以占用量肯定是 100% 啊。
卸载 snapd 是一个方法,但是 snapd 是运行 snap 所需的守护进程,使用 snap 下载应用、安装、运行、管理都需要它,它还包含 snap 命令供用户请求安装应用程序。如果你卸载了 snapd,snap 也就用不了了。
不过,虽然这是正常现象,但是看着特别碍眼啊,怎么办呢?
解决办法:
## 运行 df 命令时添加选项,不显示它就好了
df -x squashfs -h
## 你还可以取消显示 tmpfs、devtmpfs
df -x squashfs -x tmpfs -x devtmpfs -h如果嫌弃每次输选项麻烦,可以在 "~/.bashrc" 文件里起别名:
echo "alias df='df -x squashfs'" >> ~/.bashrc
云厂商做法
###
[email protected]边栏推荐
- Several basic uses of tl431-2.5v voltage reference chip
- 修改frameworks资源文件如何单编
- DIY制作示波器的超详细教程:(一)我不是为了做一个示波器
- Method of removing top navigation bar in Huawei Hongmeng simulator
- Leetcode 190. reverse binary bit operation /easy
- 华为鸿蒙模拟器去除顶部导航栏方法
- The first common node of the two linked lists of "Jianzhi offer"
- Is it safe to open an account on a mobile phone?
- Network equipment hard core technology insider router Chapter 5 tompkinson roaming the network world (Part 1)
- 资本频频加码,急于上市的和府捞面有多“疯狂”?
猜你喜欢

Unity性能优化------渲染优化(GPU)之Occlusion culling(遮挡剔除)

Huayun data creates a perfect information technology and innovation talent training system to help the high-quality development of information technology and innovation industry

4种单片机驱动继电器方案

reflex

JUC(JMM、Volatile)

3.3-5v conversion

Kotlin的基础用法

generic paradigm

Tools - common methods of markdown editor

STM32 can communication filter setting problem
随机推荐
Multi table query_ Exercise 1 & Exercise 2 & Exercise 3
MOS管防止电源反接的原理
Leetcode 456.132 mode monotone stack /medium
How to edit a framework resource file separately
Unity性能优化------渲染优化(GPU)之Occlusion culling(遮挡剔除)
STM32之CAN ---CAN ID过滤器分析
Code coverage statistical artifact -jacobo tool practice
西瓜书《机器学习》阅读笔记之第一章绪论
资本频频加码,急于上市的和府捞面有多“疯狂”?
Unity performance optimization ----- LOD (level of detail) of rendering optimization (GPU)
Network equipment hard core technology insider router Chapter 21 reconfigurable router
Distributed lock
Zhou Hongyi: if the digital security ability is backward, it will also be beaten
Sword finger offer cut rope
generic paradigm
LeetCode 783. 二叉搜索树节点最小距离 树/easy
DIY制作示波器的超详细教程:(一)我不是为了做一个示波器
Notice on printing and distributing the Interim Measures for the administration of green manufacturing pilot demonstration of Shenzhen Bureau of industry and information technology
Leetcode 190. reverse binary bit operation /easy
修改frameworks资源文件如何单编