This python module provides support for retrieving mount information and assists in mounting and unmounting.
Project description
jk_mounting
Introduction
This python module provides support for retrieving mount information and assists in mounting and unmounting.
Information about this module can be found here:
How to use this module
Import
To import this module use the following statement:
import jk_mounting
Retrieve Information
In order to get information about what kind of devices are mounted, use the following command:
mounter = jk_mounting.Mounter()
for mi in mounter.getMountInfos(isRegularDevice = True):
print(mi)
Mount a Device
To mount a device you can use the following command:
mounter = jk_mounting.Mounter()
mounter.mount("/dev/sdd1", "/mnt")
Contact Information
This is Open Source code. That not only gives you the possibility of freely using this code it also allows you to contribute. Feel free to contact the author(s) of this software listed below, either for comments, collaboration requests, suggestions for improvement or reporting bugs:
- Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de
License
This software is provided under the following license:
- Apache Software License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for jk_mounting-0.2020.9.21.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece3916b0d60774c58bed77a8b11e10793145446567d7dbe9526e703c53d3c67 |
|
MD5 | d2a94936be4364385df13bc5b45d6df4 |
|
BLAKE2b-256 | 313e09b7c85d12d3b6e1fdb13f2fffad5e41e879c70dc97c22563b2a2c090ac4 |