mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 07:06:20 +01:00
@@ -87,12 +87,16 @@ Alias for the `remove()` method.
|
||||
Mounts a block device (like an SD object) in the specified mount point. Example:
|
||||
|
||||
```python
|
||||
|
||||
os.mount(sd, '/sd')
|
||||
uos.unmount(path)
|
||||
uos.mount(sd, '/sd')
|
||||
```
|
||||
|
||||
Unmounts a previously mounted block device from the given path.
|
||||
#### uos.umount(mount\_point)
|
||||
|
||||
Unmounts a previously mounted block device from the specified mount point. Example:
|
||||
|
||||
```python
|
||||
uos.umount('/sd')
|
||||
```
|
||||
|
||||
#### uos.mkfs(block\_device or path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user