On 8 February 2018 at 18:34, Rafał Miłecki <zaj...@gmail.com> wrote:
> From: Rafał Miłecki <ra...@milecki.pl>
> 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 steps
> when it disappears.

Uh, this may not exactly work as expected.

Even if device is mounted, e.g. to /var/run/mountd/sda1 mountd on start does:
/bin/mount -t autofs -o (...) /tmp/run/mountd/
which causes /var/run/mountd/sda1 to /disappear/.

I've to think about it for a bit more.

Lede-dev mailing list

Reply via email to