[lxc-devel] [PATCHES] add "--mask-tmp" to lxc-fedora, plus some template script fixes

Michael Adam obnox at samba.org
Sat Jan 10 17:28:26 UTC 2015


On 2015-01-10 at 15:59 +0000, Serge Hallyn wrote:
> Quoting Michael Adam (obnox at samba.org):
> > On 2015-01-10 at 04:05 +0000, Serge Hallyn wrote:
> > > 
> > > Actually a patch to remove '-p|--path' from the
> > > help statement in all other templates would be appreciated.
> > 
> > Ok, I was just about to send such an add-on patchset,
> > but first one more thought:
> > 
> > Doesn't the same apply to the -n|--name parameter?
> > 
> > And what about the --rootfs switch that some
> > of the templates (like archlinux) take?
> 
> Yup, good point, I think it does.

So then, there are two different approaches:

1) document all options for the sake of completeness,
   marking some of them as "intended for internal use only"

2) hide those internal options from the usage text.

I am personally not 100% certain what I would favour, but
slightly inclining towards option 1.

I am happy to do patches for either variant, but will
wait for more comments on that first.

Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20150110/a6526433/attachment.sig>


More information about the lxc-devel mailing list