From b0c80c79fa711d0b9d8c1e43f90d13ef997a182b Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Fri, 31 Jan 2020 22:57:32 +0100 Subject: [PATCH] adapt default mount point Signed-off-by: Ralf Zerres --- usr/bin/arch-create-system | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/bin/arch-create-system b/usr/bin/arch-create-system index fc36df2..b1babe7 100755 --- a/usr/bin/arch-create-system +++ b/usr/bin/arch-create-system @@ -30,7 +30,7 @@ dryrun=0 quiet=0 verbose=0 -mount_point="/mnt" +mount_point="/run/mount/target" label_prefix="BTRFS" root_password="password" disk_dev_root="/dev/sda" @@ -250,6 +250,8 @@ create_fs_structure () { eval "$cmd" if [ $? -gt 0 ]; then die "Can't mount root filesystem ${PREFIX}-${LABEL}" + else + df $MOUNT_POINT fi fi