|
1 | 1 | //! A high-level file system API for UEFI applications close to the `fs` module
|
2 | 2 | //! from Rust's standard library.
|
3 | 3 | //!
|
4 |
| -//! ## Difference to typical File System Abstractions |
| 4 | +//! # Difference to typical File System Abstractions |
5 | 5 | //! Users perform actions on dedicated volumes: For example, the boot volume,
|
6 | 6 | //! such as a CD-rom, USB-stick, or any other storage device.
|
7 | 7 | //!
|
8 |
| -//! ### UNIX |
9 |
| -//! Unlike in the API of typical UNIX file system abstractions, there is no |
10 |
| -//! virtual file system. |
| 8 | +//! Unlike in the API of typical UNIX file system abstractions, there is |
| 9 | +//! no virtual file system. |
11 | 10 | //!
|
12 |
| -//! ### Windows |
13 |
| -//! Unlike in Windows, there is no way to access volumes by a dedicated name. |
| 11 | +//! Unlike Windows, there is no way to access volumes by a dedicated name. |
14 | 12 | //!
|
15 |
| -//! ## Paths |
| 13 | +//! # Paths |
16 | 14 | //! All paths are absolute and follow the FAT-like file system conventions for
|
17 | 15 | //! paths. Thus, there is no current working directory and path components
|
18 |
| -//! like `.` and `.."`are not supported. In other words, the current working |
19 |
| -//! directory is always `/`, i.e., the root, of the opened volume. This may |
20 |
| -//! change in the future but is currently sufficient. |
| 16 | +//! like `.` and `..` are not supported. In other words, the current working |
| 17 | +//! directory is always `/`, i.e., the root, of the opened volume. |
21 | 18 | //!
|
22 | 19 | //! Symlinks or hard-links are not supported but only directories and regular
|
23 | 20 | //! files with plain linear paths to them.
|
24 | 21 | //!
|
25 |
| -//! ## API Hints |
| 22 | +//! # API Hints |
26 | 23 | //! There are no `File` and `Path` abstractions similar to those from `std` that
|
27 | 24 | //! are publicly exported. Instead, paths to files are provided as `&str`, and
|
28 | 25 | //! will be validated and transformed internally to the correct type.
|
29 | 26 | //! Furthermore, there are no `File` objects that are exposed to users. Instead,
|
30 | 27 | //! it is intended to work with the file system as in `std::fs`.
|
31 | 28 | //!
|
32 |
| -//! ### Synchronization |
33 | 29 | //! There is no automatic synchronization of the file system for concurrent
|
34 | 30 | //! accesses. This is in the responsibility of the user.
|
35 | 31 |
|
|
0 commit comments