Skip to content
This repository has been archived by the owner on Nov 18, 2017. It is now read-only.

Commit

Permalink
README: cleanup reStructuredText syntax.
Browse files Browse the repository at this point in the history
Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Oct 19, 2012
1 parent 667bcb2 commit 71d7267
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,21 @@ https://github.com/agrover/python-kmod
Example (python invoked as root)
--------------------------------

>>>import kmod

>>>km = kmod.Kmod()

>>>km.loaded_modules()

[('nfs', 407706),
('nfs_acl', 12741)

...

('virtio_blk', 17549)]

>>>km.modprobe("btrfs")

>>>km.rmmod("btrfs")
::

>>> import kmod
>>> km = kmod.Kmod()
>>> km.loaded_modules()
[('nfs', 407706),
('nfs_acl', 12741)
...
('virtio_blk', 17549)]
>>> km.modprobe("btrfs")
>>> km.rmmod("btrfs")

Building
--------

Ensure Python and kmod headers are installed and run:

python setup.py build

Ensure Python and kmod headers are installed and run::

$ python setup.py build

0 comments on commit 71d7267

Please sign in to comment.