From efeba0875ed181e7c1c7915742a3868799604d0c Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 6 Oct 2020 11:19:13 +0200 Subject: Add an ubifs mount helper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This abstracts away attaching of the right ubi and then selecting the right ubi device and volume to mount. As described in the comment at the top this allows to mount ubifs volumes directly from /etc/fstab without having to use hardcoded numbers (which depend on mount order and so are unreliable) and extra magic to care for attaching. Signed-off-by: Uwe Kleine-König Signed-off-by: David Oberhollenzer --- ubifs-utils/Makemodule.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ubifs-utils/Makemodule.am') diff --git a/ubifs-utils/Makemodule.am b/ubifs-utils/Makemodule.am index 59109cc..5c5d99f 100644 --- a/ubifs-utils/Makemodule.am +++ b/ubifs-utils/Makemodule.am @@ -47,4 +47,6 @@ UBIFS_EXTRA = \ EXTRA_DIST += $(UBIFS_HEADER) $(UBIFS_EXTRA) +dist_sbin_SCRIPTS = ubifs-utils/mount.ubifs + sbin_PROGRAMS += $(UBIFS_BINS) -- cgit v1.2.3