Quoting Armin Ranjbar <z...@zoup.org>:

> but what about when we are shutting down? there will be attempt unmount
> /root, but i think nothing will ever
> to unmount /wr and /ro (which were mounted at initramfs level)
> am i right here?

In our setup the rootfs is ro NFS. It only becomes rw when combined  
with the tmpfs using AUFS. In this case we don't unmount the rootfs as  
it unnecessary.

In Gentoo in /etc/conf.d/net you can define a predown() function that  
can be used to detect which network interface cannot be downed during  
a shutdown. This is useful when PXE booting as shutting down the PXE  
interface will cause the system to hang.

Using the predown() we can detect if the rootfs is using AUFS and NFS  
and choose to keep the interface up so the system can gracefully  
shutdown or reboot.

Regards,
Dan


------------------------------------------------------------------------------
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