Browse Source

- fix mount of different partitions

master
vanhofen 4 years ago
parent
commit
8659d3cc33
  1. 2
      skel-root/hd5x/etc/mdev.conf
  2. 2
      skel-root/hd5x/lib/mdev/fs/mdev-mmcblk
  3. 2
      skel-root/hd6x/etc/mdev.conf
  4. 2
      skel-root/hd6x/lib/mdev/fs/mdev-mmcblk
  5. 2
      skel-root/vuduo/etc/mdev.conf
  6. 2
      skel-root/vuduo/lib/mdev/fs/mdev-mmcblk
  7. 2
      skel-root/vuplus/lib/mdev/fs/mdev-mmcblk

2
skel-root/hd5x/etc/mdev.conf

@ -77,7 +77,7 @@ fp0 root:root 0660 =dbox/fp0
sr[0-9] root:root 0664 */lib/mdev/fs/mdev-mount
# Memory cards / eMMC-Partitions
mmcblk0p%(BOOT_PARTITION) root:root 0664 @mount -t vfat /dev/$MDEV /boot 2>&1 >/dev/null
mmcblk[0-9]p[0-9] root:root 0664 */lib/mdev/fs/mdev-mmcblk
mmcblk[0-9]p[0-9]* root:root 0664 */lib/mdev/fs/mdev-mmcblk
# WLAN devices
ra[0-9]* root:root 0644 */lib/mdev/net/mdev-wlan

2
skel-root/hd5x/lib/mdev/fs/mdev-mmcblk

@ -21,8 +21,8 @@ PARTNAME=""
for i in $BLOCKS; do
if [ "$i" != "$BLOCKS" ]; then
DEVNAME=$(cat $i | grep DEVNAME | cut -d '=' -f 2)
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ "$DEVNAME" == "$MDEV" ]; then
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ -n "$(echo $PARTNAME | grep 'kernel')" ]; then
KERNELDEV=$DEVNAME
K_PARTNAME=$PARTNAME

2
skel-root/hd6x/etc/mdev.conf

@ -77,7 +77,7 @@ fp0 root:root 0660 =dbox/fp0
sr[0-9] root:root 0664 */lib/mdev/fs/mdev-mount
# Memory cards / eMMC-Partitions
mmcblk0p%(BOOT_PARTITION) root:root 0664 @mount -t vfat /dev/$MDEV /boot 2>&1 >/dev/null
mmcblk[0-9]p[0-9] root:root 0664 */lib/mdev/fs/mdev-mmcblk
mmcblk[0-9]p[0-9]* root:root 0664 */lib/mdev/fs/mdev-mmcblk
# WLAN devices
ra[0-9]* root:root 0644 */lib/mdev/net/mdev-wlan

2
skel-root/hd6x/lib/mdev/fs/mdev-mmcblk

@ -21,8 +21,8 @@ PARTNAME=""
for i in $BLOCKS; do
if [ "$i" != "$BLOCKS" ]; then
DEVNAME=$(cat $i | grep DEVNAME | cut -d '=' -f 2)
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ "$DEVNAME" == "$MDEV" ]; then
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ -n "$(echo $PARTNAME | grep 'kernel')" ]; then
KERNELDEV=$DEVNAME
K_PARTNAME=$PARTNAME

2
skel-root/vuduo/etc/mdev.conf

@ -77,7 +77,7 @@ fp0 root:root 0660 =dbox/fp0
sr[0-9] root:root 0664 */lib/mdev/fs/mdev-mount
# Memory cards / eMMC-Partitions
mmcblk0p1 root:root 0664 @mount -t vfat /dev/$MDEV /boot 2>&1 >/dev/null
mmcblk[0-9]p[0-9] root:root 0664 */lib/mdev/fs/mdev-mmcblk
mmcblk[0-9]p[0-9]* root:root 0664 */lib/mdev/fs/mdev-mmcblk
# WLAN devices
ra[0-9]* root:root 0644 */lib/mdev/net/mdev-wlan

2
skel-root/vuduo/lib/mdev/fs/mdev-mmcblk

@ -21,8 +21,8 @@ PARTNAME=""
for i in $BLOCKS; do
if [ "$i" != "$BLOCKS" ]; then
DEVNAME=$(cat $i | grep DEVNAME | cut -d '=' -f 2)
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ "$DEVNAME" == "$MDEV" ]; then
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ -n "$(echo $PARTNAME | grep 'kernel')" ]; then
KERNELDEV=$DEVNAME
K_PARTNAME=$PARTNAME

2
skel-root/vuplus/lib/mdev/fs/mdev-mmcblk

@ -23,8 +23,8 @@ PARTNAME=""
for i in $BLOCKS; do
if [ "$i" != "$BLOCKS" ]; then
DEVNAME=$(cat $i | grep DEVNAME | cut -d '=' -f 2)
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ "$DEVNAME" == "$MDEV" ]; then
PARTNAME=$(cat $i | grep PARTNAME | cut -d '=' -f 2)
if [ -n "$(echo $PARTNAME | grep 'kernel')" ]; then
KERNELDEV=$DEVNAME
K_PARTNAME=$PARTNAME

Loading…
Cancel
Save