Re: mondorestore command not found
Stanislav Tokoš <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Bruno,
On 08/18/2017 12:26 PM, Bruno Cornec wrote:
> Hello again,
>
> Bruno Cornec said on Fri, Aug 18, 2017 at 12:06:19PM +0200:
>> Stanislav Tokoš said on Thu, Aug 17, 2017 at 03:58:28PM +0200:
>>> I finally figured them out. I am using mondo and mindi in the
>>> version 3.2.2. Patches from the attachments
>
>> I have applied most of your modifications. Please look at:
>
> Well here:
> http://trac.mondorescue.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3683%40branches&old=3680%40branches&sfp_email=&sfph_mail=
>
>
> I'm still looking at your patch on mr-make-me-bootable, which I'm not
> sure to understand. Could you explain to me the issue you encountered
> and the rationale of the fix please ?
Sure.
1. We don't need for cycling. Boot partition for each machine is only one.
- for p in "$activepart"; do
- # First desactivate active partitions (coming from
previous usage)
2. echo -en "${cmd}a\n$partno\np\nw\n" is replaced by echo -en
"a\n$partno\nw\n"
This command is same for mark or unmark boot partition. For that reason
I removed
cmd variable and piping to mr-parted2fdisk two times. It is the easiest
for debugging and
working for the each test case scenario without problem. I have already
test it.
3. added condition for missing $dummy variable
+ elif [ ! "$dummy" ] ; then
+ echo -en "a\n$partno\nw\n" | mr-parted2fdisk $drive >> $LOGFILE
2>> $LOGFILE
Am I cleared? Is it make sense for you?
PS: What about svn access? Is it possible access it? I am not able
checkout it. Thanks for your
advice.
Regards
Stanislav
>
>
> TIA,
> Bruno.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot