z3bra
- 13 Posts
- 187 Comments
Gotta punch holes in the screen and hammer the keyboard a bit haha. But remember friends, Hardware is forever.
Easy, become a Magnetic Nymph today !
z3bra@lemmy.sdf.orgto
Linux@lemmy.ml•Are there any things in Linux that need to be started over from scratch?
2·2 years agoRight now overlays requires elevated privilèges, but ideally it shouldn’t. Rewriting the Linux kernel to implement per user namespaces like plan9 does would allow unprivileged actions from any user (just like if any user was sitting in a container, overlayed from the base system).
I know we’re not there, and that’s not the direction development is going, but this thread is about dreams, right ? 😉
About the XDG specs, they serve a totally different purpose so they’re out of the discussion IMO. I’m not advocating against env variables. Just
$PATHwhich is a workaround as I see it, but your mileage may vary. As for your “issue” with steam, of course this is the best way to solve it. Because of today’s OS limitation. My point is that with a better designed namespacing implementation, there would be more elegant solutions to solve it (and would get rid of the need to useLD_LIBRARY_PATHtoo, or literally anyenv variable)
z3bra@lemmy.sdf.orgto
Linux@lemmy.ml•Are there any things in Linux that need to be started over from scratch?
1·2 years agoBy mounting the binary over, I mean something like a bind mount. But in your case of a wrapper script, it doesn’t apply indeed. Though in this case I would simply name the script
steam-launcherand call it a day 🙂Having multiple executables with the same name and relying on
$PATHand absolute paths feels hackish to me, but that’s only a matter of preference at this point.
z3bra@lemmy.sdf.orgto
Linux@lemmy.ml•Are there any things in Linux that need to be started over from scratch?
1·2 years agoI’m not saying we should get rid of
$PATHright now. My point is that it was created to solve a problem we don’t have anymore (not enough disk capacity), but we still keep it out of habit.As a reminder, the discussion is about what should be rewritten from scratch in linux. And IMO, we should get rid of
$PATHas there are better options.
z3bra@lemmy.sdf.orgto
Linux@lemmy.ml•Are there any things in Linux that need to be started over from scratch?
1·2 years agoToday’s software would probably break, but my point is that
$PATHis a relic from ancient times that solved a problem we don’t have anymore.
z3bra@lemmy.sdf.orgto
Linux@lemmy.ml•Are there any things in Linux that need to be started over from scratch?
1·2 years agoYou missed my point. The reason $PATH exists in the first place is because binaries were too large to fit on a single disk, so they were scattered around multiple partitions (
/bin,/sbin,/usr/bin, etc…). Now, all your binaries can easily fit on a single partition (weirdly enough,/usr/binwas chosen as the “best candidate” for it), but we still have all the other locations, symlinked there. It just makes no sense.As for the override mechanism you mention, there are much better tools nowadays to do that (overlayfs for example).
This is what plan9 does for example. There is no need for
$PATHbecause all binaries are in/binanyways. And to override a binary, you simply “mount” it over the existing one in place.
z3bra@lemmy.sdf.orgto
Linux@lemmy.ml•Are there any things in Linux that need to be started over from scratch?
31·2 years ago$PATHshouldn’t even be a thing, as today disk space is cheap so there is no need to scatter binaries all over the place.Historically,
/usrwas created so that you could mount a new disk here and have more binaries installed on your system when the disk with/binwas full.And there are just so many other stuff like that which doesn’t make sense anymore (
/var/tmpcomes to mind,/opt,/homewhich was supposed to be/usrbut name was already taken, etc …).
z3bra@lemmy.sdf.orgto
Mechanical Keyboards@lemmy.ml•[UPDATE] Could use some recommendations for a (usually) quick typist.
1·2 years ago+1 on the Gazzew U4. I just swapped from browns to it and I’m never going back ! They’re more tactile and much more silent.
z3bra@lemmy.sdf.orgto
Selfhosted@lemmy.world•endlessh-go: a Golang SSH tarpit that traps bots/scannersEnglish
25·2 years agoendlessh was pretty cool and a more modern version is even better ! I’ll give it a shot !
On a side note, I found a way to trap HTTP connections too while working on my cyb.farm project. The go implementation is ridiculously simple: tarpit.go. It works by providing an endless stream of custom headers to the client, which it is supposed to ingest before getting to the content itself.
I find the config syntax cleaner.
Switches indeed ;)
Both voyager and moonlander are prebuilt, right ? I like the voyager, but might like just a few keys under the thumb compared to my current planck layout.
Thanks for the suggestions !
It’s not about the cost, it’s more about my current situation, storage space, and besides this specific use-case, I have no use for it (and I dont like buying stuff I don’t use).
Crux. Simplest package building system out there, and the core is just out of the way completely, giving you the keys to setup your system just the way you want it.
I didn’t come up with this idea myself, this is straight from OpenBSD disk setup guide (which I personally trust as a good source of info) :
Encrypting External Disks
This section explains how to set up a cryptographic softraid volume for an external USB drive. An outline of the steps is as follows:
- Overwrite the drive’s contents with random data
[…]
# dd if=/dev/urandom of=/dev/rsd3c bs=1m
/usr/share/language/pack/français: Permission refusée
Well as I see it, it will just do a lot of write operations to your disk, which might eventually damage it if you do it a lot (just like any write operation done on a disk). However, this specific command isn’t bad per se, and is even technically a good thing to do for preparing to full disk encryption.




Nope. But I’m eager to know how you can be so confident saying that ? (FYI the WiFi is served by a hotspot from my phone, which uses a randomized MAC address)