/usr/lib/python2.7/dist-packages/kmodpy-0.1.10.egg-info/PKG-INFO is in python-kmodpy 0.1.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | Metadata-Version: 1.1
Name: kmodpy
Version: 0.1.10
Summary: Python binding for kmod
Home-page: UNKNOWN
Author: Chrysostomos Nanakos
Author-email: chris@include.gr
License: GPL
Description: kmodpy
------
The libkmod2 is a library that provides an API for insertion, removal,
configuration and listing of kernel modules.
kmodpy is a Python ctypes wrapper module for libkmod, exposing common module
operations: listing of installed modules, modprobe, modinfo, show_depends and
rmmod.
Follows an example executed as root:
::
>>> import kmodpy
>>> km = kmodpy.Kmod()
>>> [m for m in km.list()]
[(u'nfs', 407706),
(u'nfs_acl', 12741)
...
(u'virtio_blk', 17549)]
>>> km.modprobe("loop", extra_options="max_loop=8")
>>> km.rmmod("loop")
>>> list(km.modinfo("loop"))
[('alias', 'char-major-10-237'), ('alias', 'block-major-7-*'),
('license', 'GPL'), ('parm', 'max_part:Maximum number of
partitions per loop device'), ('parmtype', 'max_part:int'),
('parm', 'max_loop:Maximum number of loop
devices'), ('parmtype', 'max_loop:int'), ('depends', ''),
('intree', 'Y'), ('vermagic', '3.12-1-amd64 SMP mod_unload
modversions '), ('alias', 'devname:loop-control')]
>>> list(km.show_depends("ext4"))
['mbcache', 'crc16', 'jbd2']
Keywords: kmod libkmod kmodpy
Platform: posix
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: English
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Provides: kmodpy
|