Re: [PATCH v2] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-11 Thread Glenn Washburn
On Thu, 10 Dec 2020 17:55:20 +0100 Daniel Kiper wrote: > On Mon, Dec 07, 2020 at 10:52:16PM -0600, Glenn Washburn wrote: > > On Fri, 4 Dec 2020 13:34:44 +0100 > > Daniel Kiper wrote: > > > > > On Thu, Dec 03, 2020 at 07:57:11PM -0600, Glenn Washburn wrote: > > > > If there is a loopback device w

Re: [PATCH v2] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-10 Thread Daniel Kiper
On Mon, Dec 07, 2020 at 10:52:16PM -0600, Glenn Washburn wrote: > On Fri, 4 Dec 2020 13:34:44 +0100 > Daniel Kiper wrote: > > > On Thu, Dec 03, 2020 at 07:57:11PM -0600, Glenn Washburn wrote: > > > If there is a loopback device with the same name as the one to be > > > created, instead of closing

Re: [PATCH v2] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-07 Thread Glenn Washburn
On Fri, 4 Dec 2020 13:34:44 +0100 Daniel Kiper wrote: > On Thu, Dec 03, 2020 at 07:57:11PM -0600, Glenn Washburn wrote: > > If there is a loopback device with the same name as the one to be > > created, instead of closing the old one and replacing it with the > > new one, return an error instead.

Re: [PATCH v2] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-04 Thread Daniel Kiper
On Thu, Dec 03, 2020 at 07:57:11PM -0600, Glenn Washburn wrote: > If there is a loopback device with the same name as the one to be created, > instead of closing the old one and replacing it with the new one, return an > error instead. If the loopback device was created, its probably being used > b

[PATCH v2] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-03 Thread Glenn Washburn
If there is a loopback device with the same name as the one to be created, instead of closing the old one and replacing it with the new one, return an error instead. If the loopback device was created, its probably being used by something and just replacing it may cause grub to crash unexpectedly.