this post was submitted on 30 Jun 2026
262 points (98.2% liked)

Selfhosted

60409 readers
1063 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I think I officially have a hoarding problem...

you are viewing a single comment's thread
view the rest of the comments
[–] happy_wheels@lemmy.blahaj.zone 21 points 3 days ago (3 children)

Pardon my stupidity BUT why include stdout to Devnull? Why not omit and simply 'du -sh /home'

[–] nbailey@lemmy.ca 32 points 3 days ago (2 children)

There’s probably a bunch of permissions errors, filesystems warnings for cross-filesystem mounts or links, etc. all going to stderr. Linux output streams are a bit odd, 1 is stdout and 2 is stderr. So the command is redirecting the “noise” to null and just printing the actual command output. That would be my assessment, but OP could probably give a more correct answer..!

Nope, you are exactly on.

[–] Sprocketfree@sh.itjust.works 7 points 2 days ago (1 children)

Noob, just use sudo, less chars!

[–] ShredderFeeder@shredderfood.net 8 points 2 days ago (3 children)

Oddly enough, still generates errors. (There are stuff in user directories that are set to 600.... so even root can't browse/open.)

[–] technopagan@lemmy.world 3 points 2 days ago (1 children)

Are you sure? Root can see everything.

[–] Hule@lemmy.world 5 points 2 days ago

On a network, it can't.

NFS mount probably.

[–] Sprocketfree@sh.itjust.works 3 points 2 days ago

Well now I have to try this. Missing that executable bit would make sense. But last time I did this on / I didn't get errors 🤔

[–] village604@adultswim.fan 2 points 2 days ago

There's also some stuff in Proc and run that won't let you.

[–] ShredderFeeder@shredderfood.net 18 points 2 days ago

2> means stderr.... Keeps the "can't access ...." Out of the display.

[–] helix@feddit.org 11 points 3 days ago

That's stderr, not stdout