mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
docs(storage/fatfs): discrepancies between FATFS and POSIX
Closes https://github.com/espressif/esp-idf/issues/15187
This commit is contained in:
parent
c7a0e45489
commit
09aae72bfa
@ -43,10 +43,11 @@ Most applications use the following workflow when working with ``esp_vfs_fat_``
|
|||||||
|
|
||||||
The convenience functions :cpp:func:`esp_vfs_fat_sdmmc_mount`, :cpp:func:`esp_vfs_fat_sdspi_mount`, and :cpp:func:`esp_vfs_fat_sdcard_unmount` wrap the steps described above and also handle SD card initialization. These functions are described in the next section.
|
The convenience functions :cpp:func:`esp_vfs_fat_sdmmc_mount`, :cpp:func:`esp_vfs_fat_sdspi_mount`, and :cpp:func:`esp_vfs_fat_sdcard_unmount` wrap the steps described above and also handle SD card initialization. These functions are described in the next section.
|
||||||
|
|
||||||
.. note::
|
Differences to POSIX standard
|
||||||
|
-----------------------------
|
||||||
Because FAT filesystem does not support hardlinks, :cpp:func:`link` copies contents of the file instead. (This only applies to files on FatFs volumes.)
|
|
||||||
|
|
||||||
|
#. :cpp:func:`link`: Because FAT filesystem does not support hardlinks, :cpp:func:`link` copies contents of the file instead. (This only applies to files on FatFs volumes.)
|
||||||
|
#. :cpp:func:`unlink`: When trying to remove an open file, the operation will either fail with ``EBUSY``, when ``CONFIG_FATFS_FS_LOCK`` is enabled, or the behaviour is undefined (possibly causing FS corruption), if not.
|
||||||
|
|
||||||
.. _using-fatfs-with-vfs-and-sdcards:
|
.. _using-fatfs-with-vfs-and-sdcards:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user