Skip to content
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

Wrong filesystem size shown without duf on GNU/Linux #21

Closed
Phundrak opened this issue May 5, 2022 · 0 comments · Fixed by #22
Closed

Wrong filesystem size shown without duf on GNU/Linux #21

Phundrak opened this issue May 5, 2022 · 0 comments · Fixed by #22
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Phundrak
Copy link
Owner

Phundrak commented May 5, 2022

I haven’t had the opportunity to test it on other devices, but my Chromebook shows erroneous filesystem sizes. Relevant part of eshell-info-banner’s output:

/.......: [=============================================]   6.6M / 11.8M  ( 55%)
/boot...: [=============================================]  55.9k / 1022k  (  5%)

Output of df:

$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
dev               961288       0    961288   0% /dev
run               969272    1000    968272   1% /run
/dev/mmcblk1p3  12358636 6916504   5258008  57% /
tmpfs             969272       0    969272   0% /dev/shm
tmpfs             969272       8    969264   1% /tmp
/dev/mmcblk1p1   1046512   57220    989292   6% /boot
tmpfs             193852      28    193824   1% /run/user/1000

This needs to be investigated and fixed.

I am running:

  • an up-to-date Arch Linux
  • the latest commit eshell-info-banner.el
  • Emacs 28.1 with nativecomp enabled (extra/emacs-nativecomp package)
@Phundrak Phundrak added bug Something isn't working good first issue Good for newcomers labels May 5, 2022
juergenhoetzel added a commit to juergenhoetzel/eshell-info-banner.el that referenced this issue May 14, 2022
Als use the "-k" parameter to enforce this block size, so that the
command does not depend on environment variables (POSIXLY_CORRECT and
BLOCKSIZE).

Fixes Phundrak#21
Phundrak pushed a commit that referenced this issue May 14, 2022
Als use the "-k" parameter to enforce this block size, so that the
command does not depend on environment variables (POSIXLY_CORRECT and
BLOCKSIZE).

Fixes #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant