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

Add initial support for @ subvolumes for BTRFS partitions #206

Closed
wants to merge 0 commits into from

Conversation

BlindRepublic
Copy link

This is a quick modification to the installer script that automatically creates @ subvolumes on BTRFS partitions. I mentioned in my issue (#205) that zstd compression could (and should) be enabled for better performance if zstd was part of base-voidstrap. So, if this change was made, this might not be the final version.

@hervyqa
Copy link
Contributor

hervyqa commented Feb 5, 2022

Cool..

installer.sh.in Outdated
# Setup subvolume on BTRFS partitions
echo "Mounting $dev on $mntpt ($fstype) to create subvolume @..." >$LOG
mount -t $fstype $dev $TARGETDIR >$LOG 2>&1
btrfs subvolume create $TARGETDIR/@ >$LOG 2>&1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool. But, how about setting multi subvolume like @home and @snapshot? does btrfs just create @ subvolume enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installer issues and pull requests related to the el cheapo installer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants