From fb6bdf408d66bfc213293a418a6388cfd1b9180d Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 10 Aug 2008 16:36:33 +0000 Subject: [PATCH] Added test for mkfatfs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@807 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 3 +- Documentation/NuttxUserGuide.html | 96 ++++++++++++++++++++++--------- 2 files changed, 72 insertions(+), 27 deletions(-) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index fc53f66efb1..bd914f23b80 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -1038,7 +1038,8 @@ nuttx-0.3.12 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> * Moved all FAT related files from fs to fs/fat * Implemented mkfatfs(), a non-standard API to create a FAT filesystem on a block device (not yet tested). - * Added a test for mkfatfs() on a RAM disk in examples/mount + * Added a test for mkfatfs() on a RAM disk in examples/mount and verified + basic mkfatfs functionality for FAT12. pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index f480187bc3f..a6e6ea90d09 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -21,7 +21,7 @@ User's Manual

Gregory Nutt

-Last Update: July 20, 2008 +Last Update: August 10, 2008

1.0 Introduction

@@ -5843,7 +5843,16 @@ interface of the same name.

2.11 File System Interfaces

-

Overview

+ + +

2.11.1 NuttX File System Overview

Overview. NuttX includes an optional, scalable file system. @@ -5971,9 +5980,9 @@ interface of the same name. int statfs(const char *path, FAR struct statfs *buf); /* Prototyped but not implemented */ -

2.11.4 Pipes and FIFOs

+

2.11.5 Pipes and FIFOs

-

2.11.4.1 pipe

+

2.11.5.1 pipe

Function Prototype:

@@ -6007,7 +6016,7 @@ interface of the same name.

-

2.11.4.2 mkfifo

+

2.11.5.2 mkfifo

Function Prototype:

@@ -6054,22 +6063,25 @@ interface of the same name.

-

2.10.4 setenv

+

2.11.6 FAT File System Support

+

2.11.5.1 mkfatfs

Function Prototype:

-
-  #include 
-  int setenv(const char *name, const char *value, int overwrite);
-
+

Description:

@@ -6077,16 +6089,30 @@ interface of the same name. Input Parameters:

@@ -6094,7 +6120,23 @@ interface of the same name. Returned Values:

@@ -6928,7 +6970,7 @@ notify a task when a message is available on a queue.

Index

- -
+
  • accept
  • bind
  • clock_getres
  • @@ -6940,6 +6982,7 @@ notify a task when a message is available on a queue.
  • Directory operations
  • Driver operations
  • exit
  • +
  • FAT File System Support
  • File system, interfaces
  • File system, overview
  • getpid
  • @@ -6950,6 +6993,7 @@ notify a task when a message is available on a queue.
  • listen
  • localtime_r
  • Named Message Queue Interfaces +
  • mkfatfs
  • mkfifo
  • mktime
  • mq_close
  • @@ -7005,9 +7049,9 @@ notify a task when a message is available on a queue.
  • pthread_mutexattr_getpshared
  • pthread_mutexattr_gettype
  • pthread_mutexattr_init
  • -
  • pthread_mutexattr_setpshared
  • + +
  • pthread_mutexattr_setpshared
  • pthread_mutexattr_settype
  • pthread_mutex_destroy
  • pthread_mutex_init