diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-31 22:21:37 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-31 22:21:37 +0000 |
commit | a58713a899b7df5b291e868d2553b2333c0b3dc9 (patch) | |
tree | ea35bd2780b5ead968a87a3f9c6c855adee62dc6 /docs/library/os.rst | |
parent | c7da7838bab349ec703df0e99b14878a0c994f48 (diff) | |
download | micropython-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.rst | 18 |
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 --------- |