#19038: extroot broken
------------------------------+----------------------------------
Reporter: rudoyeugene@… | Owner: jow
Type: defect | Status: accepted
Priority: response-needed | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: extroot
------------------------------+----------------------------------
Comment (by anonymous):
build just now trunk 44570
overlayfs and pivot_overlay work very fine.
{{{
root@openwrt:~# uname -a
Linux openwrt 3.18.7 #4 Sat Feb 28 12:04:48 CET 2015 mips GNU/Linux
root@openwrt:~# cat /etc/openwrt_*
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='44570'
DISTRIB_REVISION='r44570'
DISTRIB_CODENAME='ambrosa'
DISTRIB_TARGET='lantiq/xrx200'
DISTRIB_DESCRIPTION='OpenWrt ambrosa 44570'
DISTRIB_TAINTS='no-all busybox'
44570
root@openwrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/sda1 on /overlay type ext4 (rw,relatime,data=ordered)
overlayfs:/overlay on / type overlay
(rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
root@openwrt:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 7475128 16988 7441756 0% /
/dev/root 4864 4864 0 100% /rom
tmpfs 30064 280 29784 1% /tmp
/dev/sda1 7475128 16988 7441756 0% /overlay
overlayfs:/overlay 7475128 16988 7441756 0% /
tmpfs 512 0 512 0% /dev
root@openwrt:~# cat /etc/config/fstab
config global
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '10'
option check_fs '0'
config mount
option device '/dev/sda1'
option target '/overlay'
option label 'FLASH'
option fstype 'ext4'
option options 'rw,sync,noatime,nodiratime'
option enabled '1'
option enabled_fsck '0'
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19038#comment:13>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets