Re: [PATCH 5/5] ubi: Allow to use read-only UBI volume with not enough PEBs

2017-08-06 Thread Pali Rohár
On Sunday 06 August 2017 11:43:25 Richard Weinberger wrote: > Pali, > > Am 25.07.2017 um 16:27 schrieb Pali Rohár: > >> I fear this is not correct, it will disable a legit self-check of > >> UBI volumes. If the read-only volume is corrupted/truncated and > >> you miss PEBs, this check will no long

Re: [PATCH 5/5] ubi: Allow to use read-only UBI volume with not enough PEBs

2017-08-06 Thread Richard Weinberger
Pali, Am 25.07.2017 um 16:27 schrieb Pali Rohár: >> I fear this is not correct, it will disable a legit self-check of UBI >> volumes. >> If the read-only volume is corrupted/truncated and you miss PEBs, this >> check will no longer >> trigger. >> >> Especially when dealing with nanddumps, truncat

Re: [PATCH 5/5] ubi: Allow to use read-only UBI volume with not enough PEBs

2017-07-25 Thread Pali Rohár
On Friday 21 July 2017 22:12:51 Richard Weinberger wrote: > Pali, > > On Fri, Jun 2, 2017 at 5:43 PM, Pali Rohár wrote: > > In read-only mode is skipped auto-resize. For pre-build images ready for > > auto-resize there can be reserved more PEBs as whole size of pre-build > > image. In read-only w

Re: [PATCH 5/5] ubi: Allow to use read-only UBI volume with not enough PEBs

2017-07-21 Thread Richard Weinberger
Pali, On Fri, Jun 2, 2017 at 5:43 PM, Pali Rohár wrote: > In read-only mode is skipped auto-resize. For pre-build images ready for > auto-resize there can be reserved more PEBs as whole size of pre-build > image. In read-only we do not do any write operation therefore this would > allow to use re