Skip to content

Commit

Permalink
Merge pull request #247 from mattkemp/development-publish
Browse files Browse the repository at this point in the history
fixed umount
  • Loading branch information
peter-pycom committed Jun 10, 2020
2 parents 21d3913 + 8f56d7a commit 9f04a81
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions content/firmwareapi/micropython/uos.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9f04a81

Please sign in to comment.