Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Simon Glass's avatar
    7eb2c8d5
    sandbox: fs: Add support for saving files to host filesystem · 7eb2c8d5
    Simon Glass authored
    
    This allows write of files from the host filesystem in sandbox. There is
    currently no concept of overwriting the file and removing its existing
    contents - all writing is done on top of what is there. This means that
    writing 10 bytes to the start of a 1KB file will only update those 10
    bytes, not truncate the file to 10 byte slong.
    
    If the file does not exist it is created.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    7eb2c8d5
    History
    sandbox: fs: Add support for saving files to host filesystem
    Simon Glass authored
    
    This allows write of files from the host filesystem in sandbox. There is
    currently no concept of overwriting the file and removing its existing
    contents - all writing is done on top of what is there. This means that
    writing 10 bytes to the start of a 1KB file will only update those 10
    bytes, not truncate the file to 10 byte slong.
    
    If the file does not exist it is created.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>