>> Swap comes last because I plan to enable swapfile support, which rely on
>> the filesystem to be mounted first. Any idea for a swapfile name?
>> /swapfile, /swap.swp ...

> Is that really designed for swap on a hotplugged device?
> Is that a good idea?

I use hotplugged swap. It is not a bad idea per se, as long as the
administrator knows that the device can not be removed while the system is
running. The reason I use hotplug in particular is that the USB subsystem
is not initialized until after the fstab init script is run.

See also issue 2 at [1] and the recently applied enhancement at [2] that
adds swap support to the hotplug scripts.

[1] https://dev.openwrt.org/ticket/6077
[2] https://dev.openwrt.org/ticket/6517

Mike

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to