From: Rafał Miłecki
The new samba36-hotplug package provides a hotplug.d script for the
"mount" subsystem. It automatically shares every mounted block device.
It works by updating /var/run/config/samba file which:
1) Is read by procd init script
2) Gets wiped on reboot providing a consistent sta
On Thu, 27 Dec 2018 at 05:25, rosys...@rosinson.com
wrote:
> Be care of the issue that the mount points(external usb sda1, sda2, )
> will lost when system firstboot.
That's right, fstools (block-mound / blockd) doesn't mount any
external drives by default. We have to expect users to handle *
On 2018-12-27 08:50, rosys...@rosinson.com wrote:
I added a while loop in samba.hotplug to solve the problem.
The loop will stop until the file */overlay/.fs_state* is equal to
"2" which indicates the filesystem is ready for everything.
This really works fine for me.
OK, apparently we're t