Skip to content

Boot environment contents: /etc, /usr and /var filesystems #36

Answered by Sithuk
jasonbstark asked this question in Q&A
Discussion options

You must be logged in to vote

The canmount=off property doesn't make a separate mountable filesystem. It is to establish inheritable properties for descendent file systems. So /usr and /var remain coupled with the system state.

You can test this for yourself by cloning a snapshot a few times to create test boot environments (BE). Then create a test file in /usr and /var on each boot environment. Name them differently in each BE to allow for comparison. Then switch between the boot environments to check that the system state remains consistent. You can also test /var/lib/apt and /var/lib/dpkg if you have specific concerns about losing package manager consistency with the system state.

Relevant man page entry:
https://o…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@jasonbstark
Comment options

@jasonbstark
Comment options

Answer selected by jasonbstark
Comment options

You must be logged in to vote
5 replies
@jasonbstark
Comment options

@jasonbstark
Comment options

@Sithuk
Comment options

@jasonbstark
Comment options

@Sithuk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants