how about this niffty. if you see an angel, fstab it
My fstab doesn’t actually get read on startup. Simply because
mount -a
is never called.Just to demystify this magic file.
And they say romance isn’t dead. /s
fstab table = filesystem table table
smh my head
rofl on the floor laughing
LED diode
lmao my ass
This sounds like you are calling someone out for not actually lmaoing their ass off.
ltaoing their ass off.
FTFY
Sweet Jesus, somebody finally did it. A truly horny Linux chat up line.
Unmounting drives on sleep sounds disastrous, what ridiculous distro is this
Maybe a webdav drive?
the transition between sleep and shutdown is a fluent one. a shutdown is just a sleep that is deep enough. when the sleep is deep enough, it might be worth decoupling from energy-hungry consumers such as spinning disks in a laptop.
Platter drives will spin down on a low-power state, but will not be logically unmounted.
Romance isnt dead after all
I don’t mount nothin until I’ve had a coffee.
Yeah, but fstab entries are mounted at boot, not wake.
Maybe you meant an auto mount entry, “I mount you as soon as I detect you”
Fucking with fstab without fully knowing what I was doing was a powerful early Linux lesson for me lol. Luckily I was using Time Shift so it was very easy to rollback.
Eventually got it working though, and now I understand how it works (though I haven’t needed to edit it since switching to bazzite)
I took a while to figure out my error at the time, but I think I managed to unfuck it using recovery mode eventually. Now I know why people generally recommend mounting scripts instead of fstab.
What does bazzite do differently?
Bazzite is atomic and immutable, so you cannot (or at the very least, it’s made difficult, and its not recommended) alter anything on your OS partition. Like you literally don’t have permission to. I couldn’t edit fstab if I tried.
So you install programs with flatpak, distrobox (works very well), and on the occasion you really need to (like for VPN software or something), you can “layer” an app onto your OS image.
Basically, every time you turn the PC on, the OS initializes to the saved image. It’s incredibly stable.
If you install something, nothing changes until you reboot. If an update breaks your OS install or anything like that (very very rare), you can just simply rollback to the previous OS image.
It’s a little bit of a learning curve to figure out how to do some things, but once you get it, it’s almost boring how stable it is lol.
I used to use Time Shift, and took regular snapshots, so I could rollback whenever I fucked up fstab or something else. So if you’re not looking for something as drastic as an immutable OS, maybe look into that?
If you want more info, look up “ostree” and “rpm-ostree”
I have a spare SSD (messing with which was the subject of my aforementioned FAFO), so I’m not opposed to trying new things. I’ve also heard about layering and ostree before, but never taken the time to understand them in depth. Maybe when I’ve next got some time off, I’ll spend a day or three toying around with it. It’s been a while since my last distro hop (currently using Nobara, so Fedora isn’t entirely new ground to me).
If I did want to mount something at boot in the manner of fstab – putting aside the “why”, this is just technical curiosity – what would be the idiomatic way to achieve that?
I just use the KDE partition manager. I haven’t had to mess with mounting anything via command line once since installing Bazzite, so I’m not sure if there’s another way to edit fstab (there usually is, it’s just recommended against unless you have no other options).
Yeah, if you’re familiar with Nobara/Fedora, then you already have a leg up. Bazzite is based on, I believe, Kinoite. It is just optimized for gaming, and it includes a ton of ujust “recipes” (pre-made scripts basically) to add/remove gaming-related functions, among other things. For example, I just type “ujust update” into the terminal and it updates everything, including firmware, flatpaks, local packages, etc.
It just works. It’s very beginner friendly, but don’t let that turn you off. There’s a lot you can do, you just need to do it a different way than you’re used to.
Edit: I just saw you said “at boot.” As I said, I don’t know beyond the gui partition manager… I’m sure there is a way, because it must be a relatively common thing that people run into.
Side note, if you’re troubleshooting, or looking for info on Bazzite and can’t find what you’re looking for, try searching for “silverblue” instead as it’s very similar.
I imagine the partition manager requires sudo permissions though? I generally keep my admin account separate from my normal working/gaming accounts, both for security and also to put another hurdle between myself and dumb decisions.
Oh yeah you still use sudo… I’m probably doing a really bad job at explaining this lol
You do still have admin priviliges for everything else, it’s just your OS partition that is locked down.
That’s very O_DIRECT of you
SteamOS Official???