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?

7 points

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.

permalink
report
reply
1 point

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

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 174K

    Comments