By the name, it’s pretty clear that the “fs.getDrive()” function is meant to return what drive a pathname is on. For files in the root directory and general subdirectories, it returns “hdd”. For files in the “rom” directory, it returns “rom”. For files in floppy disks (referred to by path “disk/foobar”) and the “disk” directory itself, it returns… “hdd”. Not sure the function is all that useful for many real-world applications, but it should probably be fixed for completeness.