21
submitted 1 day ago by dullbananas@lemmy.ca to c/linux@lemmy.ml
top 3 comments
sorted by: hot top controversial new old
[-] phoenixz@lemmy.ca 2 points 11 hours ago

Never say never, but that is highly doubtful at best. The driver either is there or it isn't and won't mount anyway

[-] Max_P@lemmy.max-p.me 15 points 1 day ago

No, if you deleted the btrfs driver it would simply fail to mount due to the missing driver, if it's a separate module in the first place. Same with LUKS, if you don't have the tools or the drivers installed for it, it'll just not mount it. You'd have to be accessing the drive directly with something like dd to corrupt it.

[-] lurch@sh.itjust.works 2 points 1 day ago* (last edited 1 day ago)

usually you can't rmmod a module in use. even if it's deleted from the FS it's still present until reboot, but if the cipher module you are using was in that package and it also got removed from the initrd (which often is rebuilt after performing changes like that), you won't be able to decrypt the LUKS container after reboot unless you boot another system (e.g. a live USB) that has the cipher module you need.

this post was submitted on 20 Oct 2024
21 points (92.0% liked)

Linux

47795 readers
1004 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS