-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When run duf with a path, result is not expected (linux_armv7 on rpi4) #190
Comments
Hi,
|
Sorry for my mistake |
@CharlieLiuQian Don't worry, I kinda understand the confusion. I guess we could think about de-duplicating the resulting list at least. |
/assign @muesli
|
@Lan-ce-lot Are you planning to work on this? |
Yes, maybe I can try to solve this. |
Files in the path
pi@pi4:~ $ exa /mnt/240G/pt --tree
/mnt/240G/pt
├── Collins COBUILD (CN).mdd
├── Collins COBUILD (CN).mdx
├── Collins COBUILD (CN).png
└── text
├── test1
└── test2
E.g. 1
pi@pi4:~ $ duf /mnt/240G/pt
╭───────────────────────────────────────────────────────────────────╮
│ 1 local device │
├────────────┬────────┬───────┬────────┬────────┬──────┬────────────┤
│ MOUNTED ON │ SIZE │ USED │ AVAIL │ USE% │ TYPE │ FILESYSTEM │
├────────────┼────────┼───────┼────────┼────────┼──────┼────────────┤
│ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │
╰────────────┴────────┴───────┴────────┴────────┴──────┴────────────╯
E.g. 2
pi@pi4:~ $ duf /mnt/240G/pt/*
╭───────────────────────────────────────────────────────────────────╮
│ 4 local devices │
├────────────┬────────┬───────┬────────┬────────┬──────┬────────────┤
│ MOUNTED ON │ SIZE │ USED │ AVAIL │ USE% │ TYPE │ FILESYSTEM │
├────────────┼────────┼───────┼────────┼────────┼──────┼────────────┤
│ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │
│ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │
│ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │
│ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │
╰────────────┴────────┴───────┴────────┴────────┴──────┴────────────╯
Show 4 lines. I think it's because there are 3 files and 1 directory
Result of 'du'
pi@pi4:~ $ du /mnt/240G/pt/
4 /mnt/240G/pt/text
13616 /mnt/240G/pt/
The text was updated successfully, but these errors were encountered: