From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 11 Jan 2013 12:09:05 +0100 Subject: [U-Boot] [RFC PATCH 04/22] sandbox: fs: Add support for saving files to host filesystem In-Reply-To: <1357829905-6579-5-git-send-email-sjg@chromium.org> References: <1357829905-6579-1-git-send-email-sjg@chromium.org> <1357829905-6579-5-git-send-email-sjg@chromium.org> Message-ID: <201301111209.05657.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, > 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: Simon Glass Reviewed-by: Marek Vasut Best regards, Marek Vasut