<div dir="ltr">Hi Thomas,<div><br></div><div>Thank you for your reply. The proposal is a bit of a work-a-round for my other issue. <span style="line-height:1.5;font-size:13px">At the moment, I'm still unable to generate the RAID1+CRYPT+LVM configuration I am after with setup-storage (see other emails). Feel free NOT to apply the patch.</span></div><div><br></div><div>With the output from '-C', I can save the commands, review them, and edit the output to include the cryptsetup commands that I'm missing, then run the resulting script.</div><div><br></div><div>I could possibly even automate this process with a perl script, but I'd rather not. I might as well just use the dry-run output.</div><div><br></div><div>Another couple of reasons that a '-C' type output might be useful.</div><div>- Save storage configuration commands for audit and review purposes.</div><div>- Regression testing in development environment. (1/2 a reason, the dry-run output would also work in this case)</div><div>- Create storage configuration bash scripts that can be run in other environments without FAI. (Debian/Ubuntu have setup storage in its own package, and I'm finding this better to use than any of the other partitioning tools.)</div><div><br></div><div>Cheers,</div><div>Paul</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 16 Sep 2016 at 17:50 Thomas Lange <<a href="mailto:lange@informatik.uni-koeln.de" target="_blank">lange@informatik.uni-koeln.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>>>> On Fri, 16 Sep 2016 05:06:32 +0000, Paul Schulz <<a href="mailto:paul@mawsonlakes.org" target="_blank">paul@mawsonlakes.org</a>> said:<br>
<br>
> See the following patch which adds the '-C' option to setup-storage.<br>
> This allows a dry-run to output the shell commands to be used by the script.<br>
Hi Paul,<br>
<br>
what is the differenct between -C and ommiting -X? IMO it's the same<br>
functionality, except the output message is slightly different.<br>
<br>
--<br>
regards Thomas<br>
</blockquote></div>