Re: [PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-26 Thread Vladimir 'phcoder' Serbinenko
Go ahead Le sam. 13 févr. 2016 06:41, Andrei Borzenkov a écrit : > 12.02.2016 17:49, Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > On 12.02.2016 15:38, Andrei Borzenkov wrote: > >> On Fri, Feb 12, 2016 at 5:29 PM, Vladimir 'φ-coder/phcoder' Serbinenko > >> wrote: > >>> On 05.02.2016 17:56, A

Re: [PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-12 Thread Andrei Borzenkov
12.02.2016 17:49, Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 12.02.2016 15:38, Andrei Borzenkov wrote: >> On Fri, Feb 12, 2016 at 5:29 PM, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >>> On 05.02.2016 17:56, Andrei Borzenkov wrote: Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is

Re: [PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12.02.2016 15:38, Andrei Borzenkov wrote: > On Fri, Feb 12, 2016 at 5:29 PM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 05.02.2016 17:56, Andrei Borzenkov wrote: >>> Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is ignored by diskfilter. >>> This >>> actually matches pretty close (w

Re: [PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-12 Thread Andrei Borzenkov
On Fri, Feb 12, 2016 at 5:29 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 05.02.2016 17:56, Andrei Borzenkov wrote: >> Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is ignored by diskfilter. This >> actually matches pretty close (we obviously attempt to read outside of media) >> and avoi

Re: [PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 05.02.2016 17:56, Andrei Borzenkov wrote: > Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is ignored by diskfilter. This > actually matches pretty close (we obviously attempt to read outside of media) > and avoids adding more error codes. > > This affects only internally initiated scans. If re

[PATCH] efidisk: prevent errors from diskfilter scan of removable drives

2016-02-05 Thread Andrei Borzenkov
Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is ignored by diskfilter. This actually matches pretty close (we obviously attempt to read outside of media) and avoids adding more error codes. This affects only internally initiated scans. If read/write from removable is explicitly requested, we sti