如何在unix中同时使用--block-size=512和-b命令?

发布于 2025-01-17 16:15:24 字数 344 浏览 1 评论 0原文

我现在正在学校学习Unix,在这里我遇到了一个问题。

我试图弄清楚群集大小为512、1024、4096字节中的群集计数分配是什么。

因此,我尝试使用du-block-size = 512-b一起,但是它从未一起工作(我以多种不同的方式尝试)

如何命令它要在字节中获取群集计数?

另外,我需要弄清楚什么是内部碎片以及什么是未使用的字节数。

谁能教我怎么做?我正在使用Cygwin

谢谢!

du -b --block-size=512

预计约为18,294,470.5

I am studying Unix at school now, and I am stuck on a question here.

I am trying to figure out what is the cluster count allocation when cluster size is 512 , 1024, 4096 in bytes.

so i tried to use du --block-size=512 and -b together, but it never worked together(I tried in many different ways)

How can i command it to get cluster count in bytes??

Also, I need to figure out what's the internal fragmentation and what is unused numbers of bytes.

Can anyone teach me how to do it? I am using Cygwin

Thanks!

du -b --block-size=512

expected to see roughly numbers of 18,294,470.5

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文