Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/btrfs.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-10-22 20:43:01 +0200
committerAnton Hvornum <anton@hvornum.se>2021-10-22 20:43:01 +0200
commit7ac06d75d0785da07d270dc38a7581d74c285cc5 (patch)
tree2c0bd5346b2ce4cbed229b5ed7cfdba9b31e7a5f /archinstall/lib/disk/btrfs.py
parented823be3bae2151a73ba9817a32c226ac5a3c1c0 (diff)
Restructured disk.py into lib/disk/<splits>.py instead. Shouldn't be any broken links as we expose all the functions through __init__.py - but you never know so I'll keep an eye for issues with this.
Diffstat (limited to 'archinstall/lib/disk/btrfs.py')
-rw-r--r--archinstall/lib/disk/btrfs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/lib/disk/btrfs.py b/archinstall/lib/disk/btrfs.py
new file mode 100644
index 00000000..d6758b3f
--- /dev/null
+++ b/archinstall/lib/disk/btrfs.py
@@ -0,0 +1,4 @@
+from ..general import SysCommand
+
+def create_subvolume(installation):
+ SysCommand(f"btrfs subvolume create {installation.target}/@") \ No newline at end of file