The unlink Inode Operation
As an added bonus, let us also support deleting files. This is real easy now:
- Simply add an 'unlink' operation to the stamfs_dir_iops struct, pointing
to stamfs_iop_unlink. We already implemented that when adding support
for rmdir.
Here is the file-create-able STAMFS code.
Originally written by
guy keren