Re: [LEDE-DEV] [PATCH mountd] mount: don't mount device that is already mounted

2018-02-09 Thread Rafał Miłecki
On 8 February 2018 at 18:34, Rafał Miłecki wrote: > From: Rafał Miłecki > > It may happen that on mountd start some devices are already mounted. > This could due to killing previous mountd instance or just a crash. In > such case device shouldn't get remounted but added to the list with a > mount

[LEDE-DEV] [PATCH mountd] mount: don't mount device that is already mounted

2018-02-08 Thread Rafał Miłecki
From: Rafał Miłecki It may happen that on mountd start some devices are already mounted. This could due to killing previous mountd instance or just a crash. In such case device shouldn't get remounted but added to the list with a mounted flag set. That will make mountd monitor it and take needed