RT-Thread / RT-Thread/rt-thread
使用 ramfs 文件系统时,文件指针无法 lseek 到超过文件总大小,来进行扩展文件
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported ramfs behavior: lseek to a position beyond the current file size and then attempt to extend the file. Trace the ramfs file-pointer and seek handling; done means seeking beyond EOF and subsequent file extension work correctly, with a regression test if the existing filesystem tests cover this behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100