Hello Yiu-Chung Lee,
Yiu-Chung Lee:
> Is there any way that unmount the filesystem (or at least ensure the
> filesystem being clean) at shutdown/reboot? I tried mounting all the
> partitions read-only but seems it doesn't fix this issue.
How about this?
(from the aufs manual)
We already do it in remote boot schema. Here you have our
script (but there are some strings in portuguese, sorry)
Note that we don't use initrd, we just change init parameter
to use the script bellow.
Bona
---
# Monta /proc : Precisamos HOSTNAME
mount -n -t proc -onodev,noexec,n
Dear Tomas,
I moved the mount point by mount --move, as instructed in
https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash (found in
http://aufs.sourceforge.net/Tips, with some minor modifications, and I
am testing in Debian.)
Maybe I need to considering your way, but I would have t
Hello,
> In my initramfs, the read-only partition is mounted as /ro, and the
> read-write partitions is mounted as /rw. Then these branches are merged
> to /aufs. Then I move /ro to /aufs/.aufs/ro and /rw to /aufs/.aufs/rw.
> As a last step, I move /aufs to /, and initramfs would finish its job
Dear all,
I am considering using aufs for my company's embedded system. I would
like to have a read-only partition with the factory-installed firmware
(i.e. operating system with applications), and a read-write partition
(user data and all user-initiated firmware upgraded go here). By using
th