On 01/28/2013 04:42 PM, Serge Hallyn wrote: > Hi, > > I want to add support to setup_mount_entries() to ignore the failure to > mount an entry in /var/lib/lxc/container/fstab - i.e. if the mount src > or target does not exist. > > the fstab manpage mentions 'optional' as a mount option in case the > fs is not known. mountall extends that so that it also supports the > case where the target does not exist. So we could re-use that. Or we > could use a new mount option (I was thinking 'nofatal' until I found > 'optional'). > > Any preferences? If not, I will go with optional. > > thanks, > -serge
I think optional would make sense as it'd cover both the use case defined in the manpage and just extend it a bit to cover any mount failure. nobootwait (mountall's magic option) doesn't make a lot of sense for lxc, considering that our code currently never waits anyway :) -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel