如何命令显示文件的"size on disk"而非"total size of file"?
这两个是pcmanfm的文件属性显示的
有什么命令能显示"size on disk"?
"size on disk"
貌似就是大小包含了最后一个占用的分配单元
比如1个字节的文件,在分配单元为4096字节的文件系统上,它的"size on disk"就是4096
Fri Mar 17 22:24:42 CST 2017补充:
pcmanfm的"total size of file"相当于"du --apparent-size"
pcmanfm的"size on disk"相当于普通的du
[已解决]如何命令显示文件的"size on disk"而非"total size of file"?
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 如何命令显示文件的"size on disk"而非"total size of file"?
https://sourceforge.net/p/pcmanfm/bugs/495/
The "properties" page for file(s) reports an incorrect total size for the property "Size on Disk". For example, a 513 byte file reports as being 8192 bytes on disk.
早期的 Bug Report
不知解決了沒
The "properties" page for file(s) reports an incorrect total size for the property "Size on Disk". For example, a 513 byte file reports as being 8192 bytes on disk.
早期的 Bug Report
不知解決了沒
-
- 帖子: 992
- 注册时间: 2007-12-05 10:57
- 系统: ubuntu14.04
- 来自: 金山
Re: 如何命令显示文件的"size on disk"而非"total size of file"?
ls -l --block-size=4096