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

du -h wrong #737

Open
exidler opened this issue May 3, 2023 · 0 comments
Open

du -h wrong #737

exidler opened this issue May 3, 2023 · 0 comments
Labels
macOS Apple macOS ("darwin") specific issue

Comments

@exidler
Copy link

exidler commented May 3, 2023

mounted gocrypfs has almost wrong result for du -s
possible wrong block size (somewhere)

% gocryptfs --version gocryptfs v2.3.2 without_openssl; go-fuse v2.3.0; 2023-05-02 go1.20.3 darwin/arm64

% du -h *
1.0M	Cousine-Bold.ttf
1.0M	Cousine-BoldItalic.ttf
1.0M	Cousine-Italic.ttf
1.0M	Cousine-Regular.ttf
1.0M	Segoe UI Bold Italic.ttf
1.0M	Segoe UI Bold.ttf
1.0M	Segoe UI Italic.ttf
1.0M	Segoe UI.ttf
1.0M	segoeuil.ttf
1.0M	segoeuiseimbold.ttf
1.0M	segoeuisl.ttf
1.0M	seguisb.ttf
1.0M	seguisbi.ttf
1.0M	seguisli.ttf
% du -h *
 44K	36tEbxjXT7EKa2hzsaSqu4yriDcAV0RzPT4-hyKjU4Q
928K	57uJyVWpDdms1f1coA2f8yLdlDKeGr065mnj1FC7ozM
844K	Ai6yDkwqzLQ7Q-qnKk_kOA
260K	MX9kymmVLKV8aNSQhhNFWgGJx5gHRREnle5xuE3ZKZI
 44K	UsXw6fsCes0TE3_amgM9CCtd0d6YXajfU2NsLamAlJA
452K	WEsbj4Pz7C4-YIzSkV9exQ
460K	Wz5SLCsH7kqnq7XeEdcIrw
 36K	_Gc1UFtx6LSzq7LRne4Nt-ttp6hSaBKfy1V0M5kJp8Q
 36K	_dURYYxn04sZJM1eDxxglg
4.0K	gocryptfs.diriv
900K	grw8XXxKOSa9tmW-UYfTyw
956K	jW2NpiO8VmgjwCmbdKlFXA
296K	mIMedwpwQaBZktc8a6sH8B0kZIXxH4Vr1xhb9MraCpo
288K	mU4YtqsL8c4KSfJmPSb5Fh09rc7WaegazjPW0mZnVMw
264K	rVZjM6fUUQBiHmb12GbQOFGWbq01Yo2vx58ceQswzIY
% ls -l
total 28672
-rw-rw-r--  1 barbos  wheel   282K Nov 18  2010 Cousine-Bold.ttf
-rw-rw-r--  1 barbos  wheel   259K Nov 18  2010 Cousine-BoldItalic.ttf
-rw-rw-r--  1 barbos  wheel   256K Nov 18  2010 Cousine-Italic.ttf
-rw-rw-r--  1 barbos  wheel   293K Nov 18  2010 Cousine-Regular.ttf
-rw-rw-rw-  1 barbos  wheel    42K Feb  5  2022 Segoe UI Bold Italic.ttf
-rw-rw-rw-  1 barbos  wheel    35K Feb  5  2022 Segoe UI Bold.ttf
-rw-rw-rw-  1 barbos  wheel    40K Feb  5  2022 Segoe UI Italic.ttf
-rw-rw-rw-  1 barbos  wheel    33K Feb  5  2022 Segoe UI.ttf
-rwx------  1 barbos  wheel   892K Dec  7  2019 segoeuil.ttf*
-rw-r--r--  1 barbos  wheel   920K Apr 27 16:06 segoeuiseimbold.ttf
-rwx------  1 barbos  wheel   834K Dec  7  2019 segoeuisl.ttf*
-rwx------  1 barbos  wheel   948K Dec  7  2019 seguisb.ttf*
-rwx------  1 barbos  wheel   447K Dec  7  2019 seguisbi.ttf*
-rwx------  1 barbos  wheel   456K Dec  7  2019 seguisli.ttf*
@exidler exidler changed the title du -s wrong du -h wrong May 3, 2023
@rfjakob rfjakob added the macOS Apple macOS ("darwin") specific issue label May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Apple macOS ("darwin") specific issue
Projects
None yet
Development

No branches or pull requests

2 participants