Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

mac 显示文件夹简介 占用空间 和实际占用空间不一致?

mac 显示文件夹简介 占用空间 和实际占用空间不一致
屏幕快照 2020-06-15 下午6.15.58.png
总共10G
屏幕快照 2020-06-15 下午6.16.30.png
子文件加起来 才5G左右。

mac 显示简介 功能。
屏幕快照 2020-06-15 下午6.19.28.png

为什么会这样?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

基本认知,操作系统读取和存储的基本单元不是bit,而是页,比如4k。比如你的一个文件即使实际内容不足4k,存储仍然占用4k。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...