From 202ed0ad8239df8cfed1eff4337a76655509e8e2 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 10 May 2019 00:04:53 +0200 Subject: [PATCH] - mdev: mount userdata and linuxrootfs1 --- skel-root/armbox/hd51/lib/mdev/fs/mdev-mmcblk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skel-root/armbox/hd51/lib/mdev/fs/mdev-mmcblk b/skel-root/armbox/hd51/lib/mdev/fs/mdev-mmcblk index 1fc1e701..494ccdfa 100755 --- a/skel-root/armbox/hd51/lib/mdev/fs/mdev-mmcblk +++ b/skel-root/armbox/hd51/lib/mdev/fs/mdev-mmcblk @@ -28,6 +28,11 @@ case "$ACTION" in LOGINFO "/dev/$MDEV already mounted - not mounting again" exit 0 fi + if [ "$MDEV" = "mmcblk0p3" ]; then + MOUNTPOINT="$MOUNTBASE/linuxrootfs1" + elif [ "$MDEV" = "mmcblk0p7" ]; then + MOUNTPOINT="$MOUNTBASE/userdata" + fi LOGINFO "[$ACTION] mounting /dev/$MDEV to $MOUNTPOINT" # remove old mountpoint symlinks we might have for this device rm -f $MOUNTPOINT