Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk2/btrfs.py
blob: 549d23c135f1a33b00d2e3e56ef34c7a92271ca7 (plain)
1
2
3
4
5
6
7
8
9
def create_subvolume(partition):
	if partition['mountpoint'] == '/':
		partition['filesystem']['subvolume'] = '@'
	elif partition['mountpoint'] == '/home':
		partition['filesystem']['subvolume'] = '@home'

	# @.snapshots /.snapshots
	# @log /var/log
	# @pkg /var/cache/pacman/pkg