Timeline for Getting block size via df vs dumpe2fs
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 18, 2018 at 10:30 | comment | added | sourcejedi |
There is a "fun" qualifier here that you omit. Don't use this on sda1. unless you know exactly what it does. --getbsz is the soft block size. I believe it is guaranteed to be equal to the output of dumpe2fs - once you have mounted that FS. If you haven't mounted the FS (on the current boot), it can show a smaller blocks size (1KB?). unix.stackexchange.com/questions/403919/… In answer to the question, this link defines three different sizes.
|
|
| Aug 18, 2018 at 9:16 | history | answered | pkaramol | CC BY-SA 4.0 |