Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

technical-information: Clarify the btrfs layout and their role #145

Open
omac777 opened this issue Feb 7, 2023 · 2 comments
Open

technical-information: Clarify the btrfs layout and their role #145

omac777 opened this issue Feb 7, 2023 · 2 comments

Comments

@omac777
Copy link

omac777 commented Feb 7, 2023

Ok so I understand /var holds the state for silverblue and is symlinked by:

    /home → /var/home
    /opt → /var/opt
    /srv → /var/srv
    /root → /var/roothome
    /usr/local → /var/usrlocal
    /mnt→ /var/mnt

But /sysroot/tmp is different:
/tmp → /sysroot/tmp

Then when I look at the x86_64 fedora silverblue directory layout, I see other directories not /var, are they all the immutable directories without state? Why was /var/home/ setup as different directory from /var/?

 $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 476.9G  0 disk 
├─sda1   8:1    0   600M  0 part /boot/efi
├─sda2   8:2    0     1G  0 part /boot
└─sda3   8:3    0 475.4G  0 part /var/home
                                 /var
                                 /sysroot/ostree/deploy/fedora/var
                                 /usr
                                 /etc
                                 /
                                 /sysroot

What were the specific commands used to create this btrfs layout of volume and subvolumes for the silverblue installer?

@travier
Copy link
Member

travier commented Feb 8, 2023

It depends on the filesystem used. You should provide the output of findmnt to be able to explain that.

@travier
Copy link
Member

travier commented Feb 8, 2023

The layout is made at install time in Anaconda, not sure where exactly.

@travier travier changed the title [master] Doc issue in file modules/ROOT/pages/technical-information.adoc please clarify the silverblue btrfs layout and their role technical-information: Clarify the btrfs layout and their role Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants