simplefs
simplefs copied to clipboard
A simple native file system for Linux kernel
``` $ echo "FILE" > file1 $ ln -s file1 symlink $ cat file1 FILE $ cat symlink cat: symlink: Too many levels of symbolic links $ rm -f symlink...
I discover that deleting a file in the current system has a high overhead. When a file is deleted, to maintain the compactness of simplefs_dir_block, subsequent files are shifted forward...
Previously, SimpleFS used a sequential insertion method to create files, which worked efficiently when the filesystem contained only a small number of files. However, in real-world use cases, filesystems often...
The purpose of this check is to prevent avail from going out of bounds, but I think it may not be necessary. ``` /* Validate avail index is within bounds...
This [PR](https://github.com/sysprog21/rv32emu/pull/625) enables loading simplefs.ko in the guest OS to mount simplefs. The CI of the [rv32emu](https://github.com/sysprog21/rv32emu) supports both Linux and macOS runners, however, the macOS runner cannot execute the...
# Bug Report: Incorrect boundary check in simplefs_ext_search() ## **Location** **File:** `extent.c`, **Line:** 67 ## **Issue Description** There's a logical error in the final boundary check of the `simplefs_ext_search()` function....