3 posts
Posted 14 December 2012 - 02:32 PM
I accidentally overrode the "programs" program with one of my own. I can no longer see all of my programs and everything important is backed up on drives. It would be really simple if I could just format it. Is there a way to entirely format it, even though it has a label already? Thank you.
1214 posts
Location
The Sammich Kingdom
Posted 14 December 2012 - 02:40 PM
Do you mean erase everything on the turtle?
3 posts
Posted 14 December 2012 - 02:44 PM
Yes I do, and after a little playing around I was able to just clear the label then pick up the turtle.
For anyone who has a similar problem in the future I used "
label clear
" to get rid of the label. It was a simple fix that I wish I had just tried before making a post :P/>.
1214 posts
Location
The Sammich Kingdom
Posted 14 December 2012 - 02:53 PM
A easier way to do it is this:
for k,v in pairs(fs.list("/")) do
if not fs.isReadOnly(v) then
fs.delete(v)
end
end
8543 posts
Posted 14 December 2012 - 03:14 PM
For future reference, you didn't actually override it, since it's in ROM. You could just have done rm /programs and all would have been well again.