Overlayfs/ readonly rootfs | system on USB July 13, 2017 03:14PM |
Registered: 12 years ago Posts: 25 |
apt-get install overlayroot echo 'overlayroot="tmpfs"' >> /etc/overlayroot.conf reboot
Re: Overlayfs/ readonly rootfs | system on USB July 13, 2017 04:54PM |
Admin Registered: 14 years ago Posts: 19,426 |
Re: Overlayfs/ readonly rootfs | system on USB July 14, 2017 03:29AM |
Registered: 12 years ago Posts: 25 |
# dpkg -l|fgrep bilibop ii bilibop-common 0.4.23 armel shell functions for bilibop scripts ii bilibop-lockfs 0.4.23 armel lock filesystems and write changes into RAM ii bilibop-rules 0.4.23 armel device management rules for OS running from external media
# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14204,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,relatime,size=24188k,mode=755) /dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro,data=ordered) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) tmpfs on /tmp type tmpfs (rw,relatime) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
# dpkg-reconfigure bilibop-lockfs update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.120+deb8u3) ... update-initramfs: Generating /boot/initrd.img-4.4.0-kirkwood-tld-1
# cat /etc/bilibop/bilibop.conf # /etc/bilibop/bilibop.conf # Global configuration file for bilibop-* packages. For a comprehensive list # of possible default or custom settings, read the bilibop.conf(5) manpage, # and see the examples provided by each concerned bilibop-* package in # /usr/share/doc/bilibop-*/examples/bilibop.conf BILIBOP_LOCKFS=true BILIBOP_LOCKFS_POLICY=soft BILIBOP_LOCKFS_SWAP_POLICY=soft
Re: Overlayfs/ readonly rootfs | system on USB July 14, 2017 04:34AM |
Admin Registered: 14 years ago Posts: 19,426 |
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> # /dev/root / ext3 ro,noatime,errors=remount-ro 0 1 /dev/root /etc overlay lowerdir=/etc,upperdir=/mnt/kernel/rootfs/etc,workdir=/mnt/kernel/work 0 0
Re: Overlayfs/ readonly rootfs | system on USB July 17, 2017 04:59AM |
Registered: 12 years ago Posts: 25 |
> # /etc/fstab: static file system information. > # > # <file system> <mount point> <type> <options> > <dump> <pass> > # > /dev/root / ext3 ro,noatime, > errors=remount-ro 0 1 > /dev/root /etc overlay lowerdir=/e > tc,upperdir=/mnt/kernel/rootfs/etc,workdir=/mnt/ke > rnel/work 0 0 >>
Re: Overlayfs/ readonly rootfs | system on USB July 17, 2017 05:20AM |
Admin Registered: 14 years ago Posts: 19,426 |
Re: Overlayfs/ readonly rootfs | system on USB January 21, 2018 08:17AM |
Registered: 8 years ago Posts: 67 |