this post was submitted on 27 May 2024
17 points (94.7% liked)

Linux

47948 readers
1658 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
 

While updating my system the graphical session crashed and after reboot the kernel was missing (reminder that you should update on tty). Trying to fix that from a live-system, mounting system nvme partition to mnt, there's now /mnt/@ @cache @log, while your usual root folders are in @, log fikes @log and so on. Filesystem is btrfs, no subvolumes, if that matters.

So why is this? And can i just mount boot to /mnt/@/boot? Do break something, if i move /mnt/@ content to /mnt?

top 2 comments
sorted by: hot top controversial new old
[–] smileyhead@discuss.tchncs.de 7 points 5 months ago (1 children)

It seems like they are subvolumes. How did you install the system?

When mounting a btrfs without any options root/main directory is containg subvolumes. Meaning that when creating a directory it is being created as subvolume, then in that subvolume there are regular files.

What does the btrfs subvolume list / say?

Also as side note, there is nothing wrong with updating on GUI.

[–] MonkderDritte@feddit.de 1 points 5 months ago

Right, got it, create-fstab automatically creates subvolumes for /var/cache and /var/log on btrfs.