iamgweej

Results 5 comments of iamgweej

How will this work? Should `initrd` support file deletion? Or should an `Unimplemented` error be added to `vfs.Error`?

I've been looking a bit into old linux kernels to see how to implement their VFS, and it seems to look something like this: ```c struct file_operations { int (*lseek)...

It looks like their implementation (linux 2.0) supports deleting a file from a directory, as an operation on the _directory_ taking the file basename as a parameter. I've also checked...

Maybe something like this? ```zig /// /// Delete a member of this filesystem. /// /// Arguments: /// IN self: *const FileSystem - The filesystem in question being operated on ///...

Should this be a part of the `FileSystem` struct or the `DirNode` struct? What would make more sense? Also, I don't know if slices are the best for this. I...