Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

part 1 of romfs extend to enable format function #13445

Merged
merged 13 commits into from
Oct 11, 2024

Commits on Oct 8, 2024

  1. romfs:extend romfs to enable write part1

    change romfs_cachenode to find all headers
    
    Signed-off-by: guohao15 <[email protected]>
    guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    89caaf9 View commit details
    Browse the repository at this point in the history
  2. romfs:extend romfs to enable write part2

    add sparelist api
    
    Signed-off-by: guohao15 <[email protected]>
    guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    89d2dfe View commit details
    Browse the repository at this point in the history
  3. romfs:bugfix romfs_statfs

    fix for df cmd infomation of romfs
    
    Signed-off-by: guohao15 <[email protected]>
    guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    2830690 View commit details
    Browse the repository at this point in the history
  4. romfs:bugfix use origoffset instead of offset

    origoffset represent the offset of current node
    offset represent the offset of the file when
    the current node is a soft or hard link
    
    Signed-off-by: guohao15 <[email protected]>
    guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    828287b View commit details
    Browse the repository at this point in the history
  5. romfs:extend romfs to enable write part3

    add romfs_mkfs to support autoformat && forceformat
    
    Signed-off-by: guohao15 <[email protected]>
    guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    afadde6 View commit details
    Browse the repository at this point in the history
  6. fs/romfs: Remove the reference to OK and ERROR

    and fix the minor style issue
    
    Signed-off-by: Xiang Xiao <[email protected]>
    xiaoxiang781216 authored and guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    4894b05 View commit details
    Browse the repository at this point in the history
  7. fs/romfs: Change the type of num from uint8_t to uint16_t

    to support the directory with more than 255 files
    
    Signed-off-by: Xiang Xiao <[email protected]>
    xiaoxiang781216 authored and guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    bb98e5d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c8667bc View commit details
    Browse the repository at this point in the history
  9. fs/romfs: Compute rf_endsector correctly when the file end on the sec…

    …tor boundary
    
    Signed-off-by: Xiang Xiao <[email protected]>
    xiaoxiang781216 authored and guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    975c233 View commit details
    Browse the repository at this point in the history
  10. fs/romfs: Add romfs_devstrcpy and romfs_devmemcpy

    Signed-off-by: Xiang Xiao <[email protected]>
    xiaoxiang781216 authored and guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e7959a9 View commit details
    Browse the repository at this point in the history
  11. fs/romfs: Replace strlcpy and strcmp with memcpy and memcmp

    Signed-off-by: Xiang Xiao <[email protected]>
    xiaoxiang781216 authored and guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    3b53c5b View commit details
    Browse the repository at this point in the history
  12. fs/romfs: Align up the file size to 16 bytes

    and set volume size to 96 bytes in romfs_mkfs
    
    Signed-off-by: Xiang Xiao <[email protected]>
    xiaoxiang781216 authored and guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    137d495 View commit details
    Browse the repository at this point in the history
  13. romfs:extend romfs to enable write part4

    add sem for write safe
    
    Signed-off-by: guohao15 <[email protected]>
    guohao15 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b95309c View commit details
    Browse the repository at this point in the history