|
发表于 2021-11-29 17:51:01
|
显示全部楼层
本帖最后由 肉肉珩 于 2021-11-29 17:54 编辑
可以试试dumpe2fs -h 后边加路径
例如:
root@forlinx:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p4 5.9G 4.4G 1.5G 75% /
devtmpfs 985M 0 985M 0% /dev
tmpfs 994M 0 994M 0% /dev/shm
tmpfs 994M 1.1M 993M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 994M 0 994M 0% /sys/fs/cgroup
tmpfs 199M 4.0K 199M 1% /run/user/1000
/dev/mmcblk0p6 1.1G 2.9M 1022M 1% /media/forlinx/data
/dev/mmcblk0p1 128M 5.4M 123M 5% /media/forlinx/Volumn
tmpfs 199M 0 199M 0% /run/user/0
root@forlinx:~# dumpe2fs -h /dev/mmcblk0p4
dumpe2fs 1.44.1 (24-Mar-2018)
Filesystem volume name: <none>
Last mounted on: /
Filesystem UUID: 57f8f4bc-abf4-655f-bf67-946fc0f9f25b
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode filetype needs_recovery extent sparse_super large_file uninit_bg
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Remount read-only
Filesystem OS type: Linux
Inode count: 393216
Block count: 1572864
Reserved block count: 0
Free blocks: 386203
Free inodes: 281326
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 383
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Last mount time: Mon Nov 29 16:06:57 2021
Last write time: Mon Nov 29 16:06:57 2021
Mount count: 4
Maximum mount count: -1
Last checked: Thu Jan 1 08:00:00 1970
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: tea
Journal backup: inode blocks
Journal features: journal_incompat_revoke
Journal size: 96M
|
|