Merge branch 'thingos' into better-firmware-update

This commit is contained in:
Calin Crisan 2017-03-12 11:48:07 +02:00
commit 19ae2e7e78
6 changed files with 17 additions and 11 deletions

View File

@ -0,0 +1,4 @@
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat ro,defaults 0 0
/dev/mmcblk0p3 /data ext4 defaults,noatime 0 0

View File

@ -0,0 +1,4 @@
# <file system> <mount pt> <type> <options> <dump> <pass>
/data/output /home/ftp/sdcard rbind rbind 0 0
/data/media /home/ftp/storage rbind rbind 0 0

View File

@ -4,8 +4,4 @@ devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs mode=1777 0 0
sysfs /sys sysfs defaults 0 0
/dev/mmcblk0p1 /boot vfat ro,defaults 0 0
/dev/mmcblk0p3 /data ext4 defaults,noatime 0 0
/data/output /home/ftp/sdcard rbind rbind 0 0
/data/media /home/ftp/storage rbind rbind 0 0

View File

@ -24,7 +24,7 @@ case "$1" in
test $? == 0 && msg_done || msg_fail
msg_begin "Mounting data partition"
mount /data
mount -T /etc/fstab.disk /data
test $? == 0 && msg_done || msg_fail
msg_begin "Creating required data files"
@ -39,7 +39,8 @@ case "$1" in
msg_done
# mount other partitions depending on data
mount -a
mount -T /etc/fstab.disk -a
mount -T /etc/fstab.extra -a
;;
stop)

View File

@ -4,7 +4,8 @@ test -n "$os_version" || source /etc/init.d/base
mount_fs() {
msg_begin "Mounting filesystems"
/bin/mount -a
/bin/mount -T /etc/fstab.disk -a
/bin/mount -T /etc/fstab.extra -a
test $? == 0 && msg_done || msg_fail
}

View File

@ -3,8 +3,8 @@
/bin/mkdir -p /dev/pts
/bin/mkdir -p /dev/shm
/bin/mount --make-shared /
/bin/mount -a -t proc
/bin/mount -a -t devpts
/bin/mount -a -t tmpfs
/bin/mount -a -t sysfs
/bin/mount -T /etc/fstab.sys -a -t proc
/bin/mount -T /etc/fstab.sys -a -t devpts
/bin/mount -T /etc/fstab.sys -a -t tmpfs
/bin/mount -T /etc/fstab.sys -a -t sysfs