Zephyr Project Requirements
File system

File system

STATEMENT:

SPDX-License-Identifier: Apache-2.0

1. Create file
UID: ZEP-SRS-17-1
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide file create capabilities for files on the file system.

USER_STORY:

As a Zephyr OS user I want to be able to create a new file or overwrite an existing file at the same filesystem location / identifier (e.g. path + name).

2. Open files
UID: ZEP-SRS-17-2
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide file open capabilities for files on the file system.

USER_STORY:

As a Zephyr OS user I want to be able to open a file for writing or reading. When opened for writing, I want to have exclusive access to the file.

3. Read files
UID: ZEP-SRS-17-3
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide read access to files in the file system.

USER_STORY:

As a Zephyr OS user I want to be able to read from an existing file, also while the file is read from multiple and write accessed from one other instances.

4. Write to files
UID: ZEP-SRS-17-4
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide write access to the files in the file system.

USER_STORY:

As a Zephyr OS user I want to be able to write to a file either from the beginning of the file or appending at the end.

5. Close file
UID: ZEP-SRS-17-5
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide file close capabilities for files on the file system.

USER_STORY:

As a Zephyr OS user I want to be able to close a file after being finished with my file operations, unlocking any access restrictions.

6. Move file
UID: ZEP-SRS-17-6
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide the capability to move files on the file system.

7. Delete file
UID: ZEP-SRS-17-7
STATUS: Draft
TYPE: Functional
COMPONENT: File System
STATEMENT:

Zephyr shall provide file delete capabilities for files on the file system.

USER_STORY:

As a Zephyr OS user I want to be able to delete an existing file.