[-] gnuhaut@lemmy.ml 3 points 5 months ago

Yeah sorry then. It would be good to not use ls in your example though, someone who doesn't know about that might read this discussion and think that's reasonable.

As for your original question, doing the foreach as a personal alias is fine. I wouldn't use it in any script, since if anyone else reads that, they probably already know about xargs. So using your foreach would be more confusing to any potential reader I think.

[-] gnuhaut@lemmy.ml 3 points 5 months ago* (last edited 5 months ago)

So, firstly, about the nomenclature: initrd (initial ram disk) and initramfs (initial ram file system) are usually used interchangeably as far as I know. For example, even though my Debian uses initramfs-tools, the generated images are called /boot/initrd.img-*. (Edit: There is a technical difference but an initramfs may be referred to as an initrd (like in this case) due to how similar they are.)

For example, when installing a kernel, apt shows this output on my Debian machine:

linux-image-6.12.6-amd64 (6.12.6-1) wird eingerichtet ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.12.6-amd64

What you're talking about is probably the software used to generate this initial ramdisk, which on Debian is done using initramfs-tools (which contains the mkinitramfs command), while on other distros dracut (command: mkinitrd) might be used.

I will say it strikes me as weird that Devuan doesn't use initramfs-tools since it's a Debian derivative. Maybe you are mistaken about this? Possibly no initrd/initramfs is used at all on this specific Pi version of Devuan? IDK.

Edit: See my other comment. I'm wrong. There is an actual technical difference between initrd and initramfs, but I don't think that's actually relevant in this situation. Or rather, both are functionally the same, so it doesn't really matter from the perspective of the user or distro that there's a difference. I will keep the rest of the comment as is, since I do reckon OP's problem is unrelated to this difference, and that probably something else is tripping up OP.

[-] gnuhaut@lemmy.ml 4 points 1 year ago

In der Bundesregierung ist die Sorge groß, dass sich Israel mit seiner Kriegsführung in Gaza ins internationale Aus schießt, dass es zum Paria wird.

Baerbock macht im Nahen Osten klar, dass ihre Loyalität Israel gilt – aber eben nicht nur. Deutschland trage auch Verantwortung für das internationale Recht, betont sie vor ihrem Abflug.

Das heißt, zuerst mal geht es immer noch darum, Israel zu helfen. Verhungernde Palästinenser sind zweitrangig. Und das nach fast einem halben Jahr uneingeschränkter Unterstützung für Israel, während die Völkermord begehen. Die Prioritäten sind doch das Gegenteil von dem, was sie sein sollten.

Doch die deutsche Außenministerin hat nicht viel in der Hand, um auf Israels Führung einzuwirken. Benjamin Netanyahu lässt sich ja nicht einmal mehr von der US-Regierung beeindrucken.

Ob das eine Einladung an die Netanyahu-Regierung ist, sich als Opfer darzustellen, ist wurst, die werden nur aufhören, wenn sie materiell dazu gezwungen sind. Da könnte die BuReg z.B. ein Verbot für Waffenlieferungen machen, wie das Canada jetzt gemacht hat. Klar, wichtig wäre, dass das die USA machen, sonst bringt das nicht so viel, aber die BuReg könnte ja mal mit gutem Beispiel vorangehen, anstatt immer erst zu handeln, wenn die Amerikaner es vormachen.

[-] gnuhaut@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

I use bash as my interactive shell. When ~20 years ago or so I encountered "smart" tab completion for the first time, I immediately disabled that and went back to dumb completion, because it caused multi-second freezes when it needed to load stuff from disk. I also saw it refuse to complete filenames because they had the wrong suffix. Maybe I should try to enable that again, see if it works any better now. It probably does go faster now with the SSDs.

I tried OpenBSD at some point, and it came with some version of ksh. Seems about equivalent to bash, but I had to modify some of my .bashrc so it would work on ksh. I would just stick to the default shell, whatever it is, it's fine.

I try to stick to POSIX shell for scripts. I find that I don't need bashisms very often, and I've used systems without bash on them. Most bash-only syntax has an equivalent that will work on POSIX sh. I do use bash if I really need some bash feature (I recently wanted to set -o pipefail, which dash cannot do apparently, and the workaround is really annoying).

Do not use #!/bin/sh if you're writing bash-only scripts. This will break on Debian, Ubuntu, BSD, busybox etc. because /bin/sh is not bash on those systems.

[-] gnuhaut@lemmy.ml 3 points 1 year ago

The leadership is putting out genocidal statements, and then, to cover their asses, they put "do this in accordance with international law" is some official order, probably on the recommendation of some lawyer. The soldiers all through the ranks repeat the genocidal language, and commit genocidal acts,over and over, nobody stopping them, and almost all of them defended and rationalized by Israeli spokespeople. Your assessment: Just individuals doing individual war crimes. Are you joking?

[-] gnuhaut@lemmy.ml 3 points 1 year ago

So some part of the government is genocidal and some other part isn't? So you can just ignore what the prime minister and other people in charge are saying, because they are not really in charge? This is the stupidest argument I've ever heard, and Israel didn't even make that argument in their defense. Instead they said: These are not the official orders, so that's just talk basically. Despite the actual fucking evidence of what their troops are doing confirming it isn't just talk.

Hamas is impeding aid.

Hamas is doing this all themselves! They're stopping the aid! They blew up Gaza themselves (they said that in the courtroom)! They probably also turned off the water and electricity!? It's easy to prove that Israel did all that stuff, and they said so. Here's the Israeli defense minister:

We are imposing a complete siege of Gaza. There will be no electricity, no food, no fuel, everything will be closed.

Must be one of those people not really in charge of anything and I must have imagined when they did that.

You're living in some alternate reality. Are you deliberately trying to mount the worst defense in order to make Israel look bad?

[-] gnuhaut@lemmy.ml 3 points 2 years ago

No cost is too great

Eat shit.

[-] gnuhaut@lemmy.ml 3 points 2 years ago* (last edited 2 years ago)

Better acceleration, steeper inclines, tighter curves at same speed, better ride quality and less wear. As someone has mentioned below, normal trains could go a lot faster than they do in practice, because the ride quality, wear and wind resistance get atrocious, and the tracks need to be exceptionally straight. Making a maglev go fast is more feasible, though you still have the wind resistance issue obviously.

[-] gnuhaut@lemmy.ml 4 points 2 years ago

Do people actually recognize these? I don't think I'd recognize most of them whatever the icon pack. Might as well be hieroglyphics.

[-] gnuhaut@lemmy.ml 3 points 2 years ago

This question is a setup for assholes to spread their vile shit.

[-] gnuhaut@lemmy.ml 3 points 2 years ago* (last edited 2 years ago)

Launching spacecraft from earth and putting them into various orbits needs a lot of energy. It's just going to be cheaper to mine stuff on earth or recycle. With fully automated robots and something as close as Mars and mining something super rare and valueable maybe, but it gets exponentially stupider when you need to send humans or go to another solar system.

[-] gnuhaut@lemmy.ml 3 points 2 years ago

TrueAnon. I recommend the series about Elon Musk, "The Lamest Show on Earth".

Because that always comes up: Yes, the name is making fun of QAnon because it's not true. They started out talking about Epstein, and that's an actually true pedophile conspiracy.

view more: ‹ prev next ›

gnuhaut

joined 2 years ago