当前位置:网站首页>/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]边栏推荐
- 《剑指Offer》 合并两个排序的链表
- npm install错误 unable to access
- The reverse order pairs in the "sword finger offer" array
- LeetCode 190. 颠倒二进制位 位运算/easy
- Photoelectric isolation circuit design scheme (six photoelectric isolation circuit diagrams based on optocoupler and ad210an)
- 网络设备硬核技术内幕 路由器篇 CISCO ASR9900拆解 (一)
- Leetcode 90. subset II backtracking /medium
- 仅做两项修改,苹果就让StyleGANv2获得了3D生成能力
- Network equipment hard core technology insider router Chapter 10 Cisco asr9900 disassembly (III)
- cap理论和base理论
猜你喜欢

Four kinds of relay schemes driven by single chip microcomputer
USB interface electromagnetic compatibility (EMC) solution

华为鸿蒙模拟器去除顶部导航栏方法

DIY ultra detailed tutorial on making oscilloscope: (1) I'm not trying to make an oscilloscope

IJCAI 2022 outstanding papers were published, and 298 Chinese mainland authors won the first place in two items

Unity 鼠标控制第一人称摄像机视角

Leetcode 190. reverse binary bit operation /easy

Selenium 报错:session not created: This version of ChromeDriver only supports Chrome version 81

Unity性能优化------渲染优化(GPU)之LOD(Level of detail)

EMC design scheme of USB2.0 Interface
随机推荐
Kotlin的基础用法
仪表放大器和运算放大器优缺点对比
Deveco studio2.1 operation item error
Reading notes of lifelong growth (I)
Multi table query_ Exercise 1 & Exercise 2 & Exercise 3
STM32学习之CAN控制器简介
谷歌团队推出新Transformer,优化全景分割方案|CVPR 2022
Notice of Nanshan District Civil Affairs Bureau on carrying out the grade evaluation of social organizations in Nanshan District in 2022
《剑指Offer》数组中的逆序对
ADB command (install APK package format: ADB install APK address package name on the computer)
Notice of Shenzhen Municipal Bureau of human resources and social security on the issuance of employment related subsidies for people out of poverty
npm install错误 unable to access
2022-07-27 Daily: IJCAI 2022 outstanding papers were published, and 298 Chinese mainland authors won the first place in two items
Network device hard core technology insider router Chapter 15 from deer by device to router (Part 2)
With just two modifications, apple gave styleganv2 3D generation capabilities
Basic usage of kotlin
2022-07-27日报:IJCAI 2022杰出论文公布,大陆作者中稿298篇拿下两项第一
How to edit a framework resource file separately
DIY制作示波器的超详细教程:(一)我不是为了做一个示波器
Sword finger offer cut rope