There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

kariboka , in A Gamer's Descent into Linux Lunacy (Switching to Linux) [video 48:15]

I love that guy

NeoNachtwaechter , in Automatic backups of inode tables and partition info for easier data recovery

e2image

There’s a good reason for the 2 in the name.

Today we have ext4, and ZFS of course.

uis ,
@uis@lemmy.world avatar

e2image - Save critical ext2/ext3/ext4 file system metadata to a file

gerbercj , in What's the best way to remote into a linux machine?

I use Chrome Remote Desktop daily. I don’t know if it’s the best, but it works great for me. remotedesktop.google.com

Quazatron , in Automatic backups of inode tables and partition info for easier data recovery
@Quazatron@lemmy.world avatar

I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution.

NeoNachtwaechter ,

instead of using a proper file level backup

Backups do not solve everything.

For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.

Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)

luthis OP ,

Ok time to investigate ZFS

Quazatron ,
@Quazatron@lemmy.world avatar

“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.

Redundancy is not backup. Read that again.

Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. Here’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.

NeoNachtwaechter ,

I wasn’t saying backups are useless or something.

I was saying there are situations that backups can’t solve.

Quazatron ,
@Quazatron@lemmy.world avatar

Sure, all the work you do between the moment of the filesystem failure and the last backup is gone. There’s nothing that can be done to mitigate that fact, other that more frequent backups and/or a synchronized (mirror) system.

Backups are just a simple way to keep you from having to explain to your partner that you lost all the pictures and videos you took along the years.

luthis OP ,

For fun and learning. It’s just another tool to go with file level backup.

And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…

Quazatron ,
@Quazatron@lemmy.world avatar

Picture this: you open and edit one of your documents and save it.

The filesystem promptly allocates some blocks and updates the inodes. Maybe the inode table changed, maybe not. Repeat for some other files. Now your “inode backup” has a completely different picture of what is going on on your disk. If you try to recover the disk using it, all you will achieve is further corruption of the filesystem.

fxt_ryknow , in What are people daily driving these days?

I’m rocking two dailys right now. Tumbleweed and Nixos. I jabe tumbleweed on my work laptop as well as one laptop at home. Rock solid go to that I trust for all the things. I started using nix on a number of other machines at home a few months back, and I’m really really enjoying it!!

fxt_ryknow , in what caused you to get into Linux?

Early 2000’s I took a class in highschool called “What’s in the box”. A buddy of mine and I would hangout after school just talking and building computers. He showed me Lindows. I specifically remember looking at the clock in the dock, and thinking… “Wow!!! Look how you can customize the clock so much!”

It stuck with me. Shortly there after I dabbled with Suse. Then moved to Ubuntu. By 2005 I was almost exclusively using Linux on all my machine. Had one machine running windows for gaming, but the other machines I had were all Linux.

Pantherina , in OpenSUSE Leap 15.5 -> Tumbleweed conversion

Slowroll seems just as mature as TW? Just update, upgrade, change repos, upgrade?

Rockslide0482 OP ,

It’s only been around for less than a year as far as I’m aware and from what I gather still seems to be finding its sea legs as far as balancing between what rolls in immediately(ish) and what comes in through the big “tumbles”

Pantherina ,

I guess with the BTRFS snapshots there is no reason to not use TW. But Slowroll really sounds like a Distro that makes sense

M500 , in What are people daily driving these days?

Accidentally wipes out Mint last week, but have been meaning to try out Fedora 39 Plasma. So far, I love it. I have been really busy recently, but it has been a great system so far. My SteamDeck really made me fall in love with Plasma.

halfempty , in The Unity Desktop Environment an Underrated Masterpiece
@halfempty@kbin.social avatar

I never particularly cared for the Unity desktop. The first few times I tried it, there were hardware incompatibilities, slow performance, and crashing. Gnome3 is a complicated mess. I prefer to keep it simple. XFCE is fine for me.

xlash123 , in How to take actions on multiple docker containers at once
@xlash123@sh.itjust.works avatar

Just a few shortcuts that may help:

  • docker ps is an alias for docker container ls
  • as long as it can be uniquely identified, a prefix of the container ID can be used instead of copy pasting the entire ID
  • you can use container names instead of IDs
  • tab completion works for container names

As someone else suggested though, docker compose is probably best suited for this job, but hopefully this helps in other situations.

Shareni , in How to take actions on multiple docker containers at once

I’m using docker packages for Doom Emacs. The main one is docker.el. On top of being faster and easier to use than the cli, you can also do some pretty neat stuff like use dired+tramp to browse files and open them in Emacs.

lautan , in Ubuntu is my daily driver but I'm thinking of setting this up on my never used Raspberry PI -- anyone using it? How tough do you think it will be as a first project?

It’s a good idea. I recommend it.

drwho , in Ubuntu is my daily driver but I'm thinking of setting this up on my never used Raspberry PI -- anyone using it? How tough do you think it will be as a first project?
@drwho@beehaw.org avatar

As long as you follow the instructions you should be okay.

wowwoweowza OP ,

Thank you — seems like a nice place to start to move beyond starting a browser.

MangoPenguin , in How to take actions on multiple docker containers at once
@MangoPenguin@lemmy.blahaj.zone avatar

My better way is just using Portainer, select some containers and hit the stop button.

luthis OP ,

If I eventually get around to using a GUI, I’ll check out portainer

FishFace , in How to take actions on multiple docker containers at once

Why create the function _dcl()?

luthis OP ,

I needed a way to pass an argument into the command so it can be used in name=“$1”

FishFace ,

you could instead do:


<span style="color:#323232;">dcl() { docker container ls -aq -f name="$1" }
</span>

in bashrc or wherever you’re setting this up.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines