From b16f56439a85c767b03f68c149a930daa5cf1d11 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Thu, 13 Jul 2017 20:22:04 +1000 Subject: [PATCH] fs-automount-ext: mounts extra filesystems as fs00, fs01 etc. --- modules/util/fs-automount-ext.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/util/fs-automount-ext.lua diff --git a/modules/util/fs-automount-ext.lua b/modules/util/fs-automount-ext.lua new file mode 100644 index 0000000..2879ae6 --- /dev/null +++ b/modules/util/fs-automount-ext.lua @@ -0,0 +1,9 @@ +do + local C=0 + for c in component.list("filesystem") do + if c ~= fT.boot.address and c ~= fT.tmp.address then + fT["fs"..string.format("%02d",C)] = component.proxy(c) + C=C+1 + end + end +end