PFS Bitmap information

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
gewgawkarl
Posts: 1
Joined: Fri Dec 15, 2006 11:51 am

PFS Bitmap information

Post by gewgawkarl »

After successfully traversing inodes and listing directories on the harddrive using utilities I created for windows, I'm at a point where I'd like to write files to the harddrive (ignoring Journaling).

I was hoping someone could point me in the right direction either to documented source code (undocumented even) that deals directly with the bitmap on a PFS partition so I have some idea of how to free or allocate blocks.

I have the code from ps2fs, but I'm having a little bit of difficulty understanding it. I was under the impression that the bitmap would simply be a linear bit representation of the 8k clusters on a partition, but from where my root inode starts it doesn't look like that's possible. Anyway, any clarification would be appreciated.
Post Reply