glibg10b

joined 1 year ago
[–] [email protected] 3 points 11 months ago* (last edited 11 months ago)

I think your misunderstanding comes from the fact that "wouldn't work" can mean a lot of things, and you didn't know quite what it meant

If

  1. you're not on an IPv6 network,
  2. you enter the IPv6 address of a website into the address bar and
  3. the browser attempts to load that website (not a search engine),

then the connection will time out:

OP never got to step 3, which indicates a problem with the browser

[–] [email protected] 2 points 11 months ago (2 children)

What does that have to do with anything?

It's only once you visit a website that it matters whether you're on an IPv6 network. OP isn't visiting the website at all; they're just typing the address and being taken to their search engine

[–] [email protected] 18 points 11 months ago

I hope you're donating to the respective libreddit instance hoster, because unlike Reddit, they're not a multibillion corporation with a steady ad income to pay for their traffic

If you're not, then I suggest you use old.reddit.com with uBlock Origin

[–] [email protected] 26 points 11 months ago (5 children)

OP did not take this picture. Their story is made up. Here's the original: https://lkml.org/lkml/2011/11/3/110

[–] [email protected] 1 points 11 months ago

I can't even find one in the modlog

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago)

Neat, thanks for sharing

Here's the above pseudocode in bash:

find /home/ -mindepth 1 -maxdepth 1 -type d -exec mount none {}/.cache/ -t tmpfs -o size=16G \;

for doesn't work here because it uses spaces to delimit strings, which could cause issues with filenames that contain spaces

You can also create a systemd user service, which is useful if you don't have root access. The above mount command requires root, but the following doesn't and is more robust than symlinking to /tmp/:

ln -s $(mktemp -dp /var/tmp/) ~/.config/
[–] [email protected] 3 points 11 months ago (2 children)

You: It's a single user system
Also you: Tmpfs would have to be done for every user

And a /tmp/ symlink would have to be created for every user too, so I don't get your point

Tmpfs is just as easy as making a symlink, but without the filename conflicts between files in ~/.config/ and /tmp/. You just need to add a line to /etc/fstab

[–] [email protected] 5 points 11 months ago (1 children)

We have 15 months now?

[–] [email protected] 8 points 11 months ago (4 children)

This seems like a filename conflict waiting to happen. Why not just mount a tmpfs there?

[–] [email protected] 10 points 11 months ago

/run/ contains such a directory

[–] [email protected] 9 points 11 months ago

It's likely. mkdir fails to create a subdirectory such as ~/.cache/mozilla/ if ~/.cache/ doesn't exist, unless -p is explicitly passed to mkdir

Of course, not everything is a shell script, but I imagine the directory creation functions in many languages work similarly

view more: ‹ prev next ›