made fs-automount.lua mount labelled filesystems as their label.
This commit is contained in:
parent
962be29bea
commit
ede81e3250
@ -9,6 +9,10 @@ do
|
||||
fs.mount("boot",component.proxy(c))
|
||||
print(c:sub(1,8).." mounted as boot")
|
||||
end
|
||||
if component.invoke(c,"getLabel") ~= "" then
|
||||
fs.mount(component.invoke(c,"getLabel"),component.proxy(c))
|
||||
print(c:sub(1,8).." mounted as "..component.invoke(c,"getLabel"))
|
||||
end
|
||||
fs.mount("fs"..string.format("%02d",C),component.proxy(c))
|
||||
print(c:sub(1,8).." mounted as fs"..string.format("%02d",C))
|
||||
C=C+1
|
||||
|
Loading…
Reference in New Issue
Block a user