From: Adrian M. <ad...@mc...> - 2002-12-02 22:59:18
|
This is more a general filesystem design question than an SH specific one - but if is for the vmu fs on the dreamcast... I am seeking to implement write on this (read only currently works). One can now successfully delete files on the system, but I am not sure how best to implement writing/creating a file. Should creating a new file be handled in file::write, or is it dealt with by a dissferent set of system calls? The vmu fs is FAT based so the "inode"s created are entirely synthetic - it is easy to 'create' an inode but there is a real dislocation between that and writing a file out to disk and I am just trying to get my head round the appropriate sequence of calls.... Adrian |