[OpenWrt-Devel] [PATCH] samba36: add package with hotplug.d script for auto sharing

Rafał Miłecki zajec5 at gmail.com
Thu Dec 27 00:32:13 EST 2018


On Thu, 27 Dec 2018 at 05:25, rosysong at rosinson.com
<rosysong at 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 *some*
configuration in order to get expected behavior.

I don't see any real solution for that. Doing things like
samba36-hotplug changing /etc/config/fstab would be too hacky. We
cannot say if user wants to specify mounts on his own or maybe just
use fstab. at global[0].anon_mount.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list