[lxc-devel] name for 'optional' mount option

Stéphane Graber stgraber at ubuntu.com
Mon Jan 28 21:49:13 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130128/f90edd6c/attachment.pgp>


More information about the lxc-devel mailing list