summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/os.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-31 22:21:37 +0000
committerDamien George <damien.p.george@gmail.com>2014-10-31 22:21:37 +0000
commita58713a899b7df5b291e868d2553b2333c0b3dc9 (patch)
treeea35bd2780b5ead968a87a3f9c6c855adee62dc6 /docs/library/os.rst
parentc7da7838bab349ec703df0e99b14878a0c994f48 (diff)
downloadmicropython-a58713a899b7df5b291e868d2553b2333c0b3dc9.tar.gz
micropython-a58713a899b7df5b291e868d2553b2333c0b3dc9.zip
docs: Cleanup and update some docs.
Diffstat (limited to 'docs/library/os.rst')
-rw-r--r--docs/library/os.rst18
1 files changed, 10 insertions, 8 deletions
diff --git a/docs/library/os.rst b/docs/library/os.rst
index f6b20dca6f..df5ade3277 100644
--- a/docs/library/os.rst
+++ b/docs/library/os.rst
@@ -1,21 +1,24 @@
-:mod:`os` --- basic "operating system" services
-===============================================
+:mod:`os` -- basic "operating system" services
+==============================================
.. module:: os
:synopsis: basic "operating system" services
The ``os`` module contains functions for filesystem access and ``urandom``.
-The filesystem has ``/`` as the root directory, and the available physical
-drives are accessible from here. They are currently:
+Pyboard specifics
+-----------------
- /flash -- the internal flash filesystem
- /sd -- the SD card (if it exists)
+The filesystem on the pyboard has ``/`` as the root directory and the
+available physical drives are accessible from here. They are currently:
+
+ ``/flash`` -- the internal flash filesystem
+
+ ``/sd`` -- the SD card (if it exists)
On boot up, the current directory is ``/flash`` if no SD card is inserted,
otherwise it is ``/sd``.
-
Functions
---------
@@ -56,7 +59,6 @@ Functions
Return a bytes object with n random bytes, generated by the hardware
random number generator.
-
Constants
---------