Lines Matching refs:a

4 The data were stored by directly writing to a specific address in storage devices. However, with to…
6 … also a mechanism for providing data access, retrieve, implements, and store them in hierarchical …
10 Device File System (DFS) is a virtual file system component and name structure is similar to UNIX f…
18 - Provides a unified POSIX file and directory operations interface for applications: read, write, p…
28 … that the operating system should provide for applications. It is a general term for a series of A…
30 …e software portability at the source code level. In other words, a program written for a POSIX-com…
34 …ether a group of I/O devices which support non-blocking have events (such as readable, writable, …
40 * FatFS is a Microsoft FAT format compatible file system developed for small embedded devices. It i…
41 * The traditional RomFS file system is a simple, compact, read-only file system that does not suppo…
42 * The Jffs2 file system is a log flash file system. It is mainly used for NOR flash memory, based o…
44 * NFS (Network File System) is a technology for sharing files over a network between different mach…
49 …e system. For example, the FAT file system requires that the storage device be a block device type.
58 2. Initialize a specific type of file system.
59 3. Create a block device on the memory.
66 …ta structures that allow DFS to find a specific file system in the system and get a way to manipul…
70 …need to initialize the specific type of file system used, that is, register a specific type of fil…
78 | ops | a collection of operation functions of the file system |
89 ## Register a Storage Device as a Block Device
91 … which provides various SPI Flash drivers, and abstracts the SPI Flash into a block device for mou…
97a block device, you also need to create a file system of the specified type on the block device, t…
137 In RT-Thread, mounting refers to attaching a storage device to an existing path. To access a file o…
153 | data | private data for a specific file system |
160 ## Unmount a file system
162 When a file system does not need to be used anymore, it can be unmounted. The interface to unmount …
183 To open or create a file, you can call the following open() function:
197 A file can be opened in a variety of ways, and multiple open methods can be specified at the same t…
223 To read the contents of a file, use the `read()` function:
241 To write data into a file, use the `write()` function:
260 To rename a file, use the `rename()` function:
287 | buf | structure pointer to a structure that stores file status information |
294 Delete a file in the specified directory using the `unlink()` function:
358 | positive value | a read/write event or error occurred in the monitored file collection |
362a group of non-blocking I/O devices have events (such as readable, writable, high-priority error o…
372 To create a directory, you can use the mkdir() function:
381 | mode | create a pattern |
386 This function is used to create a directory as a folder, the parameter path is the absolute path of…
388 Delete a directory using the rmdir() function:
413 | DIR | open the directory successfully, and return to a pointer to the directory stream |
429 This function is used to close a directory and must be used with the `opendir()` function.
443 | dirent | read successfully and return to a structure pointer to a directory entry |
446 …and the parameter d is the directory stream pointer. In addition, each time a directory is read, t…
462 The return value of this function records the current position of a directory stream. This return v…
507 |[*] Using working directory |DFS_USING_WORKDIR |open a relative path |
520 …ating system does not turn on the relative path function in order to obtain a small memory footpri…
567 …encoding). The 936 encoding requires a font library of approximately 180KB. If you only use Englis…
573 / Incorrect setting of the code page can cause a file open failure.
602a spi flash chip sector is 4096 bytes, the above macro needs to be changed to 4096. Otherwise, whe…
604 Usually Flash device can be set to 4096, and the common TF card and SD card have a sector size of 5…
612 FatFs itself supports a lot of configuration options and the configuration is very flexible. The fo…
631 …ed content to the specified file, write the file when it exists, and create a new file and write w…
634 | mkdir | create a folder |
644 Use the `mkdir` command to create a folder, and the results are as follows:
673 Use the `rm` command to delete a folder or file. The result is as follows:
692 …, you can run the application example. In the sample code, you first create a file `text.txt` usin…
734 The sample code in this section shows how to modify the file name. The program creates a function `…
767 In the example demonstration, we first create a file named `text.txt` using the echo command, and t…
771 The sample code shows how to get the file status. The program creates a function `stat_sample()` th…
801 ## Create a Directory Example
803a directory. The program creates a function file `mkdir_sample()` that manipulates the file and ex…
813 /* create a directory */
817 /* fail to create a directory */
822 /* create a directory successfully */
837 dir_test <DIR> # <DIR> it indicates that the type of the directory is a folder
840 This example demonstrates creating a folder named `dir_test` in the root directory.
844 The sample code shows how to read the directory. The program creates a function `readdir_sample()` …
884 msh /dir_test>echo "hello" hello.txt # create a hello.txt file
890 In this example, first create a hello.txt file under the dir_test folder and exit the dir_test fold…
894 …ow to set the location to read the directory next time. The program creates a function `telldir_sa…
947 …` in the root directory with the `mkdir` command, making sure that there is a folder directory und…
993 …evice. If there is no file system on the storage device, you need to create a file system on the s…
1010 …the system's `system tick` value is no less than 1000, you will need to use a logic analyzer to ch…
1025 - Check if a file system is created in the storage device.