Hello, The attached script (test05.sh) makes a read-only overlayfs mount on top of another readonly overlayfs mount, repeating this in a loop, when all the read-only filesystems are mounted, then it mounts another overlayfs that uses the last read-only rootdir as lowerdir and a read-write filesystem in upperdir, this method gives persistence to mount and unmount, overlayfs will save the fs changes in the read-write upperdir. But it gives a problem when we try to edit the files that are only on the most upper read-only dir, ( that files are not included in lower read-only dirs ). # sed -i -e s|a|a|g /tmp/tmp.b/tmp.k/etc/apache2/conf.d/continuoustrade.conf sed: couldn't open temporary file /tmp/tmp.b/tmp.k/etc/apache2/conf.d/sedthJcp8: Read-only file system when we "touch" the file, therefore can be edited. # touch /tmp/tmp.b/tmp.k/etc/apache2/conf.d/continuoustrade.conf (OK) # sed -i -e s|a|a|g /tmp/tmp.b/tmp.k/etc/apache2/conf.d/continuoustrade.conf (OK) the same happens using KDE editors like kate or kwrite. P.D: is included another testing script (test04.sh) that mounts all levels in read/write mode, it works, but this method is worse because uses multiple directories to save the changed files and when modifying the files are copied several times across the directories. Thanks, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com
+ set -x + set -e + mktemp -d -p /tmp + WORK_DIR=/tmp/tmp.bYP9FObwD6 + unset uf lf + read uf + [ -e /lnet/image/LneTPers64/00filesystem.squashfs ] + [ -d /lnet/image/LneTPers64/00filesystem.squashfs ] + basename /lnet/image/LneTPers64/00filesystem.squashfs + u=/tmp/tmp.bYP9FObwD6/00filesystem.squashfs + mkdir -p /tmp/tmp.bYP9FObwD6/00filesystem.squashfs + mount -o loop /lnet/image/LneTPers64/00filesystem.squashfs /tmp/tmp.bYP9FObwD6/00filesystem.squashfs + [ -n ] + lf=/tmp/tmp.bYP9FObwD6/00filesystem.squashfs + read uf + [ -e /lnet/image/LneTPers64/12firmwarert.squashfs ] + [ -d /lnet/image/LneTPers64/12firmwarert.squashfs ] + basename /lnet/image/LneTPers64/12firmwarert.squashfs + u=/tmp/tmp.bYP9FObwD6/12firmwarert.squashfs + mkdir -p /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs + mount -o loop /lnet/image/LneTPers64/12firmwarert.squashfs /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs + [ -n /tmp/tmp.bYP9FObwD6/00filesystem.squashfs ] + [ -d /tmp/tmp.bYP9FObwD6/00filesystem.squashfs ] + l=/tmp/tmp.bYP9FObwD6/00filesystem.squashfs + mktemp -d -p /tmp/tmp.bYP9FObwD6 + r=/tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH + mount -t overlayfs -o ro,lowerdir=/tmp/tmp.bYP9FObwD6/00filesystem.squashfs,upperdir=/tmp/tmp.bYP9FObwD6/12firmwarert.squashfs overlayfs /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH + lf=/tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH + read uf + [ -e /lnet/image/LneTPers64/90pcjordi.squashfs ] + [ -d /lnet/image/LneTPers64/90pcjordi.squashfs ] + basename /lnet/image/LneTPers64/90pcjordi.squashfs + u=/tmp/tmp.bYP9FObwD6/90pcjordi.squashfs + mkdir -p /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs + mount -o loop /lnet/image/LneTPers64/90pcjordi.squashfs /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs + [ -n /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH ] + [ -d /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH ] + l=/tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH + mktemp -d -p /tmp/tmp.bYP9FObwD6 + r=/tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF + mount -t overlayfs -o ro,lowerdir=/tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH,upperdir=/tmp/tmp.bYP9FObwD6/90pcjordi.squashfs overlayfs /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF + lf=/tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF + read uf + [ -d /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF ] + mktemp -d -p /tmp/tmp.bYP9FObwD6 + ROOT_DIR=/tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b + mktemp -d -p /tmp/tmp.bYP9FObwD6 + COW_DIR=/tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW + mount -t overlayfs -o rw,lowerdir=/tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF,upperdir=/tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW overlayfs /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b + echo rootdir: /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b rootdir: /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b + echo COW: /tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW COW: /tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW + find /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2 -type f + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/continuoustrade.conf sed: couldn't open temporary file /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/sedthJcp8: Read-only file system + : + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/jplive.conf sed: couldn't open temporary file /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/sed7QBon8: Read-only file system + : + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/libretto.conf sed: couldn't open temporary file /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/sedpu5gN8: Read-only file system + : + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/librettoweb.conf sed: couldn't open temporary file /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/sed73phL8: Read-only file system + : + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/ports.conf sed: couldn't open temporary file /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/sedvNIHA8: Read-only file system + : + find /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2 -type f + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/continuoustrade.conf + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/jplive.conf + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/libretto.conf + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/librettoweb.conf + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/ports.conf + find /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2 -type f + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/continuoustrade.conf + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/jplive.conf + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/libretto.conf + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/conf.d/librettoweb.conf + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/apache2/ports.conf + find /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default -type f + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/acpid + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/alsa + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/bluetooth + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/bootlogd + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cacerts + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cgconfig + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cgred + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/console-setup + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cron + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cups + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/dbus + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/devpts + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/halt + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ifupdown + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/irqbalance + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/jobadmind + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/kdm.d/10_desktop-base + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/kexec + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/keyboard + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-firewall + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-service-defaults + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-upnpclient + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/locale + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/nss + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ntpdate + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/openvpn + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rcS + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rsync + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rsyslog + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/samba + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/saned + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ssh + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/tmpfs + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/useradd + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/vnc-lnet + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/xinetd + find /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default -type f + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/acpid + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/alsa + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/bluetooth + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/bootlogd + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cacerts + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cgconfig + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cgred + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/console-setup + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cron + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cups + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/dbus + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/devpts + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/halt + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ifupdown + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/irqbalance + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/jobadmind + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/kdm.d/10_desktop-base + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/kexec + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/keyboard + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-firewall + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-service-defaults + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-upnpclient + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/locale + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/nss + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ntpdate + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/openvpn + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rcS + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rsync + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rsyslog + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/samba + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/saned + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ssh + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/tmpfs + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/useradd + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/vnc-lnet + touch /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/xinetd + find /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default -type f + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/acpid + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/alsa + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/bluetooth + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/bootlogd + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cacerts + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cgconfig + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cgred + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/console-setup + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cron + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/cups + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/dbus + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/devpts + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/halt + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ifupdown + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/irqbalance + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/jobadmind + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/kdm.d/10_desktop-base + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/kexec + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/keyboard + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-firewall + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-service-defaults + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/lnet-upnpclient + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/locale + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/nss + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ntpdate + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/openvpn + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rcS + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rsync + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/rsyslog + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/samba + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/saned + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/ssh + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/tmpfs + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/useradd + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/vnc-lnet + sed -i -e s|a|a|g /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b/etc/default/xinetd + mount proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) rootfs on / type rootfs (rw) tmpfs on /run type tmpfs (rw,nosuid,relatime,size=410976k,mode=755) tmpfs on /lnet type tmpfs (rw,relatime,size=2054872k) /dev/sda1 on /lnet/image type ext3 (ro,noatime,errors=continue,barrier=0,data=writeback,commit=0) /dev/loop0 on /lnet/00filesystem.squashfs type squashfs (ro,noatime) /dev/sda2 on /lnet/cowroot type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered,commit=0) /lnet/cowroot/LneTPersCOW on /lnet/cow type none (rw,bind,commit=0) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=2054872k) tmpfs on /var/log type tmpfs (rw,nosuid,relatime,size=2054872k,mode=755) tmpfs on /var/tmp type tmpfs (rw,nosuid,nodev,relatime,size=2054872k) cgroup on /sys/fs/cgroup type cgroup (rw,relatime,memory,cpu) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=2054872k) /lnet/cowroot/LneThome on /home type none (rw,bind,commit=0) /home/JPLive/cacheapt-amd64 on /var/cache/apt type none (rw,bind,commit=0) /home/JPLive/libapt-amd64 on /var/lib/apt type none (rw,bind,commit=0) /home/JPLive/var-spool on /var/spool type none (rw,bind,commit=0) /dev/loop4 on /tmp/tmp.bYP9FObwD6/00filesystem.squashfs type squashfs (ro) /dev/loop5 on /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs type squashfs (ro) /home/JPLive/git/linux-2.6/overlayfs/overlayfs on /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH type overlayfs (ro,lowerdir=/tmp/tmp.bYP9FObwD6/00filesystem.squashfs,upperdir=/tmp/tmp.bYP9FObwD6/12firmwarert.squashfs) /dev/loop6 on /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs type squashfs (ro) /home/JPLive/git/linux-2.6/overlayfs/overlayfs on /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF type overlayfs (ro,lowerdir=/tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH,upperdir=/tmp/tmp.bYP9FObwD6/90pcjordi.squashfs) /home/JPLive/git/linux-2.6/overlayfs/overlayfs on /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b type overlayfs (rw,lowerdir=/tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF,upperdir=/tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW) + umount /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b + find /tmp/tmp.bYP9FObwD6 -mindepth 1 -maxdepth 1 -type d + read f + [ -d /tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW ] + mountpoint /tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW /tmp/tmp.bYP9FObwD6/tmp.Cb0t6fshqW is not a mountpoint + : + read f + [ -d /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b ] + mountpoint /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b /tmp/tmp.bYP9FObwD6/tmp.k41C1t8H8b is not a mountpoint + : + read f + [ -d /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF ] + mountpoint /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF is a mountpoint + umount /tmp/tmp.bYP9FObwD6/tmp.zX0iRoUfKF + read f + [ -d /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs ] + mountpoint /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs is a mountpoint + umount /tmp/tmp.bYP9FObwD6/90pcjordi.squashfs + read f + [ -d /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH ] + mountpoint /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH is a mountpoint + umount /tmp/tmp.bYP9FObwD6/tmp.n7ZqjtjpxH + read f + [ -d /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs ] + mountpoint /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs is a mountpoint + umount /tmp/tmp.bYP9FObwD6/12firmwarert.squashfs + read f + [ -d /tmp/tmp.bYP9FObwD6/00filesystem.squashfs ] + mountpoint /tmp/tmp.bYP9FObwD6/00filesystem.squashfs /tmp/tmp.bYP9FObwD6/00filesystem.squashfs is a mountpoint + umount /tmp/tmp.bYP9FObwD6/00filesystem.squashfs + read f + :
Attachment:
test04.sh
Description: application/shellscript
Attachment:
test05.sh
Description: application/shellscript