Browse Source

- mdev: mount userdata and linuxrootfs1

master
vanhofen 6 years ago
parent
commit
202ed0ad82
  1. 5
      skel-root/armbox/hd51/lib/mdev/fs/mdev-mmcblk

5
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

Loading…
Cancel
Save