-
Notifications
You must be signed in to change notification settings - Fork 1
Sasha Crofter edited this page May 22, 2012
·
9 revisions
CAT is the default file system for cubeOS. It is based on the Harry's Allocation Table file system format. CubeOS uses hashes to identify links, in addition to fourteen character strings.
requires
- crypt
STILL UNDER HEAVY DEVELOPMENT. DO NOT USE
Mounts / directory at location, reserving length words after it. It then initializes a cat filesystem with the given sectorSize.
Currently unsafe if the number of sectors is greater than 16 returns location of first word in header
Finds the location in memory of the first word in a strip at the index given.
returns first word of header inode of the strip at index
Creates a new inode at location. Types are 0, for unused, 1, for directory, and 2, for file.
returns location after inode