this post was submitted on 27 Apr 2024
29 points (96.8% liked)

Linux

47952 readers
1795 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
 

Hi, I'm just starting exploring btrfs volume concepts; currently my testing setup has three subvolumes: root, var, home; is it possible have user home folder (I mean /home/user, not all /home) in a different partition? Thanks for suggestions

you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 1 points 6 months ago* (last edited 6 months ago) (1 children)

openSUSE used to have the /home folder (so, not a specific user subfolder) on a different partition as the default setup some years ago, with 40 GB for the root partition.

They changed it, because it meant people's root partitions would sometimes fill up from the snapshots being stored there and that's really annoying to recover from.
Not only can a full root partition irreparably damage your Linux system, it also meant that people would try to uninstall packages to free up space, which wouldn't actually free up space, because those packages were still contained in differential snapshots.

To actually free up space, you have to either delete old snapshots (so that there's less difference to your current install) or delete intermediate snapshots where you happened to install a load of packages, which you uninstalled afterwards.

[–] gcala@lemmy.ml 1 points 6 months ago (2 children)

I'm not asking this for limited space. My long term purpose is having just my home with granted space and luks encryption (and obviously decryption on login).

[–] Ephera@lemmy.ml 1 points 6 months ago* (last edited 6 months ago)

Hmm, as in you only want your home-partition to be encrypted, nothing else? Because you can do filesystem encryption for the entire btrfs (including both root and home) and that works perfectly fine.

Not sure, if it uses LUKS for that, but there's an option in the installer for encryption...