From fc8a9b155c5f20e8d6cb72f512eb451bd02f6d82 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 21 May 2007 17:17:42 +0000 Subject: [PATCH] Add FAT rmdir and unlink git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@247 42af7a65-404d-4744-a932-0658087f49c3 --- arch/sim/src/up_deviceimage.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/sim/src/up_deviceimage.c b/arch/sim/src/up_deviceimage.c index 9a28f4edda..70dfc9cab1 100644 --- a/arch/sim/src/up_deviceimage.c +++ b/arch/sim/src/up_deviceimage.c @@ -82,7 +82,11 @@ * xxd -g 1 nuttx-test.vfat.gz >some-file * * Then manually massaged from the gzip xxd output to zlib format. See - * http://www.faqs.org/rfcs/rfc1952.html + * http://www.faqs.org/rfcs/rfc1952.html. This amounts to: + * + * Remove all of the leading bytes through the null terminator of the file name + * Remove the last 8 bytes + * Add 0x08, 0x1d to the beginning. */ static const unsigned char g_vfatdata[] =