Hello Ilya,

Ilya Sretensky:
> I have the details at http://forums.gentoo.org/viewtopic-t-929586.html
> But briefly I wish to combine to put it all into the /etc/fstab file
> to get rid of the script.
> Whether is that possible?

It is totally up to what you mount and how you use it.
If you use aufs as your root dir, then you should use initramfs or
initrd instead of /etc/fstab.
If not, I guess you can put an aufs entry in your fstab.

Your script says that you are using aufs for etc, var and root.
If this "root" is the future root dir (by switch_root or chroot), then
it will be easier to mount aufs in the script.

If you really want to put the root aufs in your fstab, then I guess it
will be reached by,
- mount the ro branch in your script
- boot the true system
- by fstab, mount tmpfs
- by fstab, mount aufs root(rw) of tmpfs+ro branch

I have not tried such operation. This is just my guess.

By the way, as I wrote in the aufs README file, I don't read SF forums.


J. R. Okajima

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Reply via email to