This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LDDestroier's profile picture

Does "/rom" take up disk space?

Started by LDDestroier, 19 May 2016 - 12:01 AM
LDDestroier #1
Posted 19 May 2016 - 02:01 AM
I was wondering if the '/rom' directory ate up hard drive space as regular files do. Mm?
Cloud Ninja #2
Posted 19 May 2016 - 02:55 AM
I was wondering if the '/rom' directory ate up hard drive space as regular files do. Mm?
Kind of. It's built into the mod, and its virtualized inside of the computer. The /rom folder doesnt exist per computer, just per install of CC.
LDDestroier #3
Posted 19 May 2016 - 04:08 AM
I was wondering if the '/rom' directory ate up hard drive space as regular files do. Mm?
Kind of. It's built into the mod, and its virtualized inside of the computer. The /rom folder doesnt exist per computer, just per install of CC.
An experiment could be to add a program into the /rom folder, then compare fs.getFreeSpace("").
Dragon53535 #4
Posted 19 May 2016 - 04:54 AM
I believe the /rom folder is read only for CC, so you'd have to add it in yourself through a resource pack, and even then I don't believe it will lose you space.
Cloud Ninja #5
Posted 19 May 2016 - 11:22 AM
I was wondering if the '/rom' directory ate up hard drive space as regular files do. Mm?
Kind of. It's built into the mod, and its virtualized inside of the computer. The /rom folder doesnt exist per computer, just per install of CC.
An experiment could be to add a program into the /rom folder, then compare fs.getFreeSpace("").
The freespace is only for the computer, it doesnt take into account /rom. It will physically take up space on the drive (as in SSD or HHD) in the mod, but otherwise it takes up no space per computer.
LDDestroier #6
Posted 19 May 2016 - 12:42 PM
The freespace is only for the computer, it doesnt take into account /rom. It will physically take up space on the drive (as in SSD or HHD) in the mod, but otherwise it takes up no space per computer.

Thanks, that answered the question.