made fs-automount cope with non-fs boot devices better
This commit is contained in:
parent
1e3d4eddac
commit
437f65e0dc
@ -17,9 +17,11 @@ do
|
||||
print(c:sub(1,8).." mounted as fs"..string.format("%02d",C))
|
||||
C=C+1
|
||||
end
|
||||
if component.type(computer.getBootAddress()) == "tape_drive" then
|
||||
if component.type(computer.getBootAddress()) ~= "filesystem" then
|
||||
fs.mount("boot",component.proxy(computer.tmpAddress()))
|
||||
print(computer.tmpAddress():sub(1,8).." mounted as boot")
|
||||
end
|
||||
if component.type(computer.getBootAddress()) == "tape_drive" then
|
||||
if tape then
|
||||
tape.rewind()
|
||||
local pt = tape.records()
|
||||
|
Loading…
Reference in New Issue
Block a user